ewoksfluo.tasks.regrid_data.utils.ScanGrid¶
- class ewoksfluo.tasks.regrid_data.utils.ScanGrid(method='linear', fill_value=nan)[source]¶
Bases:
object
- get_interpolator(scan_uri, position_suburis)[source]¶
Returns a function that interpolates flat irregular data on a regular grid. The regular grid will be defined from the scatter coordinates one the firt call.
- Parameters:
scan_uri (
str
) –position_suburis (
Sequence
[str
]) –
- Return type:
Callable
[[ndarray
],ndarray
]
- property mesh_coordinates: List[ndarray] | None¶
1D arrays of coordinates along each grid dimension (order: slow axis to fast)
- property meshgrid_coordinates: List[ndarray] | None¶
nD arrays of coordinates along each grid dimension (order: slow axis to fast)
- property names: List[ndarray] | None¶
Name for each grid dimension (order: slow axis to fast)