-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue with reject_segmentwise argument inside "hp.process" function #93
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I run heartpy.process with the reject_segmentwise set to True, it doesn't make any difference in the output (doesn't do what it is supposed to do). I was able to track it down and the issue seems to be inside the "process" function when the "check_peaks" function is being called. It is currently as:
working_data = check_peaks(working_data['RR_list'], working_data['peaklist'], working_data['ybeat'], reject_segmentwise, working_data=working_data)
and it should be changed to:
working_data = check_peaks(working_data['RR_list'], working_data['peaklist'], working_data['ybeat'], reject_segmentwise=reject_segmentwise, working_data=working_data)
I'm using Python 3.7 with Heartpy version 1.2.6.
The text was updated successfully, but these errors were encountered: