Versions Compared

Key

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

...

This algorithm is similar to one developed by Andy Salnikov and implemented in cspad_mod.CsPadCalib;

  1. for each cspad2x1 sensor the pixels' an intensity histogram is filled for natural ADU bins, with pedestal-subtracted ADU values (1 bin for each possible ADU value). pixels with bad status are ignored,
  2. search for the peak in the histogram corresponding to the dark pixels using thresholds,
  3. iterate over bins around the peak region and improve the peak location precision, that defines the common mode correction
  4. software finds where histogram crosses threshold (parameter 3)
  5. measure mean/rms of region that is above the threshold
  6. if mean/rms is in allowed range (parameters 1 and 2) then common mode value is set to the meanif correction is in allowed range then apply it to all sensor pixels.
  7. if the correction is not in the allowed range, then the common mode value is computed from unbonded pixels (see algorithm #5)
  8. subtract the common mode value from all pixels in the cspad2x1

Parameters Control parameters for this algorithm resides in the calibration directory in the file for directory named common_mode calibration type;

...

 or can be set with the python Detector interface.

Default parameters for CSPAD and CSPAD2x2

Code Block
1 5025 5025 100
  • par[0] - algorithm #
  • par[1] - maximal deviation of the peak mean from 0
  • par[2] - maximal allowed value of the peak RMS
  • par[3] -threshold on number of pixels in the ADU bin in the peak finding algorithm

...