PGomes92 / pyhrv

Python toolbox for Heart Rate Variability
BSD 3-Clause "New" or "Revised" License
271 stars 77 forks source link

pyhrv.tools.nn_intervals() - "Incompatible data type" #9

Closed PGomes92 closed 4 years ago

PGomes92 commented 5 years ago

I have gotten some feedback from some users that there is an issue with the nn_intervals() function which leads to the following error message:

"Incompatible data type in list or numpy array (only int or float allowed)"

This happened because of a logic flaw I had while trying to make pyHRV overly robust and this will be fixed with the next update.

If you are looking for an intermediate solution, please delete the lines 97 & 98 from the tools.py module.

Apologies for the issues this may have been causing to some users!

PGomes92 commented 4 years ago

Closed with update v.0.4.0