You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Neurokit to analyze EDA data for the first time and I'm having an issue with the bio_process function. My data was acquired with 2000 samples/sec. When I set the sampling rate to 1000, there is no issue, however, when I set the sampling rate to 2000 samples/sec I get an error:
ValueError: operands could not be broadcast together with shapes (20704,) (20627,).
Here is the code I'm using:
`bio_features = nk.bio_process(eda=df["CH10"], emg=df["CH1"], add=df_markers, sampling_rate=2000, scr_method='makowski', scr_treshold=0.1)
Hei @femicarrington Sorry for the late answer! As you know, we are currently re-implementing, fixing and improving a lot of NeuroKit's content in the so-called neurokit2, which ultimately aims at to replace neurokit1.
Could you try installing the neurokit2 from Github and run eda_process to see if at least this works? Thanks!
Hi there,
I am using Neurokit to analyze EDA data for the first time and I'm having an issue with the bio_process function. My data was acquired with 2000 samples/sec. When I set the sampling rate to 1000, there is no issue, however, when I set the sampling rate to 2000 samples/sec I get an error:
ValueError: operands could not be broadcast together with shapes (20704,) (20627,).
Here is the code I'm using:
`bio_features = nk.bio_process(eda=df["CH10"], emg=df["CH1"], add=df_markers, sampling_rate=2000, scr_method='makowski', scr_treshold=0.1)
nk.z_score(bio_features["df"]).plot()
plt.ylim(-4,4)
plt.show`
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: