This is documentation for an old release of SciPy (version 0.10.0). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.interpolate.BivariateSpline

class scipy.interpolate.BivariateSpline

Bivariate spline s(x,y) of degrees kx and ky on the rectangle [xb,xe] x [yb, ye] calculated from a given set of data points (x,y,z).

See also

bisplrep, bisplev

UnivariateSpline
a similar class for univariate spline interpolation
SmoothUnivariateSpline
to create a BivariateSpline through the given points
LSQUnivariateSpline
to create a BivariateSpline using weighted least-squares fitting

Methods

__call__(x, y[, mth]) Evaluate spline at positions x,y.
ev(xi, yi) Evaluate spline at points (x[i], y[i]), i=0,...,len(x)-1
get_coeffs() Return spline coefficients.
get_knots() Return a tuple (tx,ty) where tx,ty contain knots positions of the spline with respect to x-, y-variable, respectively.
get_residual() Return weighted sum of squared residuals of the spline
integral(xa, xb, ya, yb) Evaluate the integral of the spline over area [xa,xb] x [ya,yb].

Previous topic

scipy.interpolate.RectBivariateSpline.integral

Next topic

scipy.interpolate.BivariateSpline.__call__

This Page