Related Experiment Video
Updated: Sep 5, 2025

Author Spotlight: Advancing the Study of Brain-Heart Interplay with a Comprehensive EEGLAB Plugin for Multimodal Signal Analysis
Published on: April 26, 2024
Cepstral Analysis for Scoring the Quality of Electrocardiograms for Heart Rate Variability
Paolo Castiglioni1, Gianfranco Parati2,3, Andrea Faini2
1IRCCS Fondazione Don Carlo Gnocchi ONLUS, Milan, Italy.
Abstract:
Mobile-health solutions based on heart rate variability often require electrocardiogram (ECG) recordings by inexperienced operators or real-time automatic analyses of long-term recordings by wearable devices in free-moving individuals. In this context, it is useful to associate a quality index with the ECG, scoring the adequacy of the recording for heart rate variability to identify noise or arrhythmias. Therefore, this work aims to propose and validate a computational method for assessing the adequacy of single-lead ECGs for heart rate variability analysis that may run in real time on wearable systems with low computational power. The method quantifies the ECG pseudo-periodic structure employing cepstral analysis. The cepstrum (spectrum of log-spectrum) is estimated on a running ECG window of 10 s before and after "liftering" (filtering in the cepstral domain) to remove slower noise components. The ECG periodicity generates a dominant peak in the liftered cepstrum at the "quefrency" of the mean cardiac interval. The Cepstral Quality Index (CQI) is the ratio between the cepstral-peak power and the total power of the unliftered cepstrum. Noises and arrhythmias reduce the relative power of the cepstral peak decreasing CQI. We analyzed a public dataset of 6072 single-lead ECGs manually classified in normal rhythm or inadequate for heart rate variability analysis because of noise or atrial fibrillation, and the CQI = 47% cut-off identified the inadequate recordings with 79% sensitivity and 85% specificity. We showed that the performance is independent of the lead considering a public dataset of 1,000 12-lead recordings with quality classified as "acceptable" or "unacceptable" by visual inspection. Thus, the cepstrum describes the ECG periodic structure effectively and concisely and CQI appears to be a robust score of the adequacy of ECG recording for heart rate variability analysis, evaluable in real-time on wearable devices.
Related Concept Videos
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
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...
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....
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...
Dysrhythmias V: Evaluating Dysrhythmias
Pulse rhythm
Conversely, an irregular pulse pattern is termed dysrhythmia, stemming from disruptions in cardiac...

