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.

Examples for Package ImgPixSpectra

See Psana Module Catalog.

Modules:

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

...

  • psana.cfg - set non-default parameters to run psana for ImgAlgos::ImgPeakFinder and ImgAlgos::ImgPeakFilter
    The psana running this script saves images and peaks for event 115 in text files.
  • PlotCameraImageFromFile.py - Plots image and spectrum for image saved in file.
  • PlotCameraImageAndPeaks.py - Plots image with found peaks and spectrum.

Examples for Package ImgAlgos

See Psana Module Catalog.

Module ImgAlgos::ImgPeakFinder

See Psana Module Catalog.

  • 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.

Examples for Module ImgAlgos::CSPadArrAverage

See Psana Module Catalog

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:

Examples for Module ImgAlgos::CSPadBkgdSubtract

See Psana Module Catalog.

Example of the module application

...

Other event with better subtracted background:

Examples for Module ImgAlgos::ImgRadialCorrection

See Psana Module Catalog.

Example of the module application

...