Interpolation on a regular grid in arbitrary dimensions
The data must be defined on a regular grid; the grid spacing however may be uneven. Linear and nearest-neighbour interpolation are supported. After setting up the interpolator object, the interpolation method (linear or nearest) may be chosen at each evaluation.
New in version 0.14.
Parameters: | points : tuple of ndarray of float, with shapes (m1, ), ..., (mn, )
values : array_like, shape (m1, ..., mn, ...)
method : str
bounds_error : bool, optional
fill_value : number, optional
|
---|
See also
Notes
Contrary to LinearNDInterpolator and NearestNDInterpolator, this class avoids expensive triangulation of the input data by taking advantage of the regular grid structure.
References
[R38] | Python package regulargrid by Johannes Buchner, see https://pypi.python.org/pypi/regulargrid/ |
[R39] | Trilinear interpolation. (2013, January 17). In Wikipedia, The Free Encyclopedia. Retrieved 27 Feb 2013 01:28. http://en.wikipedia.org/w/index.php?title=Trilinear_interpolation&oldid=533448871 |
[R40] | Weiser, Alan, and Sergio E. Zarantonello. “A note on piecewise linear and multilinear table interpolation in many dimensions.” MATH. COMPUT. 50.181 (1988): 189-196. http://www.ams.org/journals/mcom/1988-50-181/S0025-5718-1988-0917826-0/S0025-5718-1988-0917826-0.pdf |
Methods
__call__(xi[, method]) | Interpolation at coordinates |