neurotorchmz.plugins.trace_selector.trace_selector#

Functions

Classes

class neurotorchmz.plugins.trace_selector.trace_selector.TraceSelectorBridge(session: Session)#

Bases: object

_pipe_thread()#

Internal function as target for the pipe thread, which is handling the communication with TraceSelector via stdout

ask_for_installation() bool#

Asks the user to install TraceSelector. Returns True if it is already installed and False otherwise

ask_for_start() bool#

Asks the user to start TraceSelector and returns True if it is already running

export_roifinder_traces(detection_result: DetectionResult)#

Exports the traces in the tab ROIFinder to TraceSelector

install_trace_selector() None#

Tries to install TraceSelector via pip and subprocess

is_trace_selector_running() bool#

Returns True if TraceSelector is running and ready. Garbage collects the proc variable

kill_trace_selector()#
menu_install_click() None#
menu_test_installation_click() None#
on_tv_context_menu_created(e: SynapseTreeviewContextMenuEvent) None#
on_window_loaded(e: WindowLoadedEvent) None#
pipe_thread: Thread | None = None#
proc: Popen | None = None#
start_trace_selector()#

Attempts to start TraceSelector

test_installation() bool#

Returns True if TraceSelector is installed in the current environment

neurotorchmz.plugins.trace_selector.trace_selector.on_session_created(e: SessionCreateEvent)#