This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / interpolate / _bsplines / BSpline / __call__

function

scipy.interpolate._bsplines:BSpline.__call__

source: build-install/usr/lib/python3.14/site-packages/scipy/interpolate/_bsplines.py:1109

Signature

def __call__(self, x, nu = 0, extrapolate = None)

Summary

Evaluate a spline function.

Parameters

x : array_like

points to evaluate the spline at.

nu : int, optional

derivative to evaluate (default is 0).

extrapolate : bool or 'periodic', optional

whether to extrapolate based on the first and last intervals or return nans. If 'periodic', periodic extrapolation is used. Default is self.extrapolate.

Returns

y : array_like

Shape is determined by replacing the interpolation axis in the coefficient array with the shape of x.

Aliases

  • scipy.interpolate.BSpline.__call__