Versions Compared

Key

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

...

This information can be used in analysis or presentation of this array.
A few python scripts in ImgPixSpectra/data allow to plot content of the spectral array as a 2-d plot.
Example of For example the command to plot

Code Block
ImgPixSpectra/data/PlotSpectralArrayFromFile.py mini-cspad-pix-spectra.txt

which gives images generates image for limited range of pixels for CSPad, MiniCSPad, or Camera, respectively:

For complete reference select Doxygen documentation

...

  • source (default: "CxiDs1.0:Cspad.0" ) – source of data for CSPad
  • events (default: 1<<31U ) – number of events before stop a job
  • inputKey (default: "" ) – input key for data processing stage
  • amin (default: 0. ) – minimal spectral amplitude
  • amax (default: 1000. ) – maximal spectral amplitude
  • nbins (default: 100 ) – number of bins in spectra
  • arr_fname (default: "..._spectral_array.txt" ) – putput file name

Module ImgPixSpectra::MiniCSPadPixSpectra

The only difference in interface

...

of this module from previous is in the default name for the source parameter

...

and the output file name.

...

  • source (default: "DetInfo(:Cspad2x2)" ) – source of data for MiniCSPad

Module ImgPixSpectra::CameraPixSpectra

The only difference in interface of this module from previous is in the default name for the source parameter and the output file name.

  • source (default: "DetInfo(SxrBeamline.0:Opal1000.1)" ) – source of data for Opal camera
    or
  • source (default: "DetInfo(:Princeton)" ) – source of data for Princeton camera