SciPy

scipy.interpolate.spline

scipy.interpolate.spline(*args, **kwds)

spline is deprecated! spline is deprecated in scipy 0.19.0, use Bspline class instead.

Interpolate a curve at new points using a spline fit

Parameters
xk, ykarray_like

The x and y values that define the curve.

xnewarray_like

The x values where spline should estimate the y values.

orderint

Default is 3.

kindstring

One of {‘smoothest’}

condsDon’t know

Don’t know

Returns
splinendarray

An array of y values; the spline evaluated at the positions xnew.

Previous topic

scipy.interpolate.spleval

Next topic

scipy.interpolate.splmake