EEG-grasp-and-lift
EEG-grasp-and-lift copied to clipboard
Faced an Issue with BSpline
Hi I faced these two errors!
smooth =scipy.interpolate.BSpline(xnew,spike,xnew)
TypeError: only integer scalar arrays can be converted to a scalar index
and
smooth =scipy.interpolate.BSpline(int(xnew),spike,xnew)
TypeError: only size-1 arrays can be converted to Python scalars
Python version: 3.7.0 Scipy version:1.5.2 Note: I wanted to install scipy 0.18.1 but I couldn't. I couldn't install it even on other environments (Py 2.7 and Py 3.6) Could you please check it ?! Thanks