Related Experiment Video
Updated: Feb 22, 2026

Analyzing Long-Term Electrocardiography Recordings to Detect Arrhythmias in Mice
Published on: May 23, 2021
A Proof-of-Concept Study: Simple and Effective Detection of P and T Waves in Arrhythmic ECG Signals
Mohamed Elgendi1, Marianna Meo2, Derek Abbott3
1Department of Obstetrics & Gynecology, University of British Columbia and BC Children's & Women's Hospital, Vancouver, BC V6H 3N1, Canada. melgendi@cfri.ca.
Abstract:
A robust and numerically-efficient method based on two moving average filters, followed by a dynamic event-related threshold, has been developed to detect P and T waves in electrocardiogram (ECG) signals as a proof-of-concept. Detection of P and T waves is affected by the quality and abnormalities in ECG recordings; the proposed method can detect P and T waves simultaneously through a unique algorithm despite these challenges. The algorithm was tested on arrhythmic ECG signals extracted from the MIT-BIH arrhythmia database with 21,702 beats. These signals typically suffer from: (1) non-stationary effects; (2) low signal-to-noise ratio; (3) premature atrial complexes; (4) premature ventricular complexes; (5) left bundle branch blocks; and (6) right bundle branch blocks. Interestingly, our algorithm obtained a sensitivity of 98.05% and a positive predictivity of 97.11% for P waves, and a sensitivity of 99.86% and a positive predictivity of 99.65% for T waves. These results, combined with the simplicity of the method, demonstrate that an efficient and simple algorithm can suit portable, wearable, and battery-operated ECG devices.
Related Concept Videos
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
ECG Interpretation of Rhythms
Components of the Electrocardiogram
The primary components of a normal ECG waveform in Normal sinus rhythm(NSR) include the P wave, PR interval, QRS complex, ST segment, T wave, and occasionally a U wave.
ECG waveforms are divided by vertical and horizontal lines at standard intervals.
The horizontal axis measures time and rate, and the vertical axis measures amplitude or voltage....
ECG Interpretation of Arrhythmias I: Sinus Arrhythmias
Types of Arrhythmias
Sinus Node Arrhythmias
Sinus Bradycardia: Originating from the sinoatrial (SA) node, sinus bradycardia involves slower impulses, resulting in a heart rate of less than 60 beats per minute (bpm). Causes include sleep, vagal stimulation, beta-blockers, hypothyroidism,...
ECG Interpretation of Arrhythmias II: Atrial, Junctional and Ventricular Arrhythmias
Electrocardiogram Fundamentals
An electrocardiogram (ECG) is a diagnostic tool for identifying cardiac conditions such as arrhythmias, conduction abnormalities, and myocardial ischemia.
Definition
An electrocardiogram (ECG) visualizes the heart's electrical activity by tracing the electrical movement associated with each heartbeat on a graph or monitor. As the heart beats, an electrical wave passes through it, correlating with the cardiac cycle events.
Parts of an ECG
An ECG utilizes electrodes on the skin...
Correlation between ECG and Cardiac Cycle
A cardiac action potential originates in the SA node and spreads throughout the atria and the AV node in approximately 0.03 seconds. This results in the P wave in an ECG and triggers atrial contraction. The action potential is then briefly slowed at the AV node, allowing the atria to contract and fill the ventricles with blood before...

