hrv-analysis
hrv-analysis copied to clipboard
Error with Frequency domain
Hi,
I have issue with frequency domain, if I resample my RR intervals into segments less than 50 minutes.
For segments greather than 50 minutes it's OK, but if I use less, for example 5-minutes intervals I got error:
IndexError: index out of bounds
Do you know why and how to solve it?
Hi @simongeek,
Could you provide us a 5 minutes RR-interval list you are using that generated the index out of bound error ? Do you include Nan values in your samples ?
Hey Simon,
Could you provide the code snippet that generated the error?
Happy to help if necessary :)
Cheers, Robin
I had the same issue providing a pandas series and not a list as an input for the frequency feature function. Created a pull request that fixes the issue.
Regards flennic