A Computer Algorithm for Automatic Detection of Arteriosclerosis Using Pulse Signal

Table of contents

the code

references

project link


the code

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秒的脉搏数据

Guess you like

Origin blog.csdn.net/weixin_46163097/article/details/131130949