Versions Compared

Key

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

...

pyana -n 300 -c xb_pyana_5299.cfg -m XtcExplorer.pyana_module <xtc files>

A few words on time and performance

The explorer hasn't been optimized for speed properly, but I strive to keep the pyana examples relatively efficient. But keep in mind
that plotting with matplotlib does take a substansial amount of time. An example:

Running the explorer on a small xtc file from a XCS commissioning run, containing 1267 events, and plotting information
from two IPIMB detectors and a YAG camera image.

  • Processing all 1267 events and plotting only at the end took 7.26 s
  • Processing all 1267 events, plotting (SlideShow mode) at every 100 events took 25.6 s
  • Processing all 1267 events, plotting (SlideShow mode) at every 10 events took 197.0 s

So matplotlib drawing these plots take about 1.5 each time, quite substantial compared to 5.7 microseconds for pyana to process each event. Other types of plots may take longer to plot, e.g. larger images, waveforms, etc.