编写这个类是为了便于分析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.
更多精彩文章请关注公众号: