canns.pipeline.asa_gui.views.widgets

Reusable widgets for ASA GUI.

Submodules

Classes

ArtifactsTab

DropZone

Simple drag-and-drop target for file paths.

FileList

GridScoreTab

GridScore viewer with distribution and neuron inspector.

ImageTab

ImageViewer

Image viewer with fit-to-view, zoom (wheel), and pan (drag).

LogBox

PathCompareTab

Package Contents

class canns.pipeline.asa_gui.views.widgets.ArtifactsTab(parent=None)[source]

Bases: PySide6.QtWidgets.QWidget

set_artifacts(artifacts)[source]
btn_open_folder
files_list
class canns.pipeline.asa_gui.views.widgets.DropZone(title, hint='', parent=None)[source]

Bases: PySide6.QtWidgets.QFrame

Simple drag-and-drop target for file paths.

dragEnterEvent(event)[source]
dragLeaveEvent(event)[source]
dropEvent(event)[source]
path()[source]
set_empty_text(text)[source]
set_hint(hint)[source]
set_path(path)[source]
set_title(title)[source]
fileDropped
class canns.pipeline.asa_gui.views.widgets.FileList(parent=None)[source]

Bases: PySide6.QtWidgets.QListWidget

class canns.pipeline.asa_gui.views.widgets.GridScoreTab(title='Grid Score')[source]

Bases: PySide6.QtWidgets.QWidget

GridScore viewer with distribution and neuron inspector.

clear()[source]
get_meta_params()[source]
has_scores()[source]
load_gridscore_npz(path)[source]
set_autocorr_image(path)[source]
set_distribution_image(path)[source]
set_enabled(enabled)[source]
set_status(msg)[source]
auto_viewer
btn_next
btn_prev
btn_show
dist_header
dist_viewer
insp_header
inspectRequested
lbl_metrics
lbl_status
neuron_id
sort_combo
title = 'Grid Score'
class canns.pipeline.asa_gui.views.widgets.ImageTab(title)[source]

Bases: PySide6.QtWidgets.QWidget

set_image(path)[source]
viewer
class canns.pipeline.asa_gui.views.widgets.ImageViewer(parent=None)[source]

Bases: PySide6.QtWidgets.QGraphicsView

Image viewer with fit-to-view, zoom (wheel), and pan (drag).

mouseDoubleClickEvent(event)[source]
resizeEvent(event)[source]
set_image(path)[source]
wheelEvent(event)[source]
class canns.pipeline.asa_gui.views.widgets.LogBox(parent=None)[source]

Bases: PySide6.QtWidgets.QTextEdit

log(msg)[source]
class canns.pipeline.asa_gui.views.widgets.PathCompareTab(title='Path Compare')[source]

Bases: PySide6.QtWidgets.QWidget

set_animation(path)[source]
set_animation_progress(pct)[source]
set_artifacts(png_path, gif_path)[source]
anim_progress
btn_open_anim
gif_label
gif_view
header
png_label
png_view
splitter
title = 'Path Compare'