darsia.interpolate_to_image_from_csv#

interpolate_to_image_from_csv(csv_file, key, image, method='rbf')[source]#

Interpolate data from CSV to image.

Parameters:
csv_filePath

Path to the CSV file containing the data.

keystr

Key to identify the data in the CSV file.

imagedarsia.Image

Image to which data shall be interpolated.

methodstr

Interpolation method to use. Options are:

  • “rbf”: Radial Basis Function interpolation (default).

  • “polynomial”: Polynomial interpolation.

  • “linear”: Linear interpolation.

  • “quadratic”: Quadratic interpolation.

  • “cubic”: Cubic interpolation.

  • “quartic”: Quartic interpolation.

Returns:
darsia.Image

Interpolated image.