Skip to main content

Module nd

Module nd 

Source
Expand description

N-dimensional interpolation on rectilinear grids.

See the book entry Interpolation on grids.

A grid is given by one strictly increasing axis per dimension and a value array whose shape is the axis lengths. Queries are slices with one coordinate per dimension.

Modules§

cubic_basis
Cardinal cubic basis interpolation on an N-dimensional grid.
grid_data
Multilinear interpolation of gridded data in any number of dimensions.
linear_nd
Piecewise-linear interpolation of scattered data in any dimension (SciPy’s LinearNDInterpolator in 3-D and higher), on the Delaunay triangulation of the data.
nearest
Nearest-neighbour interpolation on an N-dimensional grid.
rbf
Radial basis function interpolation of scattered data in any number of dimensions (SciPy’s RBFInterpolator): s(x) = Σᵢ aᵢ φ(ε‖x − yᵢ‖) + Σⱼ bⱼ pⱼ(x), with a polynomial tail of the degree the kernel needs, optional smoothing, and SciPy’s scaling of the polynomial terms.

Traits§

InterpolationND
Evaluation interface shared by the N-dimensional interpolators.