[SciPy-user] Maximum of spline?

Alex alex.liberzon at gmail.com
Mon May 11 06:27:54 EDT 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?

HIH
Alex



On May 9, 9:21 pm, David F <dael... at 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... at scipy.orghttp://mail.scipy.org/mailman/listinfo/scipy-user



More information about the SciPy-User mailing list