Hi!
I wanted to perform an ML pipeline for cardiac diseases using hand-crafted features computed from the output of ecg_delineate(), so I need a delineation that works with ECGs from patients with a disease.
- Do all the algorithms operate under the assumption that R-waves and T-waves are concave?
From prior discussions, I learned that if the signal is inverted, ecg_invert() should be applied. However, there are some scenarios where despite having concave P-waves and R-waves, the T-wave is convex (i.e. inverted).
Example
Here you have an example from Lobachevsky University Electrocardiography Database. In the lead II of the record 11, the ground truth T-wave is inverted. However, when applying ecg_delineate() using CWT it detects a maxima as the ECG_T_Peak (red line):
