paulvangentcom / heartrate_analysis_python

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

Fixed bug when rr_list <= 1 in calc_fd_measurements #64

Closed Arritmic closed 3 years ago

Arritmic commented 3 years ago

When computing calc_fd_measurements, and rr_list <= 1, and you are expecting measures['p_total'], the "perc" measures or the "nu" measures, it was failing.

Now, it works for my tests and evaluation project: Screenshot from 2021-03-28 19-58-09

paulvangentcom commented 3 years ago

thanks

Arritmic commented 3 years ago

You're welcome!!