Artefact detection
Artefact detection is performed using the method described in Lipponen & Tarvainen (2019). This method uses robust adaptative thresholds to classify RR intervals as Missed, Longs, Extra, Short or Ectopic. The left panel show the decision boundaries for ectopic beats. The right panel shows the decision boundaries for long/missed and short/extra beats.
Lipponen, J. A., & Tarvainen, M. P. (2019). A robust algorithm for heart rate variability time series artefact correction using novel beat classification. Journal of Medical Engineering & Technology, 43(3), 173–181. https://doi.org/10.1080/03091902.2019.1640306