Journal of Open Research Software (Oct 2019)

Analysing Noisy Driver Physiology Real-Time Using Off-the-Shelf Sensors: Heart Rate Analysis Software from the Taking the Fast Lane Project

  • Paul van Gent,
  • Haneen Farah,
  • Nicole van Nes,
  • Bart van Arem

DOI
https://doi.org/10.5334/jors.241
Journal volume & issue
Vol. 7, no. 1

Abstract

Read online

This paper describes the functioning and development of HeartPy: a heart rate analysis toolkit designed for photoplethysmogram (PPG) data. Most openly available algorithms focus on electrocardiogram (ECG) data, which has very different signal properties and morphology, creating a problem with analysis. ECG-based algorithms generally don’t function well on PPG data, especially noisy PPG data collected in experimental studies. To counter this, we developed HeartPy to be a noise-resistant algorithm that handles PPG data well. It has been implemented in Python and C. Arduino IDE sketches for popular boards (Arduino, Teensy) are available to enable data collection as well. This provides both pc-based and wearable implementations of the software, which allows rapid reuse by researchers looking for a validated heart rate analysis toolkit for use in human factors studies. Funding statement: Part of the software has been developed within the “Taking the Fast Lane” project, funded by NWO TTW1, project number 13771.

Keywords