【源码】心率变异性分析的ECG类

在这里插入图片描述

编写这个类是为了便于分析ECG信号及其组成部分。

The class was written to allow for the easy analysis of ECG signals and their components.

Create an ECG object using:

(varName) = ECG(Signal, SamplingFrequency, Name(optional))

注意:信号必须以数字数组的形式输入

Note: the signal must be inputted as a numeric array

一旦创建,varName.init将被消除偏移,对信号去趋势,然后识别峰值并计算以下参数:

Once created, varName.init will eliminate offsets, detrend the signal, then identify peaks and calculate:

BPM、SDNN、RMSSD、NN50、pNN50、IBI(平均值和范围)、低频和高频功率及其比值。

BPM, SDNN, RMSSD, NN50, pNN50, IBI (mean and range), Low- and High-Frequency Power, and their ratios.

plot和display命令的选择允许检索这些信息。

A selection of plot and display commands allow for retrieval of this information.

它还允许进行Poincaré Map分析、信号及其NN区间序列的频率分析,使用直方图和数值的HRV分析。

It also allows for Poincaré Map analysis, frequency analysis of both the signal and its NN interval series, and HRV analysis using historgams and numeric values.

ECG可以使用内置命令重新采样、滤波和分割,但是,数据需要在此之后再次初始化。

The ECG can be resampled, filtered, and segmented using built in commands, however, data will need to be initialised again following this.

segmentECG命令创建一个更小的ECG数组,每个ECG的长度相等,由输入的段数或输入长度决定。然后,通过选择命令,可以显示这些段的选定范围的数据。

The segmentECG command creates an array of smaller ECGs, each of equal length, determined by either the inputted number of segments or an inputted length. A selection of commands then allows the display of data for a selected range of these segments.

如有任何意见或错误请留言,不胜感激。

Please leave any feedback or bugs encountered in the comments, it would be greatly appreciated.

更多精彩文章请关注公众号:在这里插入图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值