Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

extractGainsFromBin.py

to make the npy files.

Then one can use copyToDB_2024.py - but this needs updating to work on sdf, so next time move all the above to sdf.


Gain directories in Mikhail's structure used to be built and populated using e.g.

...

Currently it's simplest to scp the files from /cds/home/p/philiph/jungfrau by hand. The directories are under

/sdf/group/lcls/ds/ana/detector/gains/jungfrau/

Thus I have done

(ana-4.0.62-py3) [philiph@sdfiana004 jungfrau]$ cp M277V3/g0_offset.npy M354V3/.

(ana-4.0.62-py3) [philiph@sdfiana004 jungfrau]$ cp M277V3/g0_offset.npy M354V3/g1_offset.npy

(ana-4.0.62-py3) [philiph@sdfiana004 jungfrau]$ cp M277V3/g0_offset.npy M354V3/g2_offset.npy

(ana-4.0.62-py3) [philiph@sdfiana004 jungfrau]$ scp psexport:/reg/g/psdm/detector/gains/jungfrau/M354/g*gain* M354V3/



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

After the new module was installed and I fixed the M354V3 directory by hand as above, I did

jungfrau_gain_constants -d exp=cxic00121:run=85 -s CxiDs1.0:Jungfrau.0 -D -c calib -t 20240701131700

which I think worked.


In the same directory, see e.g.

...