Page History
...
Code Block |
---|
[psana] files = /reg/d/psdm/<INSTRUMENT>/<experiment>/xtc/<file-name-1>.xtc\ /reg/d/psdm/<INSTRUMENT>/<experiment>/xtc/<file-name-2>.xtc #skip-events = 100 events = 5 modules = ImgAlgos.PnccdImageProducer CSPadPixCoords.SaveImageInFile [ImgAlgos.PnccdImageProducer] source = DetInfo(:pnCCD) inkey = outimgkey = imgpnccd print_bits = 1 [CSPadPixCoords.SaveImageInFile] source = DetInfo(:pnCCD) key = imgpnccd fname = pnccd_-img_-ev saveAll = true #eventSave = 82 print_bits = 1 |
This script saves text files with images like pnccd_-img_-ev-<run-date-time.nsec>.txt
, which can be presented as:
...
Code Block |
---|
[psana] files = /reg/d/psdm/<INSTRUMENT>/<experiment>/xtc/<file-name-1>.xtc modules = ImgAlgos.CameraImageProducer ImgAlgos.SaveImageInFile events = 5 [ImgAlgos.CameraImageProducer] source = DetInfo(:Opal1000) key_in = key_out = img subtract_offset = true print_bits = 15 [ImgAlgos.SaveImageInFile] source = DetInfo(:Opal1000) key = img fname = img-from-my-experiment saveAll = true #eventSave = 1 |
This script saves text files with images like img-from-my-experiment-<run-date-time.nsec>.txt
, which can be drawn by the python script
./ImgAlgos/data/PlotCameraImageFromFile.py <filename>.txt <Amin> <Amax>
Overview
Content Tools