[SciPy-user] Maximum of spline?

Alex alex.liberzon@gmail....
Mon May 11 05:27:54 CDT 2009

maybe, if you know the range of the values, you can use the derivative
of the spline, provided by
scipy.interpolate.splev(xtuple,yourspline,der=1) or even second
derivative using der=2?


On May 9, 9:21 pm, David F <dael...@gmail.com> wrote:
> Hello all,
> Given the knot points and coefficients of a spline (obtained using
> scipy.interpolate.splrepor UnivariateSpline), how can I calculate the maximum
> of the interpolated curve?
> It seems that is should be fairly straightforward but I can't seem to figure it
> out -- can anyone point me in the right direction?
> Thanks,
> --D
> _______________________________________________
> SciPy-user mailing list
> SciPy-u...@scipy.orghttp://mail.scipy.org/mailman/listinfo/scipy-user

More information about the SciPy-user mailing list