RapidHRV: an open-source toolbox for extracting heart rate and heart rate variability

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 context...

Full description

Saved in:
Bibliographic Details
Published inPeerJ (San Francisco, CA) Vol. 10; p. e13147
Main Authors Kirk, Peter A., Davidson Bryan, Alexander, Garfinkel, Sarah N., Robinson, Oliver J.
Format Journal Article
LanguageEnglish
Published United States PeerJ. Ltd 23.03.2022
PeerJ, Inc
PeerJ Inc
Subjects
Online AccessGet full text
ISSN2167-8359
2167-8359
DOI10.7717/peerj.13147

Cover

More Information
Summary: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 (>=10 dB) and moderate-to-excellent recovery of heart rate variability even at relatively low signal to noise ratios (>=20 dB) and sampling rates (>=20 Hz). 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.
Bibliography:ObjectType-Article-1
SourceType-Scholarly Journals-1
ObjectType-Feature-2
content type line 14
content type line 23
ISSN:2167-8359
2167-8359
DOI:10.7717/peerj.13147