cabaret.camera.ReadoutSmearPixelDefect.set_pixels

cabaret.camera.ReadoutSmearPixelDefect.set_pixels#

ReadoutSmearPixelDefect.set_pixels(pixels: ndarray, camera: Camera)#

Set the pixels for the defect.

Parameters:
  • pixels (np.ndarray) – The pixel coordinates of the defect.

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