cabaret.Camera.apply_pre_base_defects

cabaret.Camera.apply_pre_base_defects#

Camera.apply_pre_base_defects(image: ndarray, exp_time: float) ndarray[source]#

Apply defects that must precede the base image (e.g. readout smear).

Parameters:
  • image (np.ndarray) – The light image before bias, dark, and read noise are added.

  • exp_time (float) – Exposure time in seconds.

Returns:

The image with pre-base defects applied.

Return type:

np.ndarray