scipy.interpolate.RectSphereBivariateSpline.__call__

RectSphereBivariateSpline.__call__(theta, phi, dtheta=0, dphi=0, grid=True)[source]

Evaluate the spline or its derivatives at given positions.

Parameters
theta, phiarray_like

Input coordinates.

If grid is False, evaluate the spline at points (theta[i], phi[i]), i=0, ..., len(x)-1. Standard Numpy broadcasting is obeyed.

If grid is True: evaluate spline at the grid points defined by the coordinate arrays theta, phi. The arrays must be sorted to increasing order.

dthetaint, optional

Order of theta-derivative

New in version 0.14.0.

dphiint

Order of phi-derivative

New in version 0.14.0.

gridbool

Whether to evaluate the results on a grid spanned by the input arrays, or at points specified by the input arrays.

New in version 0.14.0.