cabaret.camera.QuantumEfficiencyMapPixelDefect.introduce_pixel_defect

cabaret.camera.QuantumEfficiencyMapPixelDefect.introduce_pixel_defect#

QuantumEfficiencyMapPixelDefect.introduce_pixel_defect(image: ndarray, camera: Camera, seed: int | None = None, **kwargs)[source]#

Introduce the defect into the image.

Parameters:
  • image (np.ndarray) – The image to which the defect will be introduced.

  • camera (Camera) – The camera to which the defect applies.