Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There are three different ways to load data in AMI, either through using the gui, providing a json file, or by passing command line arguments. The different methods are described below.

Command Line Configuration

Given a psana experiment and run number the xtc2 files can be loaded using the following syntax:

Code Block
ami-local psana://exp=tstx00417,run=82

Loading Data through the GUI

...


Additionally a JSON file containing a source configuration may be provided. A URI to the file where the prefix contains the source type must be passed to AMI. For example to load the above file run ami-local hdf5:///worker.json to use the psana source run ami-local psana:///worker.json. 

Command Line Configuration

Given a psana experiment and run number the xtc2 files can be loaded using the following syntax:

...

Configuration Flags

FlagDescription
intervalTime in seconds to sleep between events
init_timeTime in seconds to sleep before emitting the first event
repeatLoop over files/events after reaching end
filesComma separated list of files to load (either xtc2 or hdf5)

...