xoa.core.regrid

xoa.core.regrid#

Low level regridding routines accelerated with numba

The numerical inputs and outputs of all these routines are of scalar or numpy.ndarray type.

Functions

cellave1d(vari, yib, yob, eshapes[, extrap, ...])

Cell average regrid.

cubic1d(vari, yi, yo, eshapes[, extrap, ...])

Cubic interpolation of nD data along an axis with varying coordinates

extrap1d(vari, mode)

Extrapolate valid data to the top and/or bottom

hermit1d(vari, yi, yo, eshapes[, extrap, ...])

Hermitian interp.

linear1d(vari, yi, yo, eshapes[, extrap, ...])

Linear interpolation of nD data along an axis with varying coordinates

nearest1d(vari, yi, yo, eshapes[, extrap, ...])

Nearest interpolation of nD data along an axis with varying coordinates