scipy.interpolate.NearestNDInterpolator

class scipy.interpolate.NearestNDInterpolator(points, values)

Nearest-neighbour interpolation in N dimensions.

New in version 0.9.

Parameters :

points : ndarray of floats, shape (npoints, ndims)

Data point coordinates.

values : ndarray of float or complex, shape (npoints, ...)

Data values.

Notes

Uses scipy.spatial.cKDTree

Previous topic

scipy.interpolate.LinearNDInterpolator

Next topic

scipy.interpolate.CloughTocher2DInterpolator

This Page