{ } Raw JSON

bundles / scipy 1.18.0 / scipy / interpolate / _ndgriddata / NearestNDInterpolator / __call__

function

scipy.interpolate._ndgriddata:NearestNDInterpolator.__call__

source: /scipy/interpolate/_ndgriddata.py:97

Signature

def __call__(self, *args, **query_options)

Summary

Evaluate interpolator at given points.

Parameters

x1, x2, ... xn : array-like of float

Points where to interpolate data at. x1, x2, ... xn can be array-like of float with broadcastable shape. or x1 can be array-like of float with shape (..., ndim)

**query_options

This allows eps, p, distance_upper_bound, and workers being passed to the KDTree's query function to be explicitly set. See scipy.spatial.KDTree.query for an overview of the different options.

Aliases

  • scipy.interpolate.NearestNDInterpolator.__call__