Page History
...
This algorithm is similar to one developed by Andy Salnikov and implemented in cspad_mod.CsPadCalib;
- 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,
- search for the peak in the histogram corresponding to the dark pixels using thresholds,
- iterate over bins around the peak region and improve the peak location precision, that defines the common mode correction
- software finds where histogram crosses threshold (parameter 3)
- measure mean/rms of region that is above the threshold
- 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.
- if the correction is not in the allowed range, then the common mode value is computed from unbonded pixels (see algorithm #5)
- 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
...
Overview
Content Tools