Closed frank984 closed 1 year ago
solved by running the cvxEDA.py
You should be able to import cvxEDA normally and then use it (no need to "run" cvxEDA).
import cvxEDA
import numpy as np
y = np.fromfile('EDA.csv', sep=' ')[3:]
yn = (y - y.mean()) / y.std()
Fs = 25.
[r, p, t, l, d, e, obj] = cvxEDA.cvxEDA(yn, 1./Fs)
...
@Nidhi2215 It should suffice to just have the cvxEDA.py
file in the same folder as the script you are running.
I tried to use your .py script in jupyter notebook by first importing the .csv of EDA data. This error appears: