How to compute the derivative of a spline in scipy, including the edges
I’m having trouble with the derivative of spline computed with LSQUnivariateSpine
. Specifically that it is generating garbage at the edges…. My example is a bit wierd because I want to specify the knot location rather than letting the algorithm choose (like splrep
) but the that should be fine, right?