Algorithm 1: Iterative pulse peak detection. |
- Input ECG: ← input ECG |
- Set sampling frequency |
- Set a vector of thresholds for detecting the pulse peaks |
- = WSST(s, ) - SSWT transform |
- = TFRIDGE(W) - frequency ridge in the range of Hz |
- = INTERPRR(...4...) - Resample frequencies into 4 Hz |
- for
in
[p] = PEAKDET(s, ) = /DIFF(p) - HR frequency = INTERPRR(...4...) - Resample frequencies into 4 Hz error() = ABS(-) |
- Find set of pulse peaks associated with minimum error |