-
-
Notifications
You must be signed in to change notification settings - Fork 436
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
[Breaking] for *_plot() and ecg_fixpeaks(method="neurokit") #889
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## dev #889 +/- ##
=======================================
Coverage 55.17% 55.17%
=======================================
Files 302 302
Lines 14049 14103 +54
=======================================
+ Hits 7751 7781 +30
- Misses 6298 6322 +24
☔ View full report in Codecov by Sentry. |
I did look into this at some point and I remember there was a library for this, I don't have time to find my old notebook right now, but I think it was https://mpld3.github.io/modules/API.html#mpld3.fig_to_html |
ecg_fixpeaks(method="neurokit")
returns also a tuple with an info dict for consistency with kubios methodecg_plot()
loses the show_type="artifacts" option*_plot()
now take an "info" dict as input instead of thesampling_rate
argumentecg_plot()
into a separate internal function inecg_peaks()
+ potential improvement of showing the "fixed" peaks (would also help removing the weirdshow_type
option that we have inecg_plot()
)Add delineation plot in ecg_plot, as part ofecg_segment_plot
code?ax
arg) to ecg_rate, ecg_delineate, ecg_peaks that can then get called fromecg_plot()
that would just to an assembling of existing plots, to remove code complexity and duplication