EEG-grasp-and-lift icon indicating copy to clipboard operation
EEG-grasp-and-lift copied to clipboard

Faced an Issue with BSpline

Open magnumical opened this issue 4 years ago • 0 comments

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

magnumical avatar Sep 30 '20 09:09 magnumical