I created bspline using splprep, as shown below, from a set of points:
tck,uout = splprep([x,y],s=0.,k=2,per=False)
Now I am trying to evaluate the derivative of a spline using:
dx,dy = splev(uout,tck,der=1)
I find that splev returns two lists for the derivative.
Given that the spline is parameterized (say, in u), does it return dx / du and dy / du?
If not, how to properly evaluate the derivative (dy / dx)?
source share