paulvangentcom / heartrate_analysis_python

Python Heart Rate Analysis Package, for both PPG and ECG signals
MIT License
962 stars 322 forks source link

BSI formula add to heartpy.py #78

Closed IgorWounds closed 10 months ago

IgorWounds commented 3 years ago

Added the Baevsky Stress index calculation to measures with the corresponding building blocks of the main formula:

si = AMo / (2 VR Mo) where R-R interval - the time delay between consecutive heartbeats (assumed to be the inverse value of the bpm) Mo - mode - most frequent R-R interval value AMo - mode amplitude - % of the intervals corresponding to Mode VR - variational range - the difference between min and max R-R intervals

Reference: http://www.cardiometry.net/issues/no10-may-2017/heart-rate-variability-analysis

paulvangentcom commented 2 years ago

Thanks, I'll have a look at it this week!