- 博客(9)
- 收藏
- 关注
原创 使用ChatGPT/GPTs润色SCI论文
试用地址:https://chat.openai.com/g/g-gX0I06XqL-research-paper-polishing。使用方法:直接输入需要润色的段落。
2023-11-24 02:05:20
689
1
原创 【python】——数据读取与储存mat/npy格式
1.npy格式1.1 读取读取npy格式文件data_a=np.load('C:/Users/YX/Desktop/data.npy')1.2 储存import numpy as npa = np.array([1,2,3],[4,5,6])np.save('adress/name',a) adress:存储的文件地址name:存储的名称例如:C:/Users/YX/Desktop/data最后就会在桌面上有一个名称为data的npy格式文件2.mat格式(暂未更新,有空会来记录
2021-11-15 15:59:39
1427
原创 【python】——数据分布拟合工具包fitter
1.安装pip(3) install fitter2.例子# 数据生成from scipy import statsdata = stats.gamma.rvs(2, loc=1.5, scale=2, size=10000) # 通过scipy生成服从gamma分布的10000个样本# 拟合分布from fitter import Fitterf = Fitter(data) # 创建Fitter类f.fit() # 调用fit函数拟合分布f.summary() # 输出拟合结
2021-11-10 21:00:06
3267
原创 【python常用函数】——小波变换
// An highlighted blockvar foo = 'bar';连续小波变换中可用的小波:**A wide range of continous wavelets are now available. These include the following:** Gaussian wavelets (gaus1…``gaus8``) Mexican hat wavelet (mexh) Morlet wavelet (morl) Complex Gaussian wavelet
2021-10-25 19:19:38
3312
原创 【python常用函数】——傅里叶变换
def FFT(wave, fs, length): fre = np.arange(0,int(len(wave)/2),1) * (fs/len(wave)) window = sgn.hann(len(wave)) spec = abs(np.fft.fft(wave*window)) * 2 / (len(wave)) spec2 = spec[range(int(len(wave)/2))] spec2 = spec2[:length] fre =.
2021-10-25 11:02:23
813
原创 【python常用函数】——时域带通滤波
【python常用函数】——时域带通滤波def filt(highfre,lowfre, wave,fs): index = sgn.firwin(501, highfre / (fs/2), pass_zero=True) wave1 = np.convolve(wave,index)[250:-250] index2 = sgn.firwin(501, lowfre / (fs/2), pass_zero=False) filtwave
2021-10-25 10:56:06
1067
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅