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 controls the display mode . Default and ipython.

  • The default display mode is SlideShow mode

...

  • , where the plot window stays open but updates every n events. In Interactive mode, the figure window must be closed before the next event gets processed. 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.)

...

  • 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.
    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)
    

pyana_bld

This module collects data from the BeamLine Detectors (Bld) and plots them in separate windows.

...

Example of how to run this pyana module by itself, i.e. no GUI, processing 300 shots and using with a an xtcexplorer-generated config file:

...

Plots waveform data from Acqiris digitizers. Takes a list of addresses, currently will make one plot for each channel of each device.
To run this module by itself with pyana:

...

Plan to add more options.

Configurable options:

Code Block
none
none
  sources           =             # string, space-separated list of addresses (Detector-Id|Device-ID)

Example how to run this pyana module by itself, i.e. no GUI, processing 300 events and using an xtcexplorer-generated config file:

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

Or if you add "plt.ion()" to the constructor for SlideShow mode OR "plt.show()" to make_plot functions for interactive plots:

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

pyana_cspad

CsPad data is reconstructed in pyana_cspad.py.

...