API Documentation

Interpolation of 1D, 2D, or 3D data

interpax.Interpolator1D(x, f[, method, ...])

Convenience class for representing a 1D interpolated function.

interpax.Interpolator2D(x, y, f[, method, ...])

Convenience class for representing a 2D interpolated function.

interpax.Interpolator3D(x, y, z, f[, ...])

Convenience class for representing a 3D interpolated function.

scipy.interpolate-like classes

These classes implement most of the functionality of the SciPy classes with the same names, except where noted in the documentation.

interpax.Akima1DInterpolator(x, y[, axis, ...])

Akima interpolator.

interpax.CubicHermiteSpline(x, y, dydx[, ...])

Piecewise-cubic interpolator matching values and first derivatives.

interpax.CubicSpline(x, y[, axis, bc_type, ...])

Cubic spline data interpolator.

interpax.PchipInterpolator(x, y[, axis, ...])

PCHIP 1-D monotonic cubic interpolation.

interpax.PPoly(c, x[, extrapolate, axis, check])

Piecewise polynomial in terms of coefficients and breakpoints.

Functional interface for 1D, 2D, 3D interpolation

interpax.interp1d(xq, x, f[, method, ...])

Interpolate a 1d function.

interpax.interp2d(xq, yq, x, y, f[, method, ...])

Interpolate a 2d function.

interpax.interp3d(xq, yq, zq, x, y, z, f[, ...])

Interpolate a 3d function.

Fourier interpolation of periodic functions in 1D and 2D

interpax.fft_interp1d(f, n[, sx, dx])

Interpolation of a 1d periodic function via FFT.

interpax.fft_interp2d(f, n1, n2[, sx, sy, ...])

Interpolation of a 2d periodic function via FFT.

Approximating first derivatives for cubic splines

interpax.approx_df(x, f[, method, axis])

Approximates first derivatives using cubic spline interpolation.