上一页 1 ··· 135 136 137 138 139 140 141 142 143 ··· 329 下一页
摘要: 坑 好像没有这样的功能 用鼠标可以直接拖拽(最终答案) 终于找到了一种解决方案!!! 把笔模式替换成鼠标模式。 天啊,天啊,找了两天,终于找到了解决方案。把这个换成模式切换即可!!! 不要开加速度 阅读全文
posted @ 2021-08-09 20:12 bH1pJ 阅读(52) 评论(0) 推荐(0) 编辑
摘要: c = np.array([2,2,2,2]).reshape(2,2) 通过reshape来实现1维到n维的转变 还有一种方法是:创建一个1000*1000*3的RGB图片 somaBackground = np.zeros((1000, 1000, 3), dtype=int) 读取图片 imp 阅读全文
posted @ 2021-07-02 12:46 bH1pJ 阅读(33) 评论(0) 推荐(0) 编辑
摘要: a = np.array([1,2,3,4,4,5,2,1]) 是np.array而不是arange() 还可以加参数dtype = float 例如a = np.array([1,2,3,4,4,5,2,1],dtype = float) 还有一种方法是:创建一个1000*1000*3的RGB图片 阅读全文
posted @ 2021-06-18 09:04 bH1pJ 阅读(18) 评论(0) 推荐(0) 编辑
摘要: https://www.runoob.com/python/att-string-format.html {:0>2d} 宽度为2,前边补0 保留小数点后两位 {:.2f} "{:s}, Time:{:.2f}min, Size:{:.2f}Gb".format(id, idTime/1000/60 阅读全文
posted @ 2021-06-18 09:02 bH1pJ 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 一维: a=medfilt1(x,5); 二维 b=medfilt2(x0,[n,n]); 阅读全文
posted @ 2021-06-17 18:18 bH1pJ 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 1、小波函数和小波变换之间的关系? 和傅里叶变换类似。在FFT中,一个信号由无数个sin和cos构成。 那么在小波变换变换中,一个信号由无数个小波基函数构成。 常见的小波基函数有哪些? 2、小波变换中的两个基本概念,scale和shift 短时傅里叶变换... 阅读全文
posted @ 2021-06-17 17:42 bH1pJ 阅读(839) 评论(0) 推荐(0) 编辑
摘要: 有点不方便哦 阅读全文
posted @ 2021-06-17 16:29 bH1pJ 阅读(87) 评论(0) 推荐(0) 编辑
摘要: import matplotlib.pyplot as plt #这里应该把trace plot 出来,同时,还应该把峰值给plot出来; plt.figure() plt.plot(sigAv, color='red', label='dis') plt.plot(peaks, sigAv[pea 阅读全文
posted @ 2021-06-16 18:27 bH1pJ 阅读(18) 评论(0) 推荐(0) 编辑
摘要: #这里应该把trace plot 出来,同时,还应该把峰值给plot出来;plt.figure()plt.plot(sigAv, color='red', label='dis')plt.plot(peaks, sigAv[peaks], "x")plt.sa... 阅读全文
posted @ 2021-06-16 18:27 bH1pJ 阅读(85) 评论(0) 推荐(0) 编辑
摘要: w=2π·f f 阅读全文
posted @ 2021-06-16 18:26 bH1pJ 阅读(51) 评论(0) 推荐(0) 编辑
上一页 1 ··· 135 136 137 138 139 140 141 142 143 ··· 329 下一页