Detector pipeline, stage by stage
Filter responses and detection scores

Pan-Tompkins QRS Detector: Pipeline Traces, Filter Responses and Detection Scores (2D)

Lie a Blender-modelled patient on a hospital bed, stick three electrode pads on the chest and watch a bedside monitor run the classic Pan-Tompkins QRS detector over a synthetic 200 Hz ECG. Set the heart rate, beat-to-beat variability, baseline wander, mains hum and muscle noise, change the integration window and the threshold fraction, add premature ventricular beats, and see sensitivity, predictivity and R-wave location error against the known beat times. The filter recursions are checked against their closed-form frequency responses.

Made with 🟠 Blender