cabaret.Camera.apply_post_base_defects

cabaret.Camera.apply_post_base_defects#

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

Apply defects that follow the base image (e.g. constant hot/cold pixels).

Parameters:
  • image (np.ndarray) – The image after bias, dark, and read noise have been added.

  • exp_time (float) – Exposure time in seconds.

Returns:

The image with post-base defects applied.

Return type:

np.ndarray