bundles / scipy 1.17.1 / scipy / interpolate / _fitpack2 / UnivariateSpline / __call__
function
scipy.interpolate._fitpack2:UnivariateSpline.__call__
Signature
def __call__ ( self , x , nu = 0 , ext = None ) Summary
Evaluate spline (or its nu-th derivative) at positions x.
Parameters
x: array_likeA 1-D array of points at which to return the value of the smoothed spline or its derivatives. Note:
xcan be unordered but the evaluation is more efficient ifxis (partially) ordered.nu: intThe order of derivative of the spline to compute.
ext: intControls the value returned for elements of
xnot in the interval defined by the knot sequence.if ext=0 or 'extrapolate', return the extrapolated value.
if ext=1 or 'zeros', return 0
if ext=2 or 'raise', raise a ValueError
if ext=3 or 'const', return the boundary value.
The default value is 0, passed from the initialization of UnivariateSpline.
Aliases
-
scipy.interpolate.UnivariateSpline.__call__