Closed stjep closed 7 years ago
@stjep I've just tried it with the minimal following code and the bio_process()
works at my place.
import neurokit as nk
import pandas as pd
df = pd.read_csv("https://raw.githubusercontent.com/neuropsychology/NeuroKit.py/master/examples/Bio/data/data_bio.csv", index_col=False) # download the datafile directly from the web
bio = nk.bio_process(ecg=df["ECG"], rsp=df["RSP"], eda=df["EDA"]) # run the processing function
Here's a few things:
hrv["Lyapunov"] = np.max(nolds.lyap_e(rri, emb_dim=58, matrix_dim=4))
within the ecg_hrv function.try
section to catch the error.pip uninstall neurokit
and then pip install https://github.com/neuropsychology/NeuroKit.py/zipball/master
Thanks for your feedback, Let me know how it goes!
Your are correct that I did miss the update, and installing the current master fixed this issue.
I'm just getting my feet wet with ECG, so I really appreciate your quick and extremely helpful replies. I'll keep slowly playing with NeuroKit, and I'm tracking the repo so Github should (theoretically) notify me when new versions are pushed.
Seeing as how I'm staring out new with NeuroKit, let me know if there's any way I can contribute to the documentation.
@stjep How's your biosginals exploration going? Was neurokit helpful? I've managed to rework the tutorial a bit, let me know if you'd like to see more stuff 😉
@DominiqueMakowski, made my way through the tutorial without any problems, and am about to give my own data a try 🤞
This is a follow-on from issue #9.
When following the steps in the tutorial, I'm still stuck on the ecg process line (
bio = nk.bio_process(ecg=df["ECG"], rsp=df["RSP"], eda=df["EDA"])
).Full traceback: