Expand description
Akima interpolation: a locally determined piecewise cubic that avoids the wiggles of a global spline.
See the book entry Piecewise and spline interpolation.
Functions§
- akima
- Builds an Akima (1970) interpolant through
(x, y);xstrictly increasing, at least two points (two give a straight line). - akima_
slopes - The node slopes of Akima’s method (
modified = false) or ofmakima(modified = true). - makima
- The modified Akima interpolant (
makima, Cosmin Ionita 2019; SciPy’sAkima1DInterpolator(method="makima")): the weights|m₄ − m₃| + |m₄ + m₃|/2and|m₂ − m₁| + |m₂ + m₁|/2also count the secants’ size, so flat stretches and repeated secants no longer produce overshoot.