{ } Raw JSON

bundles / scipy 1.17.1 / scipy / interpolate / _ndbspline / NdBSpline / __call__

function

scipy.interpolate._ndbspline:NdBSpline.__call__

source: /scipy/interpolate/_ndbspline.py :136

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``, optional

Orders of derivatives to evaluate. Each must be non-negative. Defaults to the zeroth derivivative.

extrapolate : bool, optional

Whether to exrapolate based on first and last intervals in each dimension, or return nan. Default is to self.extrapolate.

Returns

values : ndarray, shape ``xi.shape[:-1] + self.c.shape[ndim:]``

Interpolated values at xi

Aliases

  • scipy.interpolate.NdBSpline.__call__