Page History
...
Regular sequence of applied algorithms
- pedestals subtraction from calib/.../pedestals
- common mode correction depending on cmpars or calib/.../common_mode or default
- gain correction with gain factors from calib/.../pixel_gain
- apply mask depending on **kwargs
- regular formula: (common_mode(raw - peds))/gain * mask(**kwargs)
Mask
for all detectors excluding epix10ka and Jungfrau parameter mbits is deprecated, use **kwargs and algorithms from method mask_v2 from AreaDetector.
...
Detector type | pedestal subtraction | common mode correction | gain | mask | formula | 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 |
| pixel_gain constants are used and per event depending on gain range | (common_mode(raw - peds)/gain * mask | UtilsEpix10ka.calib_epix10ka_any(det, evt, cmpars=None, **kwa) offsets are already accounted at deployment of pedestals in calib/.../pedestals | ||||||||
Jungfrau | applied for pixels in high gain mode only in combination with mask
| pixel_gain and pixel_offset are used and per event depend on gain range | (common_mode(raw - peds - offset))/gain * mask | UtilsJungfrau.calib_jungfrau(det, evt, cmpars=(7,3,200,10), **kwa) | ||||||||
LCLS-II | ||||||||||||