Module 'cvxEDA' has no attribute 'cvxEDA'
frank984 opened this issue · 3 comments
frank984 commented
frank984 commented
solved by running the cvxEDA.py
lciti commented
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)
...
lciti commented
@Nidhi2215 It should suffice to just have the cvxEDA.py
file in the same folder as the script you are running.