利用脉搏信号自动实现动脉硬化检测的计算机算法

目录

代码

参考文献

项目链接


代码

import numpy as np 
import matplotlib.pyplot as plt
import scipy.signal as signal
from PyEMD import EMD, Visualisation

# 读取数据
f = open(('Data_Saved.txt'))
content = f.read()
result = content.split()  # 字符串分割

# 把十六进制列表转为十进制
new_numbers = []
for n in result:
    new_numbers.append(int(n,16))  # append()末尾添加元素,int(n,16),转化为10进制
new_numbers = new_numbers[0:10*200*19]  # 取10秒的脉搏数据

猜你喜欢

转载自blog.csdn.net/weixin_46163097/article/details/131130949