Returns the interpolated value at (theta[i],phi[i]),i=0,...,len(theta)-1.
Parameters:
theta, phiarray_like
Input coordinates. Standard Numpy broadcasting is obeyed.
The ordering of axes is consistent with
np.meshgrid(..., indexing="ij") and inconsistent with the
default ordering np.meshgrid(..., indexing="xy").
dthetaint, optional
Order of theta-derivative
Added in version 0.14.0.
dphiint, optional
Order of phi-derivative
Added in version 0.14.0.
Examples
Suppose that we want to use splines to interpolate a bivariate function on a
sphere. The value of the function is known on a grid of longitudes and
colatitudes.
We evaluate the function on the grid. Note that the default indexing="xy"
of meshgrid would result in an unexpected (transposed) result after
interpolation.