interpolate

Sub-package for objects used in interpolation.

As listed below, this sub-package contains spline functions and classes, one-dimensional and multi-dimensional (univariate and multivariate) interpolation classes, Lagrange and Taylor polynomial interpolators, and wrappers for FITPACK and DFITPACK functions.

Univariate interpolation

interp1d
BarycentricInterpolator
KroghInterpolator
PchipInterpolator
barycentric_interpolate
krogh_interpolate
pchip_interpolate
Akima1DInterpolator
CubicSpline
PPoly
BPoly

Multivariate interpolation

Unstructured data:

griddata
LinearNDInterpolator
NearestNDInterpolator
CloughTocher2DInterpolator
Rbf
interp2d

For data on a grid:

interpn
RegularGridInterpolator
RectBivariateSpline

See also

scipy.ndimage.map_coordinates

Tensor product polynomials:

NdPPoly

1-D Splines

BSpline
make_interp_spline
make_lsq_spline

Functional interface to FITPACK routines:

splrep
splprep
splev
splint
sproot
spalde
splder
splantider
insert

Object-oriented FITPACK interface:

UnivariateSpline
InterpolatedUnivariateSpline
LSQUnivariateSpline

2-D Splines

For data on a grid:

RectBivariateSpline
RectSphereBivariateSpline

For unstructured data:

BivariateSpline
SmoothBivariateSpline
SmoothSphereBivariateSpline
LSQBivariateSpline
LSQSphereBivariateSpline

Low-level interface to FITPACK functions:

bisplrep
bisplev

Additional tools

lagrange
approximate_taylor_polynomial
pade

See also

scipy.ndimage.map_coordinates, scipy.ndimage.spline_filter, scipy.signal.resample, scipy.signal.bspline, scipy.signal.gauss_spline, scipy.signal.qspline1d, scipy.signal.cspline1d, scipy.signal.qspline1d_eval, scipy.signal.cspline1d_eval, scipy.signal.qspline2d, scipy.signal.cspline2d.

Functions existing for backward compatibility (should not be used in new code):

spleval
spline
splmake
spltopp
pchip

Package Contents