Related Experiment Video
Updated: Sep 28, 2025

Author Spotlight: Advancing the Study of Brain-Heart Interplay with a Comprehensive EEGLAB Plugin for Multimodal Signal Analysis
Published on: April 26, 2024
RapidHRV: an open-source toolbox for extracting heart rate and heart rate variability
Peter A Kirk1,2, Alexander Davidson Bryan3, Sarah N Garfinkel1
1Institute of Cognitive Neuroscience, University College London, University of London, London, United Kingdom.
RapidHRV is a new Python package for analyzing heart rate and heart rate variability. It offers automated artifact cleaning and shows good performance in simulated and real-world data.
Area of Science:
- Psychophysiology
- Biomedical Signal Processing
- Computational Biology
Background:
- Heart rate (HR) and heart rate variability (HRV) are crucial metrics for understanding psychophysiological states.
- Research increasingly utilizes HR/HRV from laboratory (ECG, pulse oximetry) and real-world (wearable photoplethysmography) sources.
- Traditional artifact removal in HR/HRV signals relies on manual visual inspection, which is time-consuming and subjective.
Purpose of the Study:
- To introduce RapidHRV, an open-source Python package for streamlined HR and HRV analysis.
- To provide automated preprocessing, analysis, and visualization tools for HR/HRV data.
- To evaluate the performance of RapidHRV in handling noisy signals and various data sources.
Main Methods:
- Development of an open-source Python package, RapidHRV, with automated cleaning modules.
- Testing RapidHRV on simulated datasets with controlled noise levels and sampling rates.
- Validation of RapidHRV using real-world electrocardiography (ECG), finger photoplethysmography (fPPG), and wrist photoplethysmography (wPPG) recordings.
Main Results:
- RapidHRV demonstrated excellent HR recovery across various noise levels (>=10 dB) in simulated data.
- Moderate-to-excellent HRV recovery was observed even with low signal-to-noise ratios (>=20 dB) and sampling rates (>=20 Hz).
- Validation showed good-to-excellent HR/HRV recovery for ECG and fPPG; wPPG results were sensitive to motion artifacts.
Conclusions:
- RapidHRV offers an efficient and automated solution for HR and HRV analysis.
- The package effectively processes noisy physiological signals, improving data quality.
- While robust for ECG and fPPG, RapidHRV's performance in wPPG is affected by motion, highlighting the need for motion artifact mitigation strategies.
Related Concept Videos
Factors Influencing Heart Rate
Let us explore the significant factors affecting heart rate, including age, body temperature, posture, acute pain, chemical influences,...
Regulation of Heart Rates
The SNS increases heart rate through the release of norepinephrine and epinephrine, which act on beta-1 adrenergic receptors in the heart. This action increases the rate of depolarization in the sinoatrial (SA) node, the heart's...
Pulse rhythm
Conversely, an irregular pulse pattern is termed dysrhythmia, stemming from disruptions in cardiac...
Sites for measruring blood pressure
The Brachial Artery: Primary Site for Blood Pressure Measurement
Pulse Oximetry
Purpose
Average SpO2 values are greater than 95%. If the readings fall below 90%, it indicates that...
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...

