Page History
...
See this page: https://confluence.slac.stanford.edu/display/ppareg/ePix10K+Calibration
Per panel calibration constants
Algorithm
...
for xtc data with charge injection processing is developed by Gabriel and is wrapped in psana environment as CLI
Detector/app/epix10ka_offset_calibration
Similarly, dark run processing script is
Detector/app/epix10ka_pedestals_calibration
These commands will be available in releases > ana-1.3.58. See description using option "-h", e.g.
epix10ka_offset_calibration
-h
File naming for panel calibration repository
/reg/g/psdm/detector/gains/epix10k/panels/
- path to repository
File with aliases for long panel ids: /reg/g/psdm/detector/gains/epix10k/panels/aliases.txt
Sub-directory for particular panel id:
/reg/g/psdm/detector/gains/epix10k/panels/3791847426-0170080513-1879048214-0191557724-0003673288-2996154369-0218103833/
Sub-directories for each panel
offset
pedestals
plots
work
gain
# content will be provided by Philip
Panel calibration file name: epix10ka_0001_20180514120622_mfxx32516_r1021_pedestals_AHL-H.dat
, where
epix10ka - detector type
0001
- panel id alias as specified in/reg/g/psdm/detector/gains/epix10k/panels/aliases.txt
20180514120622
- run start time stampmfxx32516_r1021
- experiment and run for production of this constantspedestals
- constants typeAHL-H
- gain range (mode)
File with already processed arrays is saved as
.../work/epix10ka_0001_20180514120622_mfxx32516_r1021_e1107_spacing02-df.npz
, with extra fields in name,
e1107_spacing02
- experiment number and injection mode spacing.
- 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
Constants production
Detector/examples/ex_epix10ka_merge_constants.py
- generates files ./epix10k-gain(offset).txt(npy) for single segment shape (7, 1, 352, 384)
Deployed with calibman as
/reg/d/psdm/MFX/mfxx32516/calib/Epix10ka::CalibV1/MfxEndstation.0:Epix10ka.0/pixel_gain/0-end.data
/reg/d/psdm/MFX/mfxx32516/calib/Epix10ka::CalibV1/MfxEndstation.0:Epix10ka.0/pixel_offset/0-end.data
Pedestal Deployment Meeting Notes (8/2/18)
...
- 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
- ePix10K Calibration, by Gabriel Blaj
e1107_spacing02