scipy.interpolate.bisplev¶

scipy.interpolate.
bisplev
(x, y, tck, dx=0, dy=0)[source]¶ Evaluate a bivariate Bspline and its derivatives.
Return a rank2 array of spline function values (or spline derivative values) at points given by the crossproduct of the rank1 arrays x and y. In special cases, return an array or just a float if either x or y or both are floats. Based on BISPEV from FITPACK.
Parameters: x, y : ndarray
Rank1 arrays specifying the domain over which to evaluate the spline or its derivative.
tck : tuple
A sequence of length 5 returned by
bisplrep
containing the knot locations, the coefficients, and the degree of the spline: [tx, ty, c, kx, ky].dx, dy : int, optional
The orders of the partial derivatives in x and y respectively.
Returns: vals : ndarray
The Bspline or its derivative evaluated over the set formed by the crossproduct of x and y.
See also
splprep
,splrep
,splint
,sproot
,splev
,UnivariateSpline
,BivariateSpline
Notes
See
bisplrep
to generate the tck representation.References
[R93] Dierckx P. : An algorithm for surface fitting with spline functions Ima J. Numer. Anal. 1 (1981) 267283. [R94] Dierckx P. : An algorithm for surface fitting with spline functions report tw50, Dept. Computer Science,K.U.Leuven, 1980. [R95] Dierckx P. : Curve and surface fitting with splines, Monographs on Numerical Analysis, Oxford University Press, 1993.