Interpolation on Regular Grids

Interpolation on Regular Grids#

Interpolation of data defined on regular (possibly unevenly spaced) grids. For an xarray.DataArray, use RegularGridInterpolator, which identifies the axes and selects the interpolator from the number of dimensions; otherwise call the functions below on a pyinterp.Grid built from axes and a numpy array.

Classes#

RegularGridInterpolator(array)

Interpolate on a regular grid in arbitrary dimensions.

Interpolation Functions#

univariate(...)

Univariate interpolation.

bivariate(...)

Bivariate interpolation.

trivariate(...)

Trivariate interpolation.

quadrivariate(...)

Quadrivariate interpolation.

univariate_derivative(grid, x[, method, ...])

Calculate derivatives on a 1D grid.