CompoundPye
0.93
Modelling and Simulation Framework for Neural Networks of Arthropod Compound Eyes
|
A widget in which the user can specify a neuron's parameters. More...
Inherits QWidget.
Public Member Functions | |
def | __init__ |
Initializes a 'PopupNeuron'-object. More... | |
def | init_UI |
Initializes all Widgets (labels,buttons,etc.) that are shown in this tab. More... | |
def | do_toggle_direction |
Toggles the direction attribute after checking/unchecking the direction checkbox. More... | |
def | do_toggle_axis |
Toggles axis attribute after checking/unchecking the axis checkbox. More... | |
def | get_attributes_state |
Parses the attributes string of a cell connecting neighbouring columns. More... | |
def | write_attributes_state |
Creates a string to store attributes in a circuit file. More... | |
def | read_combo_comp |
Read the combo specifying the Component-object to use and changes the entry in PopupNeuron.new_values accordingly. More... | |
def | read_combo_tf |
Read the combo specifying the transfer-function to use and changes the entry in PopupNeuron.new_values accordingly. More... | |
def | do_cancel |
Close the pop-up if the 'cancel'-button hit. More... | |
def | do_done |
Copies the PopupNeurons.new_values-dictionary to replace the old values-dictionary in the parent ComponentWidget's list of values if the 'done'-button is clicked. More... | |
def | set_value |
Sets the value for the given key in the PopupNeurons.values-dictionary. More... | |
A widget in which the user can specify a neuron's parameters.
Pops up when the user hits the button that shows the neuron's name.
def CompoundPye.src.GUI.circuit_editor.PopupNeuron.__init__ | ( | self, | |
parent_CompWidget | |||
) |
Initializes a 'PopupNeuron'-object.
parent_CompWidget | Requires a pointer to its parent CompWidget as input. |
def CompoundPye.src.GUI.circuit_editor.PopupNeuron.do_cancel | ( | self | ) |
Close the pop-up if the 'cancel'-button hit.
def CompoundPye.src.GUI.circuit_editor.PopupNeuron.do_done | ( | self | ) |
Copies the PopupNeurons.new_values-dictionary to replace the old values-dictionary in the parent ComponentWidget's list of values if the 'done'-button is clicked.
def CompoundPye.src.GUI.circuit_editor.PopupNeuron.do_toggle_axis | ( | self, | |
state | |||
) |
Toggles axis attribute after checking/unchecking the axis checkbox.
def CompoundPye.src.GUI.circuit_editor.PopupNeuron.do_toggle_direction | ( | self, | |
state | |||
) |
Toggles the direction attribute after checking/unchecking the direction checkbox.
def CompoundPye.src.GUI.circuit_editor.PopupNeuron.get_attributes_state | ( | self | ) |
Parses the attributes string of a cell connecting neighbouring columns.
def CompoundPye.src.GUI.circuit_editor.PopupNeuron.init_UI | ( | self | ) |
Initializes all Widgets (labels,buttons,etc.) that are shown in this tab.
def CompoundPye.src.GUI.circuit_editor.PopupNeuron.read_combo_comp | ( | self, | |
combo_str | |||
) |
Read the combo specifying the Component-object to use and changes the entry in PopupNeuron.new_values accordingly.
def CompoundPye.src.GUI.circuit_editor.PopupNeuron.read_combo_tf | ( | self, | |
combo_str | |||
) |
Read the combo specifying the transfer-function to use and changes the entry in PopupNeuron.new_values accordingly.
def CompoundPye.src.GUI.circuit_editor.PopupNeuron.set_value | ( | self, | |
key, | |||
value | |||
) |
Sets the value for the given key in the PopupNeurons.values-dictionary.
key | Key of the value that is to be changed. |
value | New value for the given key. |
def CompoundPye.src.GUI.circuit_editor.PopupNeuron.write_attributes_state | ( | self | ) |
Creates a string to store attributes in a circuit file.