Expand description
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 the griddata front end.
See the book entry Piecewise polynomials, Hermite data and scattered interpolation.
Structs§
- Clough
Tocher2D Interpolator - The C¹ piecewise-cubic Clough-Tocher interpolant (SciPy’s
CloughTocher2DInterpolator): each triangle is split at its centroid into three cubic Bézier patches, fixed by the values and gradients at the vertices and by requiring the cross-boundary derivative to be linear along each edge. - LinearND
Interpolator - Piecewise-linear interpolation on the Delaunay triangulation (SciPy’s
LinearNDInterpolatorin 2-D): barycentric weights of the containing triangle. - NearestND
Interpolator - Nearest-neighbour interpolation in any dimension (SciPy’s
NearestNDInterpolator); ties go to the first point. - Triangulation
Index - A Delaunay triangulation with neighbour links and a bucket grid for point location.
Enums§
- Griddata
Method - The method of
griddata.
Functions§
- estimate_
gradients_ 2d_ global - Gradient estimates at the vertices that minimise the integrated squared second derivative of
the Clough-Tocher interpolant along every edge (Nielson’s global method, SciPy’s
estimate_gradients_2d_global). Each vertex’s 2 × 2 local problem is solved in turn with the current estimates at its neighbours (Gauss-Seidel), until the largest change is belowtol(relative to the gradient, or absolute when it is below 1) or aftermax_iterationssweeps. - griddata
- Interpolates scattered 2-D data at the query points (SciPy’s
griddata): nearest neighbour, piecewise linear or Clough-Tocher; outside the convex hull the linear and cubic methods returnNaN.