-
-
Notifications
You must be signed in to change notification settings - Fork 437
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
ECG Analysis bug for sample rate of 500 #593
Comments
Hi, could you attach a piece of reproducible code and data for us to see what's going on? Thanks |
Hello @DominiqueMakowski, I am also facing the same issue for the 500Hz sample frequency. I have 88000 ECG data points from PhysioNet with various signal frequencies. I have used upsampling and downsampling on them and made the of 500Hz frequency. Now the problem arises when I try to use Neurokit
Here |
Having the same issue utilising the WESAD dataset PPG data (64Hz) and ECG data (700Hz) windowed into 10-second segments. Interestingly the code runs and retrieves measures to identify the HRV from the peaks for two iterations on PPG and near seventy iterations on ECG, then fails. I'm happy to supply code if needed. |
Hi @ZacDair , apologies for the late reply! Could you please attach your code as well as data so that we can try reproducing the error? |
Hi, |
Hi everyone, @ZacDair, @Soumadip-Saha
|
I have exactly the same problem,: I suggest the case is reopened as there is no fix without rewriting part of neurokit functionality, as far as I understand. That defeats the purpose of using neurokit |
Hi, would you help us fixing it by providing a reproducible code / data? |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Heyy, Any update on this? I am facing a similar error. |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
I wanted to analyze my ECG data (sample rate of 500), however I came across with this bug and I don't know how to update the parameter 'windows'.
Code:
processed_data, info = nk.bio_process(ecg=df["V3"], sampling_rate=500)
results = nk.bio_analyze(processed_data, sampling_rate=500)
Error:
ValueError: NeuroKit error: the window cannot contain more data points than the time series. Decrease 'windows'.
The text was updated successfully, but these errors were encountered: