This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / interpolate / _ndbspline / NdBSpline / __call__

function

scipy.interpolate._ndbspline:NdBSpline.__call__

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

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__