LCLS supports a variety of area detectors, from simple monolithic CCDs to tiled gain-switching detectors that have option noise removal algorithms assigned to them.

smalldata_tools DetObject attempts to do the best for each detector type, but it is important to note that 'best' can depend on your physics through occupancy related effects.

We are using single numbers indicating what corrections should be applied, so the default behavior can be changed.

common_modeBrief DescriptionDetectorComment
-2rawepix10kfull raw
-1raw

Pulnix

Opal

Zyla, iStar

ControlsCamera

Alvium

AndOR

Fli

icarus

Cspad, cs140

epix10k

raw (epix10k gain bits masked)
0pedestal subtracted

Pulnix

Opal

Zyla, iStar

ControlsCamera

Alvium

AndOR

Fli

icarus

Cspad2M, cs140


5unbonded pixelsCsPad2M, Cs140kcmpars=(5,100)
55unbonded pixelsCs140kcmpars=(5,5000)
1asic-wise zero photon peak finding (gated mean method)CsPad2M, Cs140kcmpars=(1,25,40,100,0)
10use 1 if possible, otherwise 5CsPad2M, Cs140kcmpars=(1,25,40,100,1)
0standard gain/offset corrections,  no common modeJungfrau
7standard gain/offset corrections,  common mode in row&columnsJungfraucmpars=(7,3,100,0)
71standard gain/offset corrections,  common mode in rowsJungfraucmpars=(7,1,100,0)
72standard gain/offset corrections,  common mode in columnsJungfraucmpars=(7,2,100,0)
80standard gain/offset corrections, but no common mode

Epix10k2M

Epix10k Quad

epix10k-135

cmpars=(7,0,100)
81correction applied on det.raw was trying to replicate det.calib during early data taking - def not working for gain switching

Epix10k2M

Epix10k Quad

deprecated
82based on 81 & use of env rows unbonded pixels

Epix10k2M

Epix10k Quad

don't think this ever worked.
84standard gain/offset corrections,  common mode in rows

Epix10k2M

Epix10k Quad

epix10k-135

cmpars=(7,2,10,10)
85standard gain/offset corrections,  common mode in rows&columns

Epix10k2M

Epix10k Quad

epix10k-135

cmpars=(7,3,10,10)
180ghost corrected 80 (use only for Dec 2018 exp)Epix10k2M deprecated
181ghost corrected 81 (use only for Dec 2018 exp)Epix10k2Mdeprecated
5gated mean, rows&columnsepix100
6median after 'photon' removalepix100
45median after 'photon' removal, smalldata_tools codeepix100
46median after 'photon' removal, smalldata_tools codeepix100
98calculate common mode using unbonded rowsicarus
99calculate&apply common mode using unbonded rowsicarus
30det.calib()ALLcan change w/ release w/o notice depending on what is considered best.