Replies: 2 comments 6 replies
-
could you post the code that you tried and the error log? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Try ecg = ecg.reset_index()
nk.ecg_plot(ecg[0:2000], sampling_rate=500) |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey community - I am an undergrad, trying to process ECG data with neurokit2 and need your help!
In order to compare closer the artifacts and peaks of manually cleaned data (mindware, intervalrelated) with neurokit's cleaning methods, I want to plot only an extracted range of datapoints (1min) out of the full processed dataset.
As mentioned in the docs I can select any range of datapoints from the start (e.g [:30000]), but, when I try to extract a range from the middle (e.g [30000:60000]) it does not work. I tried many options, including taking the ecg_plot source code apart, but nothing works. I would appreciate any help here and can provide the scripts if needed. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions