Versions Compared

Key

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

To translate the detector interface, in the web portal of experiments, under configuration (for either the standard or monitoring translator) note that by default the configuration file is something like

data/Translator/automatic_translation.cfg

change this to

data/Translator/detector_xface_translation.cfg

This loads a different module to produce calibrations. Users may want to do some configuration, in which case they should copy the file

/reg/g/psdm/sw/releases/ana-current/data/Translator/detector_xface_translation.cfg

to their own file that they modify. This file provides the most current documentation for how to configure the module. It defaults to finding all area detectors and calling the 'det.image() function on them. These output images are translated. There is an option to use the det.calib function as well. The module also defaults to translating the original raw data periodically for comparison, and an option to control the array data type. Here is relevant content of the detector_xface_translation.cfg file at this point:

Code Block
languagebash
# set raw_freq to n to include standard translation of detectors n shots.
# set to 1 to include all standard, but set to 0 or something negative
# to never include standard. Use something prime in case it helps with
# time bias
raw_freq = 109
# choices for detmethod are image, calib or raw. raw will be significantly faster,
# but not include any calibrations
detmethod = image
# convert calibrated detector results to int16. Results are clipped, to if gain
# caused the dectector to go outside [-32768, 32767], those values will be clipped 
# to those boundary values. Good for filesize, but lose some precision from calibration
convert_to_int16 = False

Schema Changes

Note - the location of the calibrated output is in a different location in the hdf5 schema - below we describe this. 

Suppose we translated a run with Epix 100a and cspad2x2. If we use the hdf5 groups h5ls tool to get a listing of the h5 file, we find the following:

...