fast_griddata#

silmaril.utilities.fast_griddata(points, values, xi)#

A faster version of scipy.interpolate.griddata implemented using scipy.ndimage.map_coordinates.

Parameters:
  • points (numpy.ndarray) – list of points at which the values are defined

  • values (numpy.ndarray) – values to interpolate

  • xi (numpy.ndarray) – list of points at which to interpolate

Returns:

interpolated values

Return type:

numpy.ndarray