v2.0.0
Loading...
Searching...
No Matches
UTILSLIB::ArtifactDetectEcgParams Struct Reference

ECG R-peak detection parameters (defined outside class to avoid Clang/GCC default-argument issues with nested structs). More...

#include <artifact_detect.h>

Public Attributes

double dFilterLow = 5.0
double dFilterHigh = 40.0
int iFilterOrder = 4
double dThreshFactor = 0.5
double dMinRRSec = 0.35

Detailed Description

ECG R-peak detection parameters (defined outside class to avoid Clang/GCC default-argument issues with nested structs).

Definition at line 73 of file artifact_detect.h.

Member Data Documentation

◆ dFilterHigh

double UTILSLIB::ArtifactDetectEcgParams::dFilterHigh = 40.0

Bandpass upper cutoff (Hz).

Definition at line 76 of file artifact_detect.h.

◆ dFilterLow

double UTILSLIB::ArtifactDetectEcgParams::dFilterLow = 5.0

Bandpass lower cutoff (Hz).

Definition at line 75 of file artifact_detect.h.

◆ dMinRRSec

double UTILSLIB::ArtifactDetectEcgParams::dMinRRSec = 0.35

Minimum R–R interval in seconds (caps detection rate at ~170 bpm).

Definition at line 79 of file artifact_detect.h.

◆ dThreshFactor

double UTILSLIB::ArtifactDetectEcgParams::dThreshFactor = 0.5

R-peak threshold = dThreshFactor * (max − min) + min of the filtered signal.

Definition at line 78 of file artifact_detect.h.

◆ iFilterOrder

int UTILSLIB::ArtifactDetectEcgParams::iFilterOrder = 4

Butterworth order for the bandpass pre-filter.

Definition at line 77 of file artifact_detect.h.


The documentation for this struct was generated from the following file: