SciPy

scipy.interpolate.interp2d.__call__

interp2d.__call__(x, y, dx=0, dy=0)[source]

Interpolate the function.

Parameters :

x : 1D array

x-coordinates of the mesh on which to interpolate.

y : 1D array

y-coordinates of the mesh on which to interpolate.

dx : int >= 0, < kx

Order of partial derivatives in x.

dy : int >= 0, < ky

Order of partial derivatives in y.

Returns :

z : 2D array with shape (len(y), len(x))

The interpolated values.