Gains and offsets
To build gain files from PSI information, see code in
/cds/home/p/philiph/jungfrau
E.g. we have
pslogin03:~/jungfrau$ ls M354/
g0_ordered_gain.npy g2_ordered_gain.npy
g1_ordered_gain.npy gainMaps_M354_2020-01-31.bin
I use
extractGainsFromBin.py
to make the npy files.
To handle a new config object associated with the spring/summer 4M work, from
/sdf/home/p/philiph/psana/jungfrau
I've trivially updated and run
python make_calib_links.py -v 3 cxic00121 75
and
jungfrau_gain_constants -d exp=cxic00121:run=75 -s CxiDs1.0:Jungfrau.0 -D -c calib -t 20240528154000
This appears to have made the relevant links and deployed them as recorded in
/sdf/group/lcls/ds/ana/detector/gains/jungfrau/logs/2024/2024-05-28T154144_log_jungfrau_gain_constants_cxic00121-r75_philiph.txt
In the same directory, see e.g.
-rw-r--r--+ 1 philiph ec 52 Feb 12 16:37 deployDeployment_0.5M_12Feb2024.sh
-rw-r--r--+ 1 philiph ec 67 Feb 12 16:51 deployOffsets_0.5M_12Feb2024.sh
/sdf/group/lcls/ds/tools/engineering_tools/engineering_tools/scripts/makepeds_psana --experiment cxic00121 --run 80 --queue milano