Using the BVP file exported from the Empatica E4 band, this script uses the peakutils
, and the Root Mean Square of the Successive Differences (RMSSD) to calculate the Heart Rate Variability, based on the next formula:
Execute the script where you have all the data exported from your Empatica session.
python empaticaHRV.py
Code based on