<4>“Filter”是心电信号处理算法设计模块,实现数字信号处理。全局函数如下:
extern double IIR_HP_Filter(const double *pTable, double *pBuffer, int Xn);
extern double IIR_LP_Filter(const double *pTable, double *pBuffer, int Xn);
extern double IIR_Bandstop(const double *pTable, double *pBuffer, int Xn);
extern intLead_I_DriftFilter(int datum); // 去基线漂移滤波器extern int DNFilter(int datum, int Dstep, int Nlen, int *pBuffer, int InCnt);
extern intLead_II_DriftFilter(int datum);
extern intLead_III_DriftFilter(int datum);
extern int NotchFlter(int datum, int *xBuffer); // 去工频滤波器(运用卷积)
extern int deriv(int datum); // 差分extern int mvwint(int datum); // 移动窗口
extern void Shift2Left(int *array, int Length); // 移位函数 |