scipy.interpolate.RectBivariateSpline.partial_derivative#

RectBivariateSpline.partial_derivative(dx, dy)[source]#

Construct a new spline representing a partial derivative of this spline.

Parameters:
dx, dyint

Orders of the derivative in x and y respectively. They must be non-negative integers and less than the respective degree of the original spline (self) in that direction (kx, ky).

Returns:
spline

A new spline of degrees (kx - dx, ky - dy) representing the derivative of this spline.

Notes

New in version 1.9.0.