Versions Compared

Key

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

...

This module is added to the end of the job, after other modules. It does nothing (yet) than control controls the display mode. Default is SlideShow mode. There's also a handle to allow you to use ipython at the end of the job (or after each plot) to investigate your plottet arrays further. This is not functional yet. . The other modules are set up to work with this one, but should with minor modifications also run fine without it. (The minor modifications would be to issue a "plt.ion()" before the figures are created or replace "plt.draw()" with "plt.show()" to make sure the plot windows stay open.)

Code Block
none
none
  display_mode      = 2           #  Interactive (1) or SlideShow (2) or NoDisplay (0)
  ipython           = False       #  Drop into ipython after each plot (to allow further investigation of data)

...

This module collects data from the BeamLine Detectors (Bld) and plots them in separate windows. In SlideMode, the plots accumulate from one plot to the next.
To run this pyana module by itself with pyana:, i.e. no GUI, processing 300 shots and using with a xtcexplorer-generated config file:

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

Code Block
none
none
 do_ebeam           = False       #  Plot data from EBeam object
 do_gasdetector     = False       #  Plot data from GasDetector
 do_phasecavity     = False       #  Plot data from PhaseCavity
 do_ipimb           = False       #  Plot data from SharedIpimb

...