scipy.interpolate
scipy.interpolate.RegularGridInterpolator
scipy.interpolate.RectBivariateSpline
RegularGridInterpolator.
__call__
Interpolation at coordinates
xi : ndarray of shape (..., ndim)
The coordinates to sample the gridded data at
method : str
The method of interpolation to perform. Supported are “linear” and “nearest”.