realchrisward / Physiology-Analysis-Tools

Tools for analysis and visualization of physiological signals (ECG, EEG, EMG, BP, Plethysmography, Pneumotachography, Video, ...)
GNU General Public License v3.0
1 stars 0 forks source link

beat detection and arrhythmia algorithm improvements #23

Closed realchrisward closed 1 month ago

realchrisward commented 1 month ago

related to #13 but focused on awake ECG

current algorithm is prone to false beat calls due to breathing artifacts - using divergence from neighboring R peak height may be a suitable filter for this.

similarly current "heuristic" arrhythmia detectors are prone to "rebounding" detection of neighboring beats (i.e. neighboring calls of skipped beat and premature beat) due to narrow window of current calls - to simplify detection adding an additional rule either expanding the window or using a neighbor arrhythmia flag to refine the calls.

realchrisward commented 1 month ago

seems fixed by updated merged in #26 and #27 merges (included updates for beat caller by addition of breath filter