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
hi, i'm planning to use a neurokit example. But I am not able to follow the example due to an error. How can I fix it?
I changed the scikit-learn version 0.23.2 to 0.20.1 to fix the error, but error was still existed.
Please look at below code and error message.
Import packages
import neurokit as nk
import pandas as pd
import numpy as np
import seaborn as sns
hi, i'm planning to use a neurokit example. But I am not able to follow the example due to an error. How can I fix it?
I changed the scikit-learn version 0.23.2 to 0.20.1 to fix the error, but error was still existed.
Please look at below code and error message.
Import packages
import neurokit as nk
import pandas as pd
import numpy as np
import seaborn as sns
Download data
df = pd.read_csv("https://raw.githubusercontent.com/neuropsychology/NeuroKit.py/master/examples/Bio/bio_100Hz.csv")
Plot it
df.plot()
Process the signals
bio = nk.bio_process(ecg=df['ECG'], rsp=df['RSP'], eda=df['EDA'], add=df['Photosensor'], sampling_rate=100)
bio = nk.bio_process(df["ECG"], df["RSP"], df["EDA"], df["Photosensor"], sampling_rate=100)
Plot the processed dataframe, normalizing all variables for viewing purpose
nk.z_score[bio['df']].plot()
ValueError: Digital filter critical frequencies must be 0 < Wn < 1
The text was updated successfully, but these errors were encountered: