scipy.interpolate.UnivariateSpline

class scipy.interpolate.UnivariateSpline(x, y, w=None, bbox=[, None, None], k=3, s=None)

Univariate spline s(x) of degree k on the interval [xb,xe] calculated from a given set of data points (x,y).

Can include least-squares fitting.

See also:

splrep, splev, sproot, spint, spalde - an older wrapping of FITPACK BivariateSpline - a similar class for bivariate spline interpolation