This note describes raw intensity correction algorithms in the method Detector.calib and their variation on detector type.
det.calib algorithms
Generic form of this method is
arr = det.calib(evt, cmpars=None, mbits=None, **kwargs)
Regular sequence of applied algorithms
- pedestals subtraction
- common mode correction depending on cmpars
- gain correction with gain factors from calib/.../pixel_gain
- apply mask depending on **kwargs
Mask
for all detectors excluding epix10ka and Jungfrau parameter mbits is deprecated, use **kwargs and algorithms from method mask_v2 from AreaDetector.
Spreadsheet below contains comments on detector specific application
Detector type | pedestal subtraction | common mode correction | gain | mask | comments | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
LCLS (1) | |||||||||||
CSPAD | + | + | *gainmask det.set_gain_mask_factor(gfactor=6.85) | + | gain map extracted from detector configuration data and applied with gfactor gainmask is applied before regular gain factor | ||||||
CSPAD2x2 | + | shape=(185, 388, 2) → (2, 185, 388) | shape is converted before common mode correction in order to apply regular CSPAD algorithm | ||||||||
epix100a | + | ||||||||||
pnCCD | + | ||||||||||
Camera | + | ||||||||||
epix10ka | |||||||||||
Jungfrau | |||||||||||
LCLS-II | |||||||||||
References
Overview
Content Tools