Page History
...
This algorithm is similar to one developed by Andy Salnikov and implemented in cspad_mod.CsPadCalib;in https://github.com/lcls-psana/pdscalibdata/blob/master/src/CsPadCommonModeSubV1.cpp:
- for each cspad2x1 sensor an intensity histogram is filled with pedestal-subtracted ADU values (1 bin for each possible ADU value). pixels with bad status are ignored
- 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 mean.
- if the correction is not in the allowed range, and par[4]>0.1 (see below) then the common mode value is computed from unbonded pixels (see algorithm #5)
- subtract the common mode value from all pixels in the cspad2x1
...
Overview
Content Tools