Page History
...
Command to run:
psana -c cspad2x2-test.cfg
One of the saved files cspad2x2-<run>-<timestamp>.txt
is plotted as an image by the command
./PlotCameraImageFromFile.py cspad2x2-<run>-<timestamp>.txt 0 1200
Configuration file for cspad2x2 with pedestal subtraction
Note | ||
---|---|---|
Access to the CSPad2x2 aligned geometry is added on 2013-02-13.
|
Example of <psana-config-file.cfg>:
Code Block |
---|
[psana]
files = /reg/d/psdm/mec/mec73313/xtc/e268-r0180-s02-c00.xtc
#calib-dir = ./calib
modules = cspad_mod.CsPadCalib CSPadPixCoords.CSPad2x2ImageProducer ImgAlgos.ImgSaveInFile
events = 5
[cspad_mod.CsPadCalib]
source = DetInfo(MecTargetChamber.0:Cspad2x2.3)
inputKey =
outputKey = calibrated_arr
doPedestals = yes
doPixelStatus = no
doCommonMode = no
[CSPadPixCoords.CSPad2x2ImageProducer]
calibDir = /reg/d/psdm/mec/mec73313/calib
typeGroupName = CsPad2x2::CalibV1
#source = DetInfo(MecTargetChamber.0:Cspad2x2.3)
source = :Cspad2x2.3
inkey = calibrated_arr
outimgkey = Image
tiltIsApplied = true
print_bits = 15
[ImgAlgos.ImgSaveInFile]
source = DetInfo(MecTargetChamber.0:Cspad2x2.3)
key = Image
fname = cspad2x2.3
saveAll = true
print_bits = 3
#eventSave = 5
|
Example for Package ImgPixSpectra
...
Overview
Content Tools