Skip to content
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

Open
atazarv opened this issue Apr 7, 2022 · 0 comments
Open

Comments

@atazarv
Copy link

atazarv commented Apr 7, 2022

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.

@atazarv atazarv changed the title issue with feature extraction when reject_segmentwise=True Apr 7, 2022
@atazarv atazarv changed the title issue with reject_segmentwise inside "process" function Apr 7, 2022
@atazarv atazarv changed the title issue with reject_segmentwise argument inside "process" function Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant