中医说感冒可分为风热感冒、风寒感冒和暑湿感冒。感冒是因为受寒。这有科学依据或临床试验依据吗?

美国科学家富兰克林年轻时就患有严重的呼吸系统疾病。对,就是这个喜欢玩电,差点被电击的疯狂人士。

添加图片注释,不超过 140 字(可选)

因此,他对普通感冒及其成因非常感兴趣。他通过亲自去寒冷地方试验。驳斥了普遍的观念,即温度变化(尤其是暴露于冷空气中)使人们易于感冒。他认为不流通空气容易含有超标致病微生物,这容易导致呼吸系统疾病。另外他认为温差变化过大,导致人体免疫系统不稳定,容易被体内条件致病微生物感染或被外界微生物感染。

他对普通感冒及其成因非常感兴趣。他驳斥了普遍的观念,即温度变化(尤其是暴露于冷空气中)使人们易于感冒。他建议改为空气中有腐烂的物质。基于这种信念,富兰克林主张适当的通风是保持良好健康所必需的。

感冒不是因为冷。受凉使得免疫力降低(分配给免疫系统的能量少了),体温变低使得体内环境更加适合病毒和细菌生活,病毒等致病微生物再感染,最终导致感冒。

根据现代医学不断发展,人类发现某些鼻病毒或其他病毒在低温下更容易复制。受凉使得免疫力降低(分配给免疫系统的能量少了),体温变低使得体内环境更加适合病毒和细菌生活,病毒等致病微生物再感染,最终导致感冒。

证据链接

Temperature-dependent innate defense against the common cold virus limits viral replication at warm temperature in mouse airway cells

根据温差变化可以影响人体免疫力,从而致病原理,我早在七八年前写过一些简单模拟程序,源代码和可视化结果如下。这里只做抛砖引玉,希望知乎各位大神继续优化补充。

欢迎各位学习更多相关知识,python机器学习生物信息学,博主录制,2k超清

北京数据

重庆数据

美国Rockwell

澳大利亚悉尼

印尼雅加达

London 英国

# -*- coding: utf-8 -*-
#原创公众号pythonEducation
# quickWeather.py - Prints the current weather for a location from the command line.
"""
k(开尔文)=273.15+T(摄氏度) json返回的是开尔文温度
"""import json, requests,sys,pylab,numpy#城市名称
cityName="beijing"
#城市ID号
cityID="2038349"
#我的免费appID
appID="0383ae59663e14ab5a6855d5b6ad5d00"
#获取时间段数
cnt="30"
# Download the JSON data from OpenWeatherMap.org's API
url="http://api.openweathermap.org/data/2.5/forecast/city?id=%s&APPID=%s&cnt=%s"%(cityID,appID,cnt)
response = requests.get(url)
response.raise_for_status()# Load JSON data into a Python variable.
weatherData = json.loads(response.text)# Print weather descriptions.
#主要获取weatherData---weather---main和description信息
w = weatherData['list']
print('Current weather in %s:' % (cityName))temperature_list=[]
cnt_list=[]
time_list=[]
for i in range(int(cnt)):time=w[i]['dt_txt']print(time)main=w[i]['weather'][0]['main']description=w[i]['weather'][0]['description']temp=w[i]['main']['temp']temp_Chinese=temp-273.15temp_Chinese_round=round(temp_Chinese,2)temperature_list.append(temp_Chinese_round)cnt_list.append(i+1)time_list.append(str(time))print(main, '-',description,'-',temp_Chinese_round,"摄氏度")print()barwidth=0.5
pylab.bar(cnt_list,temperature_list,width=barwidth,color='y')
pylab.xlabel("times")
pylab.ylabel('temperature')
pylab.title("%s temperature prediction(x axis every 3 hours per tickt)"%cityName)
pylab.show()#计算最高气温和最低气温
list_temperature_time=zip(temperature_list,time_list)
dict_temperature_time=dict(list_temperature_time)
max_temp=max(dict_temperature_time.keys())
min_temp=min(dict_temperature_time.keys())
print("最高气温:",max_temp,'摄氏度','-',dict_temperature_time[max_temp])
print("最低气温:",min_temp,'摄氏度','-',dict_temperature_time[min_temp])#温差列表,用于统计哪天人最容易生病
temperature_difference_list=[]
for i in range(len(temperature_list)-1):temperature_difference=temperature_list[i+1]-temperature_list[i]temperature_difference_list.append(temperature_difference)time_difference_list=[]
for i in range(len(time_list)-1):time_difference=time_list[i]+'-'+time_list[i+1]time_difference_list.append(time_difference)list_temperature_time_difference=zip(temperature_difference_list,time_difference_list)
dict_temperature_time_difference=dict(list_temperature_time_difference)
max_temp_difference=max(dict_temperature_time_difference.keys())
min_temp_difference=min(dict_temperature_time_difference.keys())
print("最高温差:",round(max_temp_difference,2),'摄氏度','-',dict_temperature_time_difference[max_temp_difference])
print("最低温差:",round(min_temp_difference,2),'摄氏度','-',dict_temperature_time_difference[min_temp_difference])#最容易生病时间段,取温差绝对值最大的key
if abs(max_temp_difference)>abs(min_temp_difference):ill_likely_day=dict_temperature_time_difference[max_temp_difference]
else:ill_likely_day=dict_temperature_time_difference[min_temp_difference]
print("最容易生病时间段:",ill_likely_day)#统计温差又高到底排序的时间段
#温差绝对值列表
absolute_temperature_difference_list=[abs(i) for i in temperature_difference_list]
list_temperature_time_difference=zip(absolute_temperature_difference_list,time_difference_list)
dict_absolute_temperature_time_difference=dict(list_temperature_time_difference)
sorted_temperature_time_difference=sorted(dict_absolute_temperature_time_difference.items(),reverse=True)'''
# Compute location from command line arguments.
if len(sys.argv) < 2:print('Usage: quickWeather.py location')sys.exit()
location = ' '.join(sys.argv[1:])len(weatherData)
Out[21]: 5
for i in weatherData:print(i)
city  #城市信息
cod   #内部参数
cnt   #预测天数
list  #信息列表,主要获取weatherData---weather---main和description信息
message #内部参数weatherData
Out[23]:
{'city': {'coord': {'lat': 30.25, 'lon': 107.75},'country': 'CN','id': 1814905,'name': 'Chongqing Shi','population': 0,'sys': {'population': 0}},'cnt': 1,'cod': '200','list': [{'clouds': {'all': 44},'dt': 1460775600,'dt_txt': '2016-04-16 03:00:00','main': {'grnd_level': 937.55,'humidity': 98,'pressure': 937.55,'sea_level': 1025.81,'temp': 288.16,'temp_kf': 0.4,'temp_max': 288.16,'temp_min': 287.759},'rain': {'3h': 0.01},'sys': {'pod': 'd'},'weather': [{'description': 'light rain','icon': '10d','id': 500,'main': 'Rain'}],'wind': {'deg': 267.501, 'speed': 1.63}}],'message': 0.0109}#pylab.hist(temperature_list)
pylab.plot(cnt_list,temperature_list,'ro')
pylab.xlabel("times")
pylab.ylabel('temperature')
pylab.title("%s temperature prediction"%cityName)
pylab.show()
'''

获取天气预报API_统计最容易生病时间段相关推荐

  1. 统计每天某一时间段的SQL语句

    求一个统计每天某一时间段的SQL语句 我的表结构  id     cardid                 name           zhiwu         time  1       2 ...

  2. php根据城市获取天气预报,根据浏览者ip获取城市,然后在获取城市天气预报

    /** * 根据经纬度获取城市 * @param unknown $point * @return mixed */ public function getCity() { $ip = $_SERVE ...

  3. 通过Web Service获取天气预报并朗读

    环境:Visual Studio 2010 C# 1. 新建项目-->Windows窗体应用程序.输入解决方案名,假定为TTS. 2. 在界面设计里拉一个textBox和一个Button.tex ...

  4. webservice获取天气预报异常

    有时候需要在自己的项目中获取天气预报信息: 这个通常都是用webservice做的:不论.Net, Java:相信很多人都做过. 最常用的webservice获取天气预报的网站, http://www ...

  5. html百度天气api,百度API 免费接口获取天气预报

    百度API 免费接口获取天气预报 发布时间:2020-08-06 05:38:12 来源:51CTO 阅读:4726 作者:大大果 Document #result{width: 800px;bord ...

  6. Postman接口测试工具学习笔记(二)Postman进阶实践:获取天气预报实例

    Postman接口测试工具学习笔记(一) 入门及基本概念 https://blog.csdn.net/sevensolo/article/details/87208546 Postman进阶实践:获取 ...

  7. R语言glm函数构建二分类logistic回归模型、epiDisplay包logistic.display函数获取模型汇总统计信息(自变量初始和调整后的优势比及置信区间,回归系数的Wald检验的p值

    R语言glm函数构建二分类logistic回归模型(family参数为binomial).使用epiDisplay包logistic.display函数获取模型汇总统计信息(自变量初始和调整后的优势比 ...

  8. html js获取天气预报,原生JS实现天气预报

    本文实例为大家分享了JS实现天气预报的具体代码,供大家参考,具体内容如下 HTML代码 content="width=device-width, user-scalable=no, init ...

  9. R语言使用glm函数构建泊松对数线性回归模型处理三维列联表数据构建饱和模型、使用summary函数获取模型汇总统计信息

    R语言使用glm函数构建泊松对数线性回归模型处理三维列联表数据构建饱和模型.使用summary函数获取模型汇总统计信息 目录

  10. 爬虫获取天气预报并可视化

    重庆交通大学 期末大作业 实验课程名称:网络通信编程 学院:信息科学与工程学院 班级:物联网1901 姓名:许俊 学号:631907090127 实验类型:综合性,设计性 指导教师:娄路 开课时间:2 ...

最新文章

  1. 软件测试技术 中医体质判定表,中医体质分类及判定自测表.pdf
  2. GNN 笔记:图上的傅里叶变换
  3. mysql自动备份脚本linux_一个Mysql自动备份脚本,定时备份MYSQ脚本,linux下Mysql自动备份脚本...
  4. 即将推出.NET Framework 4.7.2中的一些亮点
  5. OpenResty安装--增强版的nginx
  6. java常用技术名词解析
  7. shell 脚本和 bash 脚本的关系
  8. 微信小程序服务器支付sdk,微信小程序之支付后如何调用SDK的异步通知
  9. React Native 从入门到原理
  10. Macaron的注入struct
  11. 谎言被揭露后,你们的时机才会到来!
  12. C++杜绝“野指针”
  13. java的前台与后台
  14. 2020年ROS机器人操作系统用户官方调查
  15. POI java导出Excel宏文件
  16. SVN checckout 失败:Error: REPORT request on '/svn/signature/!svn/me' failed 的解决办法
  17. win7自带截屏便签 打开命令
  18. HBase BulkLoad批量写入数据实战
  19. 数据清洗python实现箱线图_GitHub - nonefirst/data_analysis: 基于Python的南京二手房数据采集及可视化分析...
  20. jmeter性能分享总结

热门文章

  1. java有多少类库_Java类库和常用类库有哪些以及相关的介绍
  2. pytest allure测试报告_pytest文档32allure描述用例详细讲解
  3. 基于 nacos 部署 springcloud jar 包,报错 org.yaml.snakeyaml.error.YAMLException
  4. 计算机一级b考试电子表格,计算机等级考试一级B第1-50套题
  5. android 进程池 参数,Android 线程池全解析
  6. 事务的详细讲解,简单易理解,适合小白,无基础也可以懂,什么是事务、事务提交、事务回滚、编程式事务、声明式事务
  7. 30分钟学会正则表达式
  8. 爱创课堂每日一题第四天8/28日XML和JSON的区别?
  9. nodejs fs模块
  10. Tomcat下work文件夹的作用