我用python画图pycharm总是右边弹窗,看起来很别扭,想让它正中央显示,并且有保存按钮 修改流程(借鉴yuanyuan_zyy的方法): 结果: Read More
数据: 目标做雨滴谱gamma分布,作业中、作业后1h、作业后2h 代码如下: #!usr/bin/env python # -*- coding:utf-8 -*- """ @author: Suyue @file: raincontent.py @time: 2024/05/23 @desc: Read More
数据: 目标主要是用求出N0、μ、Dm 把之前那个雨水含量的代码改一改 #!usr/bin/env python # -*- coding:utf-8 -*- """ @author: Suyue @file: raincontent.py @time: 2024/05/23 @desc: """ Read More
数据: #!usr/bin/env python # -*- coding:utf-8 -*- """ @author: Suyue @file: raincontent.py @time: 2024/05/23 @desc: """ import numpy as np import pandas Read More
前面已经计算出了数浓度,下面我们来计算降水强度 降水强度公式如下: #!usr/bin/env python # -*- coding:utf-8 -*- """ @author: Suyue @file: rainintensity.py @time: 2024/05/20 @desc: """ Read More
直接上代码: #!usr/bin/env python # -*- coding:utf-8 -*- """ @author: Suyue @file: dryzhexian.py @time: 2024/05/16 @desc: """ import pandas as pd import mat Read More
直接上代码 #!usr/bin/env python # -*- coding:utf-8 -*- """ @author: Suyue @file: zhexiantu.py @time: 2024/05/10 @desc: """ import pandas as pd import matpl Read More
前面已经将32×32的数据删除了不需要的列,数据变成了32×21的数据 excel的变化直径(也就是当前直径—前一个直径)为了匹配txt的32行数据,我进行了重复复制,将excel变成下图: 那么采用数浓度公式: 公式理解: 代码: #!usr/bin/env python # -*- coding Read More
粒径的取值范围为:0.31~8mm,标记红色的都需要删除,变化直径:当前直径 — 前一个直径 txt文件为(红框为留下来的数据),一共五组数,也就是五个时间的数: 那么我只留下我需要的d列数据,删除不需要的列: # -*- coding:utf-8 -*- """ @author: suyue @f Read More
txt数据是这样: 内容: #!usr/bin/env python # -*- coding:utf-8 -*- """ @author: Suyue @file: lianxi.py @time: 2024/04/28 @desc: """ # -*- coding:utf-8 -*- # os Read More