COMPASS  5.4.4
End-to-end AO simulation tool using GPU acceleration
shesha.widgets.widget_base.WidgetBase Class Reference
Inheritance diagram for shesha.widgets.widget_base.WidgetBase:
Collaboration diagram for shesha.widgets.widget_base.WidgetBase:

Public Member Functions

None __init__ (self, parent=None, hide_histograms=False)
 
None gui_timer_config (self, state)
 
None closeEvent (self, Any event)
 
None quitGUI (self, Any event=None)
 
def saveArea (self, widget, filename=None)
 METHODS #. More...
 
def showDock (self, name)
 
def restoreMyState (self, state)
 
def loadArea (self, widget=None, filename=None)
 
None addConfigFromFile (self)
 Callback when a config file is double clicked in the file browser Place the selected file name in the browsing drop-down menu, the call the self.load_config callback of the load button. More...
 
def update_displayDock (self)
 
Dock add_dispDock (self, str name, parent, str type="pg_image")
 
None load_config (self, *args, **kwargs)
 Callback when 'LOAD' button is hit. More...
 
None loadDefaultConfig (self)
 
None init_config (self)
 
None init_configThread (self)
 
None init_configFinished (self)
 
None updateDisplay (self)
 
def addSHGrid (self, pg_image, valid_sub, sspsize, pitch)
 
None printInPlace (self, str text)
 
def run (self)
 

Public Attributes

 uiBase
 
 gui_timer
 ATTRIBUTES #. More...
 
 loopLock
 
 hide_histograms
 
 area
 PYQTGRAPH DockArea INIT #. More...
 
 gridSH
 
 defaultParPath
 
 defaultAreaPath
 
 disp_checkboxes
 
 docks
 
 viewboxes
 
 imgs
 
 hists
 
 PupilLines
 
 wao_phasesgroup_cb
 
 wao_graphgroup_cb
 
 wao_imagesgroup_cb
 
 thread
 

Detailed Description

Definition at line 89 of file widget_base.py.

Constructor & Destructor Documentation

◆ __init__()

None shesha.widgets.widget_base.WidgetBase.__init__ (   self,
  parent = None,
  hide_histograms = False 
)

Definition at line 91 of file widget_base.py.

Member Function Documentation

◆ add_dispDock()

Dock shesha.widgets.widget_base.WidgetBase.add_dispDock (   self,
str  name,
  parent,
str   type = "pg_image" 
)

Reimplemented in shesha.widgets.widget_bench.widgetBenchWindow, and shesha.widgets.widget_ao.widgetAOWindow.

Definition at line 262 of file widget_base.py.

Here is the call graph for this function:

◆ addConfigFromFile()

None shesha.widgets.widget_base.WidgetBase.addConfigFromFile (   self)

Callback when a config file is double clicked in the file browser Place the selected file name in the browsing drop-down menu, the call the self.load_config callback of the load button.

Definition at line 244 of file widget_base.py.

Here is the call graph for this function:

◆ addSHGrid()

def shesha.widgets.widget_base.WidgetBase.addSHGrid (   self,
  pg_image,
  valid_sub,
  sspsize,
  pitch 
)

Definition at line 388 of file widget_base.py.

Here is the caller graph for this function:

◆ closeEvent()

None shesha.widgets.widget_base.WidgetBase.closeEvent (   self,
Any  event 
)

Definition at line 150 of file widget_base.py.

Here is the call graph for this function:

◆ gui_timer_config()

None shesha.widgets.widget_base.WidgetBase.gui_timer_config (   self,
  state 
)

Definition at line 143 of file widget_base.py.

◆ init_config()

None shesha.widgets.widget_base.WidgetBase.init_config (   self)

◆ init_configFinished()

None shesha.widgets.widget_base.WidgetBase.init_configFinished (   self)

◆ init_configThread()

None shesha.widgets.widget_base.WidgetBase.init_configThread (   self)

◆ load_config()

None shesha.widgets.widget_base.WidgetBase.load_config (   self,
args,
**  kwargs 
)

Callback when 'LOAD' button is hit.

Definition at line 311 of file widget_base.py.

Here is the caller graph for this function:

◆ loadArea()

def shesha.widgets.widget_base.WidgetBase.loadArea (   self,
  widget = None,
  filename = None 
)

Definition at line 207 of file widget_base.py.

Here is the call graph for this function:

◆ loadDefaultConfig()

None shesha.widgets.widget_base.WidgetBase.loadDefaultConfig (   self)

Definition at line 355 of file widget_base.py.

Here is the call graph for this function:

◆ printInPlace()

None shesha.widgets.widget_base.WidgetBase.printInPlace (   self,
str  text 
)

Definition at line 405 of file widget_base.py.

Here is the caller graph for this function:

◆ quitGUI()

None shesha.widgets.widget_base.WidgetBase.quitGUI (   self,
Any   event = None 
)

Definition at line 153 of file widget_base.py.

Here is the caller graph for this function:

◆ restoreMyState()

def shesha.widgets.widget_base.WidgetBase.restoreMyState (   self,
  state 
)

Definition at line 198 of file widget_base.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ run()

def shesha.widgets.widget_base.WidgetBase.run (   self)

Reimplemented in shesha.widgets.widget_bench.widgetBenchWindow, and shesha.widgets.widget_ao.widgetAOWindow.

Definition at line 409 of file widget_base.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ saveArea()

def shesha.widgets.widget_base.WidgetBase.saveArea (   self,
  widget,
  filename = None 
)

METHODS #.

Callback when a area layout file is double clicked in the file browser Place the selected file name in the browsing drop-down menu, the call the self.load_config callback of the load button.

Definition at line 175 of file widget_base.py.

◆ showDock()

def shesha.widgets.widget_base.WidgetBase.showDock (   self,
  name 
)

Definition at line 190 of file widget_base.py.

Here is the caller graph for this function:

◆ update_displayDock()

def shesha.widgets.widget_base.WidgetBase.update_displayDock (   self)

Definition at line 254 of file widget_base.py.

Here is the caller graph for this function:

◆ updateDisplay()

None shesha.widgets.widget_base.WidgetBase.updateDisplay (   self)

Reimplemented in shesha.widgets.widget_bench.widgetBenchWindow, and shesha.widgets.widget_ao.widgetAOWindow.

Definition at line 379 of file widget_base.py.

Here is the caller graph for this function:

Member Data Documentation

◆ area

shesha.widgets.widget_base.WidgetBase.area

PYQTGRAPH DockArea INIT #.

Definition at line 112 of file widget_base.py.

◆ defaultAreaPath

shesha.widgets.widget_base.WidgetBase.defaultAreaPath

Definition at line 121 of file widget_base.py.

◆ defaultParPath

shesha.widgets.widget_base.WidgetBase.defaultParPath
            CONNECTED BUTTONS                         #

Default path for config files

Definition at line 120 of file widget_base.py.

◆ disp_checkboxes

shesha.widgets.widget_base.WidgetBase.disp_checkboxes

Definition at line 134 of file widget_base.py.

◆ docks

shesha.widgets.widget_base.WidgetBase.docks

Definition at line 135 of file widget_base.py.

◆ gridSH

shesha.widgets.widget_base.WidgetBase.gridSH

Definition at line 114 of file widget_base.py.

◆ gui_timer

shesha.widgets.widget_base.WidgetBase.gui_timer

ATTRIBUTES #.

Definition at line 101 of file widget_base.py.

◆ hide_histograms

shesha.widgets.widget_base.WidgetBase.hide_histograms

Definition at line 107 of file widget_base.py.

◆ hists

shesha.widgets.widget_base.WidgetBase.hists

Definition at line 138 of file widget_base.py.

◆ imgs

shesha.widgets.widget_base.WidgetBase.imgs

Definition at line 137 of file widget_base.py.

◆ loopLock

shesha.widgets.widget_base.WidgetBase.loopLock

Definition at line 105 of file widget_base.py.

◆ PupilLines

shesha.widgets.widget_base.WidgetBase.PupilLines

Definition at line 140 of file widget_base.py.

◆ thread

shesha.widgets.widget_base.WidgetBase.thread

Definition at line 367 of file widget_base.py.

◆ uiBase

shesha.widgets.widget_base.WidgetBase.uiBase

Definition at line 94 of file widget_base.py.

◆ viewboxes

shesha.widgets.widget_base.WidgetBase.viewboxes

Definition at line 136 of file widget_base.py.

◆ wao_graphgroup_cb

shesha.widgets.widget_base.WidgetBase.wao_graphgroup_cb

Definition at line 337 of file widget_base.py.

◆ wao_imagesgroup_cb

shesha.widgets.widget_base.WidgetBase.wao_imagesgroup_cb

Definition at line 343 of file widget_base.py.

◆ wao_phasesgroup_cb

shesha.widgets.widget_base.WidgetBase.wao_phasesgroup_cb

Definition at line 332 of file widget_base.py.


The documentation for this class was generated from the following file: