Related Experiment Video
Updated: Jul 8, 2025

Analyzing Long-Term Electrocardiography Recordings to Detect Arrhythmias in Mice
Published on: May 23, 2021
Robust algorithm for the detection and classification of QRS complexes with different morphologies using the
Frank Martínez-Suárez1,2, Carlos Alvarado-Serrano1, Oscar Casas2
1Bioelectronics Section, Department of Electrical Engineering, Centro de Investigación y de Estudios Avanzados del Instituto Politécnico Nacional (CINVESTAV) , Mexico City 07360, Mexico.
Abstract:
This work presents an algorithm for the detection and classification of QRS complexes based on the continuous wavelet transform (CWT) with splines. This approach can evaluate the CWT at any integer scale and the analysis is not restricted to powers of two. The QRS detector comprises four stages: implementation of CWT with splines, detection of QRS complexes, searching for undetected QRS complexes, and correction of the R wave peak location in detected QRS complexes. After, the onsets and ends of the QRS complexes are detected. The algorithm was evaluated with synthetic ECG and with the manually annotated databases: MIT-BIH Arrhythmia, European ST-T, QT and PTB Diagnostic ECG. Evaluation results of the QRS detector were: MIT-BIH arrhythmia database (109,447 beats analyzed), sensitivity Se = 99.72% and positive predictivity P+ = 99.87%; European ST-T database (790522 beats analyzed), Se = 99.92% and P+ = 99.55% and QT database (86498 beats analyzed), Se = 99.97% and P+ = 99.99%. To evaluate the delineation algorithm of the QRS onset (Qi) and QRS end (J) with the QT and PTB Diagnostic ECG databases, the mean and standard deviations of the differences between the automatic and manual annotated location of these points were calculated. The standard deviations were close to the accepted tolerances for deviations determined by the CSE experts. The proposed algorithm is robust to noise, artifacts and baseline drifts, classifies QRS complexes, automatically selects the CWT scale according to the sampling frequency of the ECG record used, and adapts to changes in the heart rate, amplitude and morphology of QRS complexes.
Related Concept Videos
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...
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....
Classification of Signals
A continuous-time signal holds a value at every instant in time, representing information seamlessly. In contrast, a discrete-time signal holds values only at specific moments, often denoted as x(n), where...
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...

