gui_pyana_control::XtcPyanaControl Class Reference

List of all members.

Public Member Functions

def __init__
def define_layout
def layout_runcontrol
def setup_gui_checkboxes
def general_tab
def bld_tab
def waveform_tab
def image_tab
def ipimb_tab
def draw_image
def scan_tab
def pyana_tab
def update_pyana_tab
def setup_gui_epics
def make_epics_window
def process_checkbox
def add_to_scan
def print_configuration
def write_configfile
def edit_configfile
def run_pyana
def quit_pyana
def suspend_pyana

Public Attributes

 detector_box_layout
 cfg_tabs_tally
 cfg_tabs
 pyana_button
 susp_button
 quit_button
 runstring_label
 proc_status
 runcontrol
 pvWindow
 pvGroupLayout

Detailed Description

Gui interface to pyana configuration & control

@see pyana
@see XtcExplorerMain

Definition at line 109 of file gui_pyana_control.py.


Member Function Documentation

def gui_pyana_control::XtcPyanaControl::__init__ (   self,
  data,
  parent = None 
)

Constructor.

@param data    object that holds information about the data
@param parent  parent widget, if any

Definition at line 119 of file gui_pyana_control.py.

def gui_pyana_control::XtcPyanaControl::add_to_scan (   self,
  box,
  modules_to_run,
  options_for_mod 
)

Definition at line 721 of file gui_pyana_control.py.

def gui_pyana_control::XtcPyanaControl::bld_tab (   self,
  mod,
  remove = False 
)

Definition at line 348 of file gui_pyana_control.py.

def gui_pyana_control::XtcPyanaControl::define_layout (   self  ) 

Main layout of Pyana Control Center

Definition at line 191 of file gui_pyana_control.py.

def gui_pyana_control::XtcPyanaControl::draw_image (   self  ) 

Definition at line 545 of file gui_pyana_control.py.

def gui_pyana_control::XtcPyanaControl::edit_configfile (   self  ) 

Definition at line 770 of file gui_pyana_control.py.

def gui_pyana_control::XtcPyanaControl::general_tab (   self  ) 

Definition at line 333 of file gui_pyana_control.py.

def gui_pyana_control::XtcPyanaControl::image_tab (   self,
  mod,
  remove = False 
)

Definition at line 414 of file gui_pyana_control.py.

def gui_pyana_control::XtcPyanaControl::ipimb_tab (   self,
  mod,
  remove = False 
)

Definition at line 436 of file gui_pyana_control.py.

def gui_pyana_control::XtcPyanaControl::layout_runcontrol (   self  ) 

Definition at line 238 of file gui_pyana_control.py.

def gui_pyana_control::XtcPyanaControl::make_epics_window (   self  ) 

Definition at line 669 of file gui_pyana_control.py.

def gui_pyana_control::XtcPyanaControl::print_configuration (   self  ) 

Definition at line 743 of file gui_pyana_control.py.

def gui_pyana_control::XtcPyanaControl::process_checkbox (   self  ) 

Process checkbox

Definition at line 699 of file gui_pyana_control.py.

def gui_pyana_control::XtcPyanaControl::pyana_tab (   self  ) 

Pyana configuration text

Definition at line 581 of file gui_pyana_control.py.

def gui_pyana_control::XtcPyanaControl::quit_pyana (   self  ) 

Kill the pyana process

Definition at line 890 of file gui_pyana_control.py.

def gui_pyana_control::XtcPyanaControl::run_pyana (   self  ) 

Run pyana

Open a dialog to allow chaging options to pyana. Wait for OK, then
run pyana with the needed modules and configurations as requested
based on the the checkboxes

Definition at line 798 of file gui_pyana_control.py.

def gui_pyana_control::XtcPyanaControl::scan_tab (   self,
  who,
  remove = False 
)

Second tab: Scan

Definition at line 550 of file gui_pyana_control.py.

def gui_pyana_control::XtcPyanaControl::setup_gui_checkboxes (   self  ) 

Draw a group of checkboxes to the GUI

Each checkbox gets connected to the function process_checkbox,
i.e., whenerver *one* checkbox is checked/unchecked, the state of 
every checkbox is investigated. Not pretty, but works OK.

Definition at line 284 of file gui_pyana_control.py.

def gui_pyana_control::XtcPyanaControl::setup_gui_epics (   self  ) 

Open a new window if epics_checkbox is checked.
If not, clear all fields and hide. 
Add checkboxes for each known epics PV channel.
connect each of these to process_checkbox

Definition at line 632 of file gui_pyana_control.py.

def gui_pyana_control::XtcPyanaControl::suspend_pyana (   self  ) 

suspend or resume the pyana process

Definition at line 922 of file gui_pyana_control.py.

def gui_pyana_control::XtcPyanaControl::update_pyana_tab (   self  ) 

Definition at line 618 of file gui_pyana_control.py.

def gui_pyana_control::XtcPyanaControl::waveform_tab (   self,
  mod,
  remove = False 
)

Would be better if this was a subtab

Definition at line 368 of file gui_pyana_control.py.

def gui_pyana_control::XtcPyanaControl::write_configfile (   self  ) 

Write the configuration text to a file. Filename is generated randomly

Definition at line 751 of file gui_pyana_control.py.


Member Data Documentation

gui_pyana_control::XtcPyanaControl::cfg_tabs

Definition at line 222 of file gui_pyana_control.py.

gui_pyana_control::XtcPyanaControl::cfg_tabs_tally

Definition at line 221 of file gui_pyana_control.py.

gui_pyana_control::XtcPyanaControl::detector_box_layout

Definition at line 216 of file gui_pyana_control.py.

gui_pyana_control::XtcPyanaControl::proc_status

Definition at line 260 of file gui_pyana_control.py.

gui_pyana_control::XtcPyanaControl::pvGroupLayout

Definition at line 686 of file gui_pyana_control.py.

gui_pyana_control::XtcPyanaControl::pvWindow

Definition at line 671 of file gui_pyana_control.py.

gui_pyana_control::XtcPyanaControl::pyana_button

Definition at line 241 of file gui_pyana_control.py.

gui_pyana_control::XtcPyanaControl::quit_button

Definition at line 252 of file gui_pyana_control.py.

gui_pyana_control::XtcPyanaControl::runcontrol

Definition at line 271 of file gui_pyana_control.py.

gui_pyana_control::XtcPyanaControl::runstring_label

Definition at line 257 of file gui_pyana_control.py.

gui_pyana_control::XtcPyanaControl::susp_button

Definition at line 246 of file gui_pyana_control.py.


The documentation for this class was generated from the following file:
Generated on 19 Dec 2016 for PSDMSoftware by  doxygen 1.4.7