会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
1
Bonne_chance
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
10
11
12
13
14
15
16
17
18
···
20
下一页
2023年5月22日
将某目录的文件复制到其他目录
摘要: #### 将某目录符合一定要求的文件复制到其他目录 ``` import shutil def copy_files(src_dir, dst_dir): if not os.path.exists(dst_dir): os.makedirs(dst_dir) if os.path.exists(s
阅读全文
posted @ 2023-05-22 17:21 Bonne_chance
阅读(73)
评论(0)
推荐(0)
2023年5月19日
使用sciPy计算信号的波峰和波谷
摘要: ### 使用sciPy计算信号的波峰和波谷 #### 使用`scipy.signal.find_peaks`计算信号的波峰 **使用语法**: ``` scipy.signal.find_peaks(x, height=None, threshold=None, distance=None, pro
阅读全文
posted @ 2023-05-19 15:00 Bonne_chance
阅读(9249)
评论(0)
推荐(2)
2023年5月18日
使用bandpass Butterworth filter对信号数据进行滤波去噪
摘要: 在信号处理中,有些信号会包含大量的噪声,需要用一些滤波器去噪,本文介绍使用bandpass Butterworth filter进行去噪。 直接使用sciPypython库可以实现噪声滤波 步骤1:导入所需python模块 from scipy.signal import filtfilt from
阅读全文
posted @ 2023-05-18 17:13 Bonne_chance
阅读(1154)
评论(0)
推荐(0)
时间操作
摘要: ### 时间操作 #### 把当前时间转为特定时间字符串 `time_str = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(time.time()))` 结果输出: > `'2023-05-18 09:43:39'` #### 将时间字符串转
阅读全文
posted @ 2023-05-18 09:46 Bonne_chance
阅读(32)
评论(0)
推荐(0)
2023年5月11日
对给定目录数据进行新建目录
摘要: ### 对给定目录数据进行新建目录 目标: 1)如图  2)如图 
评论(0)
推荐(0)
计算给定目录下文件路径
摘要: ### 计算给定目录下所有文件的绝对路径 ``` def file_abso_path(dir_path): ''' func: 计算给定父类目录下的所有文件的绝对路径 ''' final_path_list = [] for parent, dirnames, filenames in os.wa
阅读全文
posted @ 2023-05-11 17:33 Bonne_chance
阅读(30)
评论(0)
推荐(0)
BeyondCompare使用
摘要: BeyondCompare使用 BeyondCompare软件说明 BeyondCompare是一款比对文件夹、比对文件的工具。能够识别出两个目录以及两个文件的差异。下载的话自行百度下载安装。 使用-比较目录 比较目录的话,就是把要比较的两个目录输入进去,然后回车即可 使用-比较文件 将两个文件打开
阅读全文
posted @ 2023-05-11 12:07 Bonne_chance
阅读(40)
评论(0)
推荐(0)
2023年5月9日
python对时间戳数据进行可视化
摘要: python对时间戳数据进行可视化 步骤1:加载模块&读取数据 import pandas as pd import os import matplotlib.pyplot as plt import time import datetime plt.rcParams['font.sans-seri
阅读全文
posted @ 2023-05-09 11:18 Bonne_chance
阅读(258)
评论(0)
推荐(0)
2023年5月8日
数字医疗术语
摘要: 数字医疗术语 ACC(Acceleration)加速度 AM(Amplitude Modulation)幅值调制 BCG(Ballistocardiogram)心冲击图。是血液循环过程中由于心脏跳动、射血造成的人体对地面的压力变化。 BCM(Body cell mass)体细胞质量 BIA(Bioe
阅读全文
posted @ 2023-05-08 14:03 Bonne_chance
阅读(137)
评论(0)
推荐(0)
2023年4月28日
利用深度学习实现序列模型
摘要: 利用深度学习实现序列模型 序列问题的含义是接收一个序列作为输入,然后期望预测这个序列的后续。例如继续预测2,4,6,8,10...。这在时间序列中是相当常见的,可以用来预测股市的波动、患者的体温曲线或者赛车所需的加速度。 从原理上说,==卷积神经网络可以有效处理空间信息,那么循环神经网络则能更好处理
阅读全文
posted @ 2023-04-28 15:23 Bonne_chance
阅读(111)
评论(0)
推荐(0)
上一页
1
···
10
11
12
13
14
15
16
17
18
···
20
下一页
公告
1