Interpolation (scipy.interpolate) — SciPy v1.16.0 Manual (original) (raw)
Sub-package for functions and objects used in interpolation.
See the user guide for recommendations on choosing a routine, and other usage details.
Univariate interpolation#
Low-level data structures for univariate interpolation:
Multivariate interpolation#
Unstructured data
For data on a grid:
Low-level data structures for tensor product polynomials and splines:
1-D spline smoothing and approximation#
Rational Approximation#
Interfaces to FITPACK routines for 1D and 2D spline fitting#
This section lists wrappers for FITPACKfunctionality for 1D and 2D smoothing splines. In most cases, users are better off using higher-level routines listed in previous sections.
1D FITPACK splines#
This package provides two sets of functionally equivalent wrappers: object-oriented and functional.
Functional FITPACK interface:
Object-oriented FITPACK interface:
2D FITPACK splines#
For data on a grid:
For unstructured data (OOP interface):
For unstructured data (functional interface):