Page History
...
/reg/g/psdm/detector/gains/epix10k/2018-06-04-Camera1/
Control bits table
config | asicPixelConfigArray | Data | |||
---|---|---|---|---|---|
Index | Gain mode | trbit | bit4 | bit3 | bit14 |
0 | FL_L | x | 1 | 0 | 0 |
1 | FM_M | 0 | 1 | 1 | 1 |
2 | FH_H | 1 | 1 | 1 | 1 |
3 | AML_L | 0 | 0 | 0 | 0 |
4 | AML_M | 0 | 0 | 0 | 1 |
5 | AHL_L | 1 | 0 | 0 | 0 |
6 | AHL_H | 1 | 0 | 0 | 1 |
...
corrected = (raw - offset)/gain
Algorithm
- per event make <uint8 control bit array>
- convert to <array of indexes> using <control bits table>
- generate <array of gains> and <array of offsets>
- apply correction using formula
References
- https://github.com/slaclab/cac/tree/master/psana/epix10ka - scripts from Faisal
- https://pswww.slac.stanford.edu/apps/portal/index.php?exper_id=1107 - under Workflow -> Batch Processing - batch processing
- /reg/d/psdm/MFX/mfxx32516/results/abunimeh/2 - experimental and jupyter notebook scripts
...
Overview
Content Tools