make_linear_interpolator_unstructured¶
-
hcipy.interpolation.
make_linear_interpolator_unstructured
(field, grid=None, fill_value=nan)¶ Make a linear interpolator for an unstructured grid.
- Parameters
- fieldField or array_like
The field to interpolate.
- gridGrid or None
The grid of the field. If it is given, the grid of field is replaced by this grid.
- fill_valuescalar
The value to use for points outside of the domain of the input field. Extrapolation is not supported.
- Returns
- Field generator
The interpolator as a Field generator. The grid on which this field generator will be evaluated does not need to have any structure.