cora.util.bilinearmap

Functions

interp(arr, x, y, v)

Interpolate a 2D array onto new points.

cora.util.bilinearmap.interp(arr, x, y, v)

Interpolate a 2D array onto new points.

Parameters:
  • arr (np.ndarray[:, :]) – Array to interpolate.

  • x (np.ndarray[:]) – New co-ordinates.

  • y (np.ndarray[:]) – New co-ordinates.

  • v (np.ndarray[:]) – Array to fill with interpolated values.