In LCLS-I, given experiment and run, e.g. mfxx1005021 run 16, look at /reg/d/psdm/mfx/mfxx1005021/calib.  Under this one can find the detector type,  the detector instance (where in the hutch, which of n cameras), and under that the various sorts of calib information.

To use the calibration information in e.g. python, 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, ...

  • No labels