...
To use the calibration information in e.g. python, one there are at least three useful methods:
- One can either read the file using numpy.loadtxt() and reshape the resulting array,
...
- To do the former, it's simplest to cd to the relevant directory (or carefully point to the path) and do what's in ~philiph/psana/detdaq21/epix10ka/dumpPedRms.py. To do the latter,
- One can use psana tools to directly access the data files, see e.g. /cds/home/p/philiph/psana/./mfxc00118/cpo/junk.py.
- Or in a psana script one can retrieve calibration information from a detector object using det.pedestals() or det.gain().
In LCLS-II, ...