Skip to content

issue with reject_segmentwise argument inside "hp.process" function #93

@atazarv

Description

@atazarv

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions