Heartbeat (QRS complex) detection over Records 117, 200, and 203 of the MIT-BIH Arrhythmia Database. (a) raw ECG signal (b) compressed ECG signal using Method III (c) compressed ECG signal using Method III. Record 117 contains regular beats with large T waves, Record 200 contains irregular beats (specifically premature ventricular contractions), and Record 203 contains severe baseline drift and noise. The y-axis represents manipulated signal amplitudes. Here, the red + represents the annotated R peak based on the MIT-BIH Arrhythmia Database while the green * represents the detected R peak using the two-event-related-moving-average(TERMA)-based QRS detector.