Kirk, Peter A;
Bryan, Alexander Davidson;
Garfinkel, Sarah N;
Robinson, Oliver J;
(2021)
RapidHRV: an open-source toolbox for extracting heart rate and heart rate variability.
PsyArXiv Preprints: Charlottesville, VA, USA.
Preview |
Text
Garfinkel_MS_RapidHRV_Resubmission_Clean_V2 (1).pdf Download (308kB) | Preview |
Abstract
Heart rate and heart rate variability have enabled insight into a myriad of psychophysiological phenomena. There is now an influx of research attempting using these metrics within both laboratory settings (typically derived through electrocardiography or pulse oximetry) and ecologically-rich contexts (via wearable photoplethysmography, i.e. smartwatches). However, these signals can be prone to artifacts and a low signal to noise ratio, which traditionally are detected and removed through visual inspection. Here, we developed an open-source Python package, RapidHRV, dedicated to the preprocessing, analysis, and visualization of heart rate and heart rate variability. Each of these modules can be executed with one line of code and includes automated cleaning. In simulated data, RapidHRV demonstrated excellent recovery of heart rate across most levels of noise (>= 10dB) and moderate-to-excellent recovery of heart rate variability even at relatively low signal to noise ratios (>=20dB) and sampling rates (>=20Hz). Validation in real datasets shows good-to-excellent recovery of heart rate and heart rate variability in electrocardiography and finger photoplethysmography recordings. Validation in wrist photoplethysmography demonstrated RapidHRV estimations were sensitive to heart rate and its variability under low motion conditions, but estimates were less stable under higher movement settings.
Archive Staff Only
View Item |