Expand description
One-dimensional interpolation.
Modules§
- aaa
- AAA rational approximation (Nakatsukasa, Sète and Trefethen, 2018) for real data.
- akima
- Akima interpolation: a locally determined piecewise cubic that avoids the wiggles of a global spline.
- b_
spline - B-splines of any degree, following
scipy.interpolate: theBSplinetype (evaluation, derivatives, antiderivatives and integrals), interpolating splines with a choice of end conditions (make_interp_spline), least-squares splines on given knots (make_lsq_spline) and parametric interpolating curves (make_interp_curve). - bpoly
- Piecewise polynomials in the Bernstein basis, following SciPy’s
BPoly: evaluation by de Casteljau’s algorithm, derivatives, antiderivatives and integrals, conversion to and from the power basis, and construction from derivatives at the breakpoints (BPoly.from_derivatives). - bulirsch_
stoer - Bulirsch-Stoer rational function interpolation.
- chebyshev_
approximations - Chebyshev approximation of a function on an interval.
- cubic_
basis - Cubic basis (cardinal / Catmull-Rom) interpolation.
- fitpack
- Smoothing splines with automatically placed knots, after Dierckx’s FITPACK (
curfitandparcur), following SciPy’smake_splrep,make_splprepandgenerate_knots. - floater_
hormann - Floater-Hormann rational interpolation (barycentric, no poles on the real line).
- fourier_
1d - Trigonometric (Fourier) interpolation of uniformly sampled periodic data.
- hermite
- Shared piecewise cubic Hermite machinery used by PCHIP, Akima and the cubic basis interpolators.
- krogh
- Krogh’s interpolating polynomial through values and derivatives (SciPy’s
KroghInterpolator): a node repeateds + 1times carries the value and the firstsderivatives there. The polynomial is kept in Newton form, whose coefficients are confluent divided differences. - lagrange_
interpolant - Lagrange interpolation in barycentric form (second form, O(n) per evaluation).
- linear_
interpolator - natural_
cubic_ spline_ interpolator - pade_
approximants - Padé approximants built from Taylor series coefficients.
- pchip
- Piecewise cubic Hermite interpolating polynomial (PCHIP), after Fritsch and Carlson.
- polynomial_
interpolator - ppoly
- Piecewise polynomials in the power basis, following SciPy’s
PPoly: evaluation, derivatives, antiderivatives, definite integrals and real roots, with constructors from cubic Hermite data (CubicHermiteSpline) and from B-splines (PPoly.from_spline). - pronys_
method - Prony’s method: fit uniformly sampled data with a sum of complex exponentials.
- savitzky_
golay - Savitzky-Golay smoothing and differentiation by local polynomial least squares.
- smoothing_
spline - The cubic smoothing spline (SciPy’s
make_smoothing_spline): the functiongminimising