Page History
...
If you are going to use many of the translator options, it will be easier write a command line using psana-translate - a command line wrapper to the Translator.H5Output module. psana-translate is run as
psana-translate [psana arguments] --output_file=h5outfile [optional H5Output options] [--save_cfg=filename]
For example
psana-translate -v -v -n 5 /reg/d/psdm/mec/mec01/xtc/e01-r001-s0*-c0*.xtc --output_file=output.h5 --store_epics=no --Epics=exclude Control=exclude src_filter="exclude NoDetector.0.Evr.2"
would use psana options to get debugging output and only read the first 5 events from the mec01 run1 files. Then it uses translator options to exclude all epics data, as well as the Control types (Psana types that start with ControlData::ConfigV) and it excludes data coming from the src NoDetector.0.Evr.2). Note the use of double quotes to specify the multiword value for the src_filter option.
...
Overview
Content Tools