Skip to content

Bio_process error with sampling rate of 2000 #105

@femicarrington

Description

@femicarrington

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions