This is documentation for an old release of SciPy (version 0.13.0). Read this page in the documentation of the latest stable release (version 1.15.1).
scipy.interpolate.NearestNDInterpolator¶
- class scipy.interpolate.NearestNDInterpolator(points, values)[source]¶
Nearest-neighbour interpolation in N dimensions.
New in version 0.9.
Parameters : points : (Npoints, Ndims) ndarray of floats
Data point coordinates.
values : (Npoints,) ndarray of float or complex
Data values.
Notes
Uses scipy.spatial.cKDTree
Methods
__call__(*args) Evaluate interpolator at given points.