neurotorchmz.gui.tabAnalysis#

Classes

TabAnalysis(session, root, notebook)

TabAnalysis_InvalidateEvent([algorithm, ...])

Internal event to invalidate different parts of the tab

class neurotorchmz.gui.tabAnalysis.TabAnalysis(session: Session, root: Tk, notebook: Notebook)#

Bases: Tab

_canvas1_resize(event)#
canvas1_click(event)#
clear_image_plot()#
property current_input_image: ImageProperties | None#
detect() Task#
property detection_result: DetectionResult#

Convience property for self.session.roifinder_detection_result

init()#

Called by the GUI to notify the tab to generate its body

invalidate_ROIs()#
invalidate_algorithm()#
invalidate_delta_plot()#
invalidate_image()#
invalidate_selected_ROI(synapse: ISynapse | None = None, roi: ISynapseROI | None = None)#

Called by self.tvSynapses when a item is selected. If root item is selected, synapse and roi are None. If a ISynapse is selected, roi is None

invalidate_stimulation()#
plot_3D_multiframe(figure)#
show_external_plot(name: str, plotFunction)#
sliderFrame_changed()#
sliderPeak_changed()#
update_tab(event: TabUpdateEvent)#

The main function to update this tab.

class neurotorchmz.gui.tabAnalysis.TabAnalysis_InvalidateEvent(algorithm: bool = False, image: bool = False, rois: bool = False, selectedROI: bool = False, selectedROI_tuple: tuple[ISynapse | None, ISynapseROI | None] | None = None)#

Bases: TabUpdateEvent

Internal event to invalidate different parts of the tab