Expand description
Two-dimensional interpolation.
See the book entry Interpolation on grids.
Gridded interpolators take axes x (length nx), y (length ny) and a value matrix z of
shape (nx, ny) with z[[i, j]] = f(x[i], y[j]).
Modules§
- all_
phase - All-phase interpolation on a uniform grid.
- bicubic
- Bicubic (C¹) interpolation on a rectilinear grid.
- bilinear
- Bilinear interpolation on a rectilinear grid.
- cubic_
basis - Cardinal cubic basis interpolation on a rectilinear grid.
- fourier_
2d - Trigonometric interpolation of doubly periodic gridded data.
- lanczos
- Lanczos resampling on a uniform grid.
- nearest
- Nearest-neighbour interpolation on a rectilinear grid.
- radial_
basis_ functions - Radial basis function interpolation of scattered 2D data.
- rect_
bivariate_ spline - Tensor-product interpolating splines on a rectangular grid (SciPy’s
RectBivariateSplinewiths = 0):s(x, y) = Σᵢ Σⱼ cᵢⱼ Bᵢ,ₖₓ(x) Bⱼ,ₖᵧ(y), with values, partial derivatives and integrals over rectangles. - scattered
- Interpolation of scattered 2-D data on a Delaunay triangulation, following
scipy.interpolate: piecewise linear (LinearNDInterpolator), the C¹ Clough-Tocher scheme with globally estimated gradients (CloughTocher2DInterpolator), nearest neighbour (NearestNDInterpolator, any dimension) and thegriddatafront end. - smooth_
bivariate - Smoothing spline surfaces for scattered data (SciPy’s
bisplrep/bisplevandSmoothBivariateSpline,LSQBivariateSpline).
Traits§
- Interpolation2D
- Evaluation interface shared by the 2D interpolators.