Versions Compared

Key

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

...

For complete reference see the Doxygen documentation.

Note

Package ImgPixSpectra is available since release ana-0.4.1.
It uses classes from the package CSPadPixCoords V00-02-01 or higher
(addpkg CSPadPixCoords HEAD).

Package ImgPixSpectra is intended to accumulate the spectra for all pixels of the image array.
Different modules of this package work with different data types for detectors like CSPad, mini-CSPad, Opal, Princeton camera, etc. All modules have the same interface and the same functionality.
In the loop over events from beginJob to endJob the image pixel amplitudes are accumulated in the 2-d array,
of the shape (<number-of-pixels>, <number-of-spectral-bins>). The first parameter is defined by the image size. The second is passed as an external parameter of the psana configuration file (psana.cfg) along with minimal and maximal amplitudes. At the endJob the spectral array is saved in file with specified name. Auxiliary file with the name extension *.sha is created in order to save the shape parameters. For example, the "mini-cspad-pix-spectra.txt.sha" outpuit file contains

...