bundles / scipy latest / scipy / interpolate / _bsplines / BSpline / __call__
function
scipy.interpolate._bsplines:BSpline.__call__
Signature
def __call__ ( self , x , nu = 0 , extrapolate = None ) Summary
Evaluate a spline function.
Parameters
x: array_likepoints to evaluate the spline at.
nu: int, optionalderivative to evaluate (default is 0).
extrapolate: bool or 'periodic', optionalwhether 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_likeShape is determined by replacing the interpolation axis in the coefficient array with the shape of
x.
Aliases
-
scipy.interpolate.BSpline.__call__