Versions Compared

Key

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

...

instrument and experiment-independent path , for exampleto calibration directory and file

  • /reg/g/psdm/detector/calib

...

  • /
                                              <dettype>/<dettype>-<detid>.h5

Experiment calibration directory

experiment-dependent path to calibration directory and file

  • /reg/d/psdm/<INS>/<experiment>/calib/

...

  •                                                              <dettype>/<dettype>-<detid>.h5

Local calibration directory

local calib path to calibration directory and file

  • <path>/calib/
    assuming further structure of the calibration directory                     <dettype>/<dettype>-<detid>.h5

Direct path to calibration file

direct path to the detector calibration file

  • <path>/<dettype>-<detid>.h5

...

Code Block
<path>/calib/                                   # top calib directory
             <dettype>/                         # detector type folders
             cspad2x2/
             pnccd/
             epix100a/
             cspad/
                       <files>                  # level of files
                       <aliases1>.als           # file with a map of aliases to detector names
                       ...
                       <aliasesN>.als           # one of these files can be used to map "sources" to detector names
                       <dettype>-<detid>.h5     # files with detector-dependent calibration data
                       <dettype>-<detid>.h5

 

  • The calib directory is a top level DCS directory.
  • Detector type <dettype> folder is used to organize files under the calib directory. In case of direct access to the hdf5 file the detector type is duplicated in the name of the file.
  • Unique part of the detector name <detid> is used to assign calibration file to the particular detector version. If the detector is changing a new calibration file is created with new <detid>.
  • Information about predecessor and successor (if available) can be saved under the root level of the calibration file.
  • Current sources (ex: 'Camp.0:pnCCD.1' ) should be presented in the dictionary of aliases.

Calibration file structure

...