[psana] files = \ /reg/d/psdm/xpp/<experiment>/xtc/<file-1>.xtc \ /reg/d/psdm/xpp/<experiment>/xtc/<file-2>.xtc \ ... /reg/d/psdm/xpp/<experiment>/xtc/<file-N>.xtc modules = \ ImgAlgos.CameraImageProducer \ ImgAlgos.SaveImageInFile # psana_examples.DumpOpal1k \ events = 3 [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-spectra saveAll = true #eventSave = 1 |
In order to run this script, the xtc file path and names should be substituted, then use commands:
sit_setup
psana -c <the-name-of-the-configuration-file>
ndarray<double,2>
object.ndarray<double,2>
object from the event.
Then users extend this module functionality depending on their goal... |