navigate.model.analysis.camera.compute_flatfield_map
- navigate.model.analysis.camera.compute_flatfield_map(image: Union[_SupportsArray[dtype], _NestedSequence[_SupportsArray[dtype]], bool, int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]], offset_map: Union[_SupportsArray[dtype], _NestedSequence[_SupportsArray[dtype]], bool, int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]], local: bool = False) → Union[_SupportsArray[dtype], _NestedSequence[_SupportsArray[dtype]], bool, int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]
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