Page History
...
fname
(default: "tstamp-list.txt") – output files common prefix,print_bits
(default: 0 ) – verbosity:- =0 - print nothing,
- +1 - input pars,
- +2 - event record,
- +4 - job summary,
- +8 - print summary parameters for parser.
Module ImgAlgos::ImgIntMonCorr
ImgCalib gets the image from data, normalizes it on intensity monitor data, and saves the corrected image in the event.
Functionality:
- ImgCalib uses the
source
andkey_in
parameters to get the input image (asndarray<double,2>
object), - gets and process the intensity monitors' data in accordance with configuration from file
fname_imon_cfg
, - intensity normalized image is saved in the event with key
key_out
. The type of output data is the same as the type of input data.
Module configuration parameters:
source
(default: "DetInfo(:Camera)") – source of data,key_in
(default: "calibrated") – key for input image,key_out
(default: "imon_corrected") – key for output calibrated image saved in event,fname_imon_cfg
(default: "") – input file name with intensity monitors' configuration,print_bits
(default: 0) – verbosity:- =0 - print nothing,
- +1 - input pars,
- +2 - time stamp for each event,
- +4 - intensity monitor data,
- +8 - normalization factor.
fname_imon_cfg
file content per line: source name, short name, on/off bits for 4-channels, normalization and selection, minimal, maximal and averaged intensities:
Code Block |
---|
BldInfo(FEEGasDetEnergy) FEEGasDetEnergy 1 1 1 1 0 1 3.000000 7.500000 5.250000
BldInfo(XCS-IPM-02) XCS-IPM-02 1 1 1 0 1 0 10.000000 13.000000 11.500000
BldInfo(XCS-IPM-mono) XCS-IPM-mono 1 1 1 0 0 1 14.500000 16.000000 15.250000
DetInfo(XcsBeamline.1:Ipimb.4) Ipimb.4 1 1 1 1 0 0 -1.000000 -1.000000 1.000000
DetInfo(XcsBeamline.1:Ipimb.5) Ipimb.5 1 1 1 1 0 0 -1.000000 -1.000000 1.000000
|
Module ImgAlgos::IntensityMonitorsData
This module is intended for CorAna
project.
It gets the 5 intensity monitors data (4 channels for each) and saves them in the text or binary file file_data
. Comments (or header) for this file is saved separately in file_header
. It also prints the summary parameters for parser, for example:
...
Overview
Content Tools