Page History
...
Module ImgAlgos::ImgSpectra
Extracts Module mgAlgos::ImgSpectra
extracts two spectra from image and evaluate their relative difference.mgAlgos::ImgSpectra
psana module, as follows:
- gets the
ndarray<double,2>
image object from event, - selects two spectral band regions and integrates amplitudes for each column,
- saves two spectra for signal and reference bands and their relative difference as another
ndarray<double,2>
object in the event.
...
- .
Module configuration parameters:
source
(default: "DetInfo(:Opal1000)") – source of datakey_in
(default: "img") – key for input image datakey_out
(default: "spectra") – key for output array with spectrasig_band_rowc
(default: 510) – signal band central row at column=0ref_band_rowc
(default: 550) – reference ...sig_band_tilt
(default: 0) – signal band tilt angleref_band_tilt
(default: 0) – reference ...sig_band_width
(default: 10) – signal band width in number op rowsref_band_width
(default: 10) – reference ...print_bits
(default: 0) – finder verbosity:- =0 - print nothing,
- +1 - input pars,
- +2 - event record,
- +4 - image shape,
- +8 - spectral array.
See also Example for Module ImgAlgos::ImgSpectra.
Module ImgAlgos::ImgSpectraProc
...
Overview
Content Tools