Documentation

8.4. Extraction of RR Intervals

Updated 21 March 20261 min read

8.4.1. R-Peak Detection Method

A function is used that:

  • Applies preliminary filtering of the ECG signal
  • Uses an adaptive threshold for peak detection
  • Computes RR intervals:
    RR(i) = time(R_peak(i+1)) – time(R_peak(i))
  • Filters artifacts (extrasystoles, missed beats)

8.4.2. Pulse Visualization

The upper graph shows:

  • Gray points: all detected pulses
  • Blue points: valid RR intervals
  • Red points: extrasystoles (marked for exclusion)