scipy.interpolate.LinearNDInterpolator

class scipy.interpolate.LinearNDInterpolator(points, values)

Piecewise linear interpolant 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.

fill_value : float, optional

Value used to fill in for requested points outside of the convex hull of the input points. If not provided, then the default is nan.

Notes

The interpolant is constructed by triangulating the input data with Qhull [Qhull], and on each triangle performing linear barycentric interpolation.

References

[Qhull](1, 2) http://www.qhull.org/

Previous topic

scipy.interpolate.griddata

Next topic

scipy.interpolate.NearestNDInterpolator

This Page