Versions Compared

Key

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

...

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 data
  • key_in (default: "img") – key for input image data
  • key_out (default: "spectra") – key for output array with spectra
  • sig_band_rowc (default: 510) – signal band central row at column=0
  • ref_band_rowc (default: 550) – reference ...
  • sig_band_tilt (default: 0) – signal band tilt angle
  • ref_band_tilt (default: 0) – reference ...
  • sig_band_width (default: 10) – signal band width in number op rows
  • ref_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

...