Page History
...
Code Block |
---|
ssh -Y psana; cd <your-favorite-directory>; newrel ana-current <test-ana-current-directory>; cd <test-ana-current-directory>; sit_setup; addpkg ImgAlgos HEAD; addpkg CSPadPixCoords HEAD; addpkg pyimgalgos HEAD; addpkg XtcExplorer HEAD; scons; cp <path>/psana-meca1113-r0376-cspad-cspad2x2-tiff.cfg . psana -c psana-meca1113-r0376-cspad-cspad2x2-tiff.cfg |
...
Code Block |
---|
# Run this script: # psana -c psana-meca1113-r0376-cspad-cspad2x2-tiff.cfg # # Useful commands: # psana -m EventKeys -n 5 exp=meca1113:run=376 # or # psana -m EventKeys -n 5 /reg/d/psdm/mec/meca1113/xtc/e356-r0376-s03-c00.xtc [psana] # Default calibration directory: # calib-dir = /reg/d/psdm/mec/meca1113/calib files = exp=meca1113:run=376 events = 5 #skip-events = 0 modules = cspad_mod.CsPadCalib \ CSPadPixCoords.CSPadImageProducer:0 \ CSPadPixCoords.CSPad2x2ImageProducer:1 \ CSPadPixCoords.CSPad2x2ImageProducer:2 \ CSPadPixCoords.CSPad2x2ImageProducer:3 \ CSPadPixCoords.CSPad2x2ImageProducer:4 \ pyimgalgos.image_crop:0 \ ImgAlgos.ImgSaveInFile:0 \ ImgAlgos.ImgSaveInFile:1 \ ImgAlgos.ImgSaveInFile:2 \ ImgAlgos.ImgSaveInFile:3 \ ImgAlgos.ImgSaveInFile:4 \ ImgAlgos.Tahometer # Calibrate all CSPAD and CSPAD2x2 [cspad_mod.CsPadCalib] inputKey = outputKey = calibrated_arr doPedestals = yes doPixelStatus = no doCommonMode = yes [CSPadPixCoords.CSPadImageProducer:0] #calibDir = /reg/d/psdm/mec/meca1113/calib #typeGroupName = CsPad::CalibV1 source = DetInfo(MecTargetChamber.0:Cspad.0) key = calibrated_arr imgkey = image0 tiltIsApplied = true print_bits = 3 [CSPadPixCoords.CSPad2x2ImageProducer:1] #calibDir = /reg/d/psdm/mec/meca1113/calib #typeGroupName = CsPad2x2::CalibV1 source = DetInfo(MecTargetChamber.0:Cspad2x2.1) inkey = calibrated_arr outimgkey = image1 tiltIsApplied = true useWidePixCenter = false print_bits = 3 [CSPadPixCoords.CSPad2x2ImageProducer:2] #calibDir = /reg/d/psdm/mec/meca1113/calib #typeGroupName = CsPad2x2::CalibV1 source = DetInfo(MecTargetChamber.0:Cspad2x2.2) inkey = calibrated_arr outimgkey = image2 tiltIsApplied = true useWidePixCenter = false print_bits = 3 [CSPadPixCoords.CSPad2x2ImageProducer:3] #calibDir = /reg/d/psdm/mec/meca1113/calib #typeGroupName = CsPad2x2::CalibV1 source = DetInfo(MecTargetChamber.0:Cspad2x2.3) inkey = calibrated_arr outimgkey = image3 tiltIsApplied = true useWidePixCenter = false print_bits = 3 [CSPadPixCoords.CSPad2x2ImageProducer:4] #calibDir = /reg/d/psdm/mec/meca1113/calib #typeGroupName = CsPad2x2::CalibV1 source = DetInfo(MecTargetChamber.0:Cspad2x2.4) inkey = calibrated_arr outimgkey = image4 tiltIsApplied = true useWidePixCenter = false print_bits = 3 [pyimgalgos.image_crop:0] source = DetInfo(MecTargetChamber.0:Cspad.0) key_in = image0 key_out = image0_cropped rowmin = 70 rowmax = 900 colmin = 0 colmax = 825 print_bits = 255 [ImgAlgos.ImgSaveInFile:0] source = DetInfo(MecTargetChamber.0:Cspad.0) key = image0_cropped fname = cspad.0 #ftype = txt ftype = tiff saveAll = true print_bits = 3 #eventSave = 5 [ImgAlgos.ImgSaveInFile:1] source = DetInfo(MecTargetChamber.0:Cspad2x2.1) key = image1 fname = cspad2x2.1 #ftype = txt ftype = tiff saveAll = true print_bits = 3 #eventSave = 5 [ImgAlgos.ImgSaveInFile:2] source = DetInfo(MecTargetChamber.0:Cspad2x2.2) key = image2 fname = cspad2x2.2 #ftype = txt ftype = tiff saveAll = true print_bits = 3 #eventSave = 5 [ImgAlgos.ImgSaveInFile:3] source = DetInfo(MecTargetChamber.0:Cspad2x2.3) key = image3 fname = cspad2x2.3 #ftype = txt ftype = tiff saveAll = true print_bits = 3 #eventSave = 5 [ImgAlgos.ImgSaveInFile:4] source = DetInfo(MecTargetChamber.0:Cspad2x2.4) key = image4 fname = cspad2x2.4 #ftype = txt ftype = tiff saveAll = true print_bits = 3 #eventSave = 5 [ImgAlgos.Tahometer] dn = 100 print_bits = 7 |
...
Overview
Content Tools