NeuroPAL_ID Neuron GUI

Back to overview

Identification GUI Class

class Program.GUI.neuron_gui

NEURON_GUI Summary of this class goes here Detailed explanation goes here

Constructor Summary
neuron_gui(parent_gui)

NEURON_GUI Constructs a persistent instance of the neuron gui.

Inputs: - parent_gui: The gui class instance that instantiated this

object. This allows neuron-related callbacks to request certain actions to be performend by the parent_gui, such as redrawing axes.

Outputs: - obj: neuron_gui instance.

Property Summary
neurons
parent_gui
Method Summary
disable_activity_menu()

DISABLE_ACTIVITY_MENU Checks whether the activity menu is currently enabled and if so, disables it.

Inputs: - obj: neuron_gui instance.

Outputs: - obj: neuron_gui instance.

reset_gui()

RESET_GUI Resets the neuron gui back to its uninitialized state.

Inputs: - obj: identification_gui instance.

Outputs: - obj: identification_gui instance.

save_neuron_identities(id_file)

SAVE_NEURON_IDENTITIES Checks whether we have an ID file and if so, saves all neuron identities to it.

Inputs: - obj: neuron_gui instance. - id_file: Optional string/char representing a file to

which the neuron identities are to be saved.

Outputs: - obj: neuron_gui instance.

unselect_neuron(redraw_flag)

UNSELECT_NEURON Checks whether a neuron is currently selected and if so, unselects it.

Inputs: - obj: neuron_gui instance. - redraw_flag: Optional boolean indicating whether to

request that the parent class instance redraw its image. Note that Matlab buffers re-draws, so if you want them to execute in an orderly fashion, you need make just one call.

Outputs: - obj: neuron_gui instance.