NeuroPAL_ID Identification GUI

Back to overview

Identification GUI Class

class Program.GUI.identification_gui

IDENTIFICATION_GUI Summary of this class goes here Detailed explanation goes here

Constructor Summary
identification_gui(path)

IDENTIFICATION_GUI Constructs a persistent instance of the identification gui.

Inputs: - path (Optional): string/char representing the path of

a file to be loaded into the gui.

Outputs: - obj: identification_gui instance.

Property Summary
is_opening_file

Boolean indicating whether we are currently opening a file.

neuron_gui

Instance of the neuron_gui class.

valid_image_formats
Method Summary
static enable_gui()

ENABLE_GUI Renders ID tab visible and enables its various gui components.

Inputs: - obj: identification_gui instance.

open_file(path)

OPEN_FILE Loads a given file into the identification gui.

Inputs: - obj: identification_gui instance. - path: Optional string/char representing a file path.

Outputs: - code: Boolean describing whether the file was loaded

successfully (true) or not (false).

static validate_worm_properties(worm_struct)

Initialize is_valid_worm.