Skip to content

Misdetections of ecg_delineate() with CWT on signals with T-wave inversions #1138

Description

@laiamp

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):

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions