darsia.polynomial_interpolation#

polynomial_interpolation(measurements, coordinate_system, degree=2)[source]#

Determine a voxeled spatial map from measurements through polynomial interpolation.

Parameters:
measurementstuple[np.ndarray, …]

Tuple of x, y and data measurements providing the interpolation input.

coordinate_systemdarsia.CoordinateSystem

Coordinate system of the corresponding physical image; sets the output shape.

degreeint

Degree of the polynomial interpolation.

Returns:
np.ndarray

The interpolated map.