Page History
...
Code Block |
---|
[psana] files = /reg/d/psdm/CXI<instrument>/cxii0112<experiment>/xtc/e164<file-r0211name-s00-c001>.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<instrument>/cxii0112<experiment>/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 of the configuration script for psana (cspad2x2-xppi0212-r0046-test.cfg):
Code Block |
---|
[psana] files = /reg/d/psdm/xpp<instrument>/xppi0212<experiment>/xtc/e171<file-r0046name-s04-c001>.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<run>-<timestamp>.txt
is plotted as an image by the command
./PlotCameraImageFromFile.py cspad2x2-r0046-2012-04-25-212944.059955160<run>-<timestamp>.txt 0 1200
Example for Package ImgPixSpectra
...
Overview
Content Tools