bundles / scipy latest / scipy / interpolate / _ndbspline / NdBSpline / __call__
function
scipy.interpolate._ndbspline:NdBSpline.__call__
Signature
def __call__ ( self , xi , * , nu = None , extrapolate = None ) Summary
Evaluate the tensor product b-spline at xi.
Parameters
xi: array_like, shape(..., ndim)The coordinates to evaluate the interpolator at. This can be a list or tuple of ndim-dimensional points or an array with the shape (num_points, ndim).
nu: sequence of length ``ndim``, optionalOrders of derivatives to evaluate. Each must be non-negative. Defaults to the zeroth derivivative.
extrapolate: bool, optionalWhether to exrapolate based on first and last intervals in each dimension, or return
nan. Default is toself.extrapolate.
Returns
values: ndarray, shape ``xi.shape[:-1] + self.c.shape[ndim:]``Interpolated values at
xi
Aliases
-
scipy.interpolate.NdBSpline.__call__