Versions Compared

Key

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

...

  • control bit table is correct
  • formula should include pedestals in stead of offset
  • pedestals need to be generated and saved as txt file of shape (7, 1, 352, 384) under calib directory, for example:
    /reg/d/psdm/MFX/mfxx32516/calib/Epix10ka::CalibV1/MfxEndstation.0:Epix10ka.0/pedestals/0-end.data
  • Gabriel on pedestal calibration:
    • offsets and gain are calibrated not very often (say, once per month...)
    • pedestals should be calibrated pretty often (once per hour...)
    • pedestal calibration is implemented in AMI, using offestsoffsets,
    • script works on dark runs accumulated for 5 gain modes
    • + 2 gain modes are evaluated using combination of other 2 and offsetoffsets
    • pedestal calibration procedure needs to be compleatedcompleted.

Algorithm

  • per event make <uint8 control bit array>
  • convert to <array of indexes> using <control bits table>
  • generate <array of gains> and <array of offsets>
  • apply correction using formula

...