This is documentation for an old release of SciPy (version 1.7.1). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.interpolate.RegularGridInterpolator.__call__

RegularGridInterpolator.__call__(xi, method=None)[source]

Interpolation at coordinates

Parameters
xindarray of shape (…, ndim)

The coordinates to sample the gridded data at

methodstr

The method of interpolation to perform. Supported are “linear” and “nearest”.