navigate.model.analysis.camera.compute_flatfield_map
- navigate.model.analysis.camera.compute_flatfield_map(image: Union[_Buffer, _SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], complex, bytes, str, _NestedSequence[complex | bytes | str]], offset_map: Union[_Buffer, _SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], complex, bytes, str, _NestedSequence[complex | bytes | str]], local: bool = False) → Union[_Buffer, _SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], complex, bytes, str, _NestedSequence[complex | bytes | str]]
Compute the flatfield map for an evenly-illuminated set of frames from an sCMOS camera.
- Parameters:
image (npt.ArrayLike) – ZYX image of multiple camera frames with defocused, even signal.
offset_map (np.ArrayLike) – XY image of camera offset in the absence of signal.
local (bool) – Compute the local flatfield map (as opposed to global).
- Returns:
flatfield_map – XY image of flatfield map.
- Return type:
npt.ArrayLike