Versions Compared

Key

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

...

See Package CSPadPixCoords

Example for Module CSPadPixCoords::CSPad2x2ImageProducer

See Module CSPadPixCoords::CSPad2x2ImageProducer

Example of the configuration script for psana (cspad2x2-xppi0212-r0046-test.cfg):

Code Block

[psana]
files         = /reg/d/psdm/xpp/xppi0212/xtc/e171-r0046-s04-c00.xtc
events        = 5
modules       = CSPadPixCoords.CSPad2x2ImageProducer CSPadPixCoords.SaveImageInFile

[CSPadPixCoords.CSPad2x2ImageProducer]
source         = DetInfo(:Cspad2x2)
inkey          = 
outimgkey      = Image
tiltIsApplied  = true
print_bits     = 15

[CSPadPixCoords.SaveImageInFile]
source        = DetInfo(:Cspad2x2)
key           = Image
fname         = cspad2x2
saveAll       = true
#eventSave     = 5

Command to run:
psana -c cspad2x2-xppi0212-r0046-test.cfg
One of the saved files cspad2x2-r0046-2012-04-25-212944.059955160.txt is plotted as an image by the command
./PlotCameraImageFromFile.py cspad2x2-r0046-2012-04-25-212944.059955160.txt 0 1200

Image AddedImage Added

Example for Package ImgPixSpectra

See Package ImgPixSpectra

...