CompoundPye
0.93
Modelling and Simulation Framework for Neural Networks of Arthropod Compound Eyes
|
RunGUI initializes the graphical user interface, which enables the user to set all simulation parameters using this interface. More...
Public Member Functions | |
def | __init__ |
Called when creating a RunGUI-object. More... | |
def | init_GUI |
Initializes the Qt-application; creates a MotionDetectorModel.GUI.mdm_gui.MDM_GUI object. More... | |
def | apply |
Creates the Circuit (Sensors and Components) and Stimuli as specified in the respective tabs of the GUI. More... | |
def | run |
Runs the simulation with Components,Sensors and Stimuli as created in RunGUI.apply and parameters as specified in the GUI. More... | |
Public Attributes | |
once_applied | |
False until self.apply is called for the first time. More... | |
stimuli | |
RunGUI initializes the graphical user interface, which enables the user to set all simulation parameters using this interface.
The user can then run the simulation by pressing the run-button.
def cp_GUI.RunGUI.__init__ | ( | self, | |
args = [] |
|||
) |
Called when creating a RunGUI-object.
Calls RunGUI.init_GUI which initializes the Qt-based GUI.
args | Function arguments to be passed on to QtGui.QApplication. |
def cp_GUI.RunGUI.apply | ( | self | ) |
Creates the Circuit (Sensors and Components) and Stimuli as specified in the respective tabs of the GUI.
This function is executed when the user clicks the 'apply'-button of the GUI.
def cp_GUI.RunGUI.init_GUI | ( | self, | |
args | |||
) |
Initializes the Qt-application; creates a MotionDetectorModel.GUI.mdm_gui.MDM_GUI object.
args | Parameters to be passed on to QtGui.QApplication. |
def cp_GUI.RunGUI.run | ( | self | ) |
Runs the simulation with Components,Sensors and Stimuli as created in RunGUI.apply and parameters as specified in the GUI.
This function is executed when the user hits the 'run'-button in the GUI. Note that you should hit 'apply' first after each change you do in the GUI. This function calls apply only if you never hit the 'apply'-button before in the current session.
cp_GUI.RunGUI.once_applied |
False until self.apply is called for the first time.
cp_GUI.RunGUI.stimuli |