This is the complete implementation of the R-peak detector from Song, Cho, Kim & Lee proposed in "New real-time heartbeat detection method using the angle of a single-lead electrocardiogram", Computers in Biology and Medicine, 59 (2015). DOI: 10.1016/j.compbiomed.2015.01.05.
The detector is robust to noise and peak reversal and uses a single lead ecg signal. See the header of the function for a detailed description.
[!!!] Detection results may have changed for sampling rates ~= 200 Hz.
[FIX] Crash when plotting empty detection results.
Forgot to mention another modification:
- [FIX] Error in the description which stated useBaselineCorrection as being false by default, which it isn't.
[FIX] Checks for optional dependencies now work properly.