How to handle abnormal/ectopic heart beats in peak detection? #1039
Unanswered
michielmeys
asked this question in
Q&A
Replies: 1 comment 1 reply
-
It is a good question. Ectopic beats and other detection issues are typically handled in a step called NeuroKit/neurokit2/signal/signal_fixpeaks.py Lines 331 to 333 in 45c9ad9 which is used by NeuroKit/neurokit2/ecg/ecg_peaks.py Lines 258 to 264 in 45c9ad9 (which output is then used by the HRV functions). It is somewhat imperfect, and a manual data quality check is recommended |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to learn, from the standpoint of R-peak detection for HRV analysis, how I should handle events in my ECG signals that correspond to abnormal/ectopic heart beats. In the image below is an example of the two main types of observations I am referring to.
The frequency of these occurrences in my data varies from only once in a span of 10 minutes to as much as once every three heart beats (in by far the most extreme case).
Depending on the direction and shape of these abnormal beats, a peak can sometimes be detected by the detection algorithm (see again image), however, do these still really "count" as beats and should any of these be used like that for the purpose of HRV analysis? Or would it be more correct to instead manually adjust such misplaced or missing beats based on the surrounding normal beats, in order to minimise their impact?
Apologies that this question is not really specific to the toolbox. If anybody knows a better place for me to get this answered, please let me know!
Beta Was this translation helpful? Give feedback.
All reactions