This is documentation for an old release of SciPy (version 0.9.0). Read this page Search for this page in the documentation of the latest stable release (version 1.15.1).
scipy.interpolate.LSQUnivariateSpline.__init__
-
LSQUnivariateSpline.__init__(x, y, t, w=None, bbox=[, None, None], k=3)
- Input:
- x,y - 1-d sequences of data points (x must be
- in strictly ascending order)
- t - 1-d sequence of the positions of user-defined
- interior knots of the spline (t must be in strictly
ascending order and bbox[0]<t[0]<...<t[-1]<bbox[-1])
- Optional input:
w - positive 1-d sequence of weights
bbox - 2-sequence specifying the boundary of
the approximation interval.
By default, bbox=[x[0],x[-1]]
k=3 - degree of the univariate spline.