-
Notifications
You must be signed in to change notification settings - Fork 317
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
Peak detection fails for high DC levels #103
Comments
Thanks for the suggestion, I will put it on the list for the next version. Currently picking up heartpy again. |
@paulvangentcom that's one of the reasons I can't use Hearpy package as a built-in module, so I had to clone the project. If you add |
In
fit_peaks()
, the moving average values to test list (ma_perc_list
) starts at 5 %. Signals with high DC values related to the AC component (e.g. some PPG signals) add a high value to test so that the starting 5% leads to moving average values higher than any of the peaks of the signal.Please, consider add fine grained values to the
ma_perc_list
: 0, 1, 2, 3, 4 %. Otherwise it does not work.The text was updated successfully, but these errors were encountered: