Versions Compared

Key

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

...

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

Example for Package CSPadPixCoords

How to write the CSPad image in text file:

Code Block

[psana]                                                               
files         = /reg/d/psdm/CXI/cxii0112/xtc/e164-r0211-s00-c00.xtc
events        = 5

modules       = cspad_mod.CsPadCalib CSPadPixCoords.CSPadImageProducer CSPadPixCoords.CSPadImageGetTest

[cspad_mod.CsPadCalib]
inputKey      = 
outputKey     = calibrated
doPedestals   = yes
doPixelStatus = no
doCommonMode  = no

#[CSPadPixCoords.CSPadInterpolImageProducer]
[CSPadPixCoords.CSPadImageProducer]
calibDir      = /reg/d/psdm/CXI/cxii0112/calib
typeGroupName = CsPad::CalibV1
source        = CxiDs1.0:Cspad.0
key           = calibrated
imgkey        = Image2D
runNumber     = 211
filter        = true
tiltIsApplied = true

[CSPadPixCoords.CSPadImageGetTest]
source        = CxiDs1.0:Cspad.0
#eventSave    = 1
saveAll       = true

Example for Package ImgPixSpectra

See Package ImgPixSpectra

...