Versions Compared

Key

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

...

Module ImgAlgos::ImgSpectra

Module mgAlgos::ImgSpectra extracts This module is motivated by the discussion with Josef Frisch, Ryan Coffee, Nick Hartmann. In xppi0412 etc. experiments they need to extract two spectra from Opal1000 camera image for signal and reference, evaluate their relative difference, and find peak position in the differential spectrum.
Module mgAlgos::ImgSpectra works as follows:

  • gets the ndarray<double,2> image object from event,
  • selects two spectral band regions and integrates amplitudes for each column (it is assumed that both spectra are oriented along the rows),
  • saves two spectra spectral arrays for signal and reference bands and their relative difference as another ndarray<double,2> object with shape (3,1024) in the event.
  • Further analytical work is assumed to be done in the next module ImgAlgos::ImgSpectraProc.

Module configuration parameters:

...