当前位置:   article > 正文

读取PPG脉搏波并使用matplot绘图_ppg 脉搏波数据

ppg 脉搏波数据
import matplotlib.pyplot as plt
import pandas as pd
import numpy as np

path = './case26/uq_case26_01.csv'
df = pd.read_csv(path)
ppg = df.PPG
ppgv = ppg.values
ppgv2 = ppgv[0:200]
print(ppgv2)
plt.plot(ppgv2)
plt.show()
# print(df)
#
# dfCut = df[0:400]
# print(dfCut)
#
# # ppg = df.PPG
# # ppg_value = ppg.values
# # print(ppg_value)
# # plt.plot(ppg_value)
# plt.show()


  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Cpp五条/article/detail/78336
推荐阅读
相关标签
  

闽ICP备14008679号