Versions Compared

Key

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

...

This page provides examples for selected modules from Psana Module Catalog. Only the modules that are included in the standard analysis releases appear on this page.

...

Example for Package ImgPixSpectra

Modules:

  • ImgPixSpectra::CSPadPixSpectra
  • ImgPixSpectra::MiniCSPadPixSpectra
  • ImgPixSpectra::CameraPixSpectra

...

Examples for Package ImgAlgos

Example for Module ImgAlgos::ImgPeakFinder

  • This algorithm consumes ~15 ms/event on psana0101 for full Opal1000 (1024x1024) camera image.
  • Smearing algorithm use a "safety margin" which is currently set to 10 pixels (offset from each boarder of the full image size).

...

  1. raw image,
  2. image in the window with amplitudes above the threshold_low
    • few peaks at the edges were discarded by the window limits,
    • image still contains many 1-photon pixels, which need to be eliminated,
  3. smeared image,
  4. raw image with found peaks (marked by the red circles)
  5. zoom of the previous plot.

...

Example for Module ImgAlgos::CSPadArrAverage

Example of the configuration file for evaluation of pedestals:

...

Images of the CSPad arrays for averaged and rms values, respectively, in one of the CXI runs:

...

Example for Module ImgAlgos::CSPadBkgdSubtract

...

The file with the background array, bkgd_fname, was obtained by averaging 1000 events using module CSPadArrAverage. Subtraction is done with normalization for norm_sector=0.
Event image and pixel amplitude spectrum before and after the background subtraction are shown in plots:

Other event with better subtracted background:

...

Example for Module ImgAlgos::ImgRadialCorrection

...

Calibrated image and spectrum:

...