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_file
Path Path to the CSV file containing the data.
- key
str Key to identify the data in the CSV file.
- image
darsia.Image Image to which data shall be interpolated.
- method
str 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.
- csv_file
- Returns:
darsia.ImageInterpolated image.