Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ImgCalib gets the input raw image, subtracts pedestals and normalized background, apply applys the gain factors and mask, and saves the corrected image in the event.

...

  • ImgCalib uses the source and key_in parameters to get the input raw image (as ndarray<double,2> object),
  • gets the calibration parameters from files fname_peds, fname_bkgd, fname_gain, and fname_mask, if their names are specified,
  • the specified by the file name corrections are applied per-pixel to raw data as follows:
    {{ A_cor = (A_raw - pedestal - N*background) * gain (*apply) mask}},
  • corrected image is saved in the event with key key_out.

...