populse_mia.user_interface.data_viewer.anatomist.mia_anatomist¶
Mia data viewer implementation based on Anatomist
Classes
|
A data viewer for Mia (Multiparametric Image Analysis) using PyAnatomist. |
- class populse_mia.user_interface.data_viewer.anatomist.mia_anatomist.MiaViewer(init_global_handlers=None)[source]¶
Bases:
DataViewerA data viewer for Mia (Multiparametric Image Analysis) using PyAnatomist.
Mia data viewerimplementation based on PyAnatomistThis class provides a specialized viewer for displaying and managing medical imaging files with additional filtering and visualization capabilities.
- Contains:
- Methods:
_find_child: Find a child widget by name.
_setup_ui: Set up the user interface components for the viewer.
close: Close the viewer and manage Anatomist viewer resources.
display_files: Display the given files in the Anatomist viewer.
displayed_files: Get the list of currently displayed files.
filter_documents: Open a dialog to filter and select documents for visualization.
remove_files: Remove specified files from the viewer.
set_documents: Set the current project and documents for the viewer.
- _mia_viewers_count = 0¶
- __init__(init_global_handlers=None)[source]¶
Initialize the MiaViewer.
- Parameters:
init_global_handlers (bool) – Determines if global handlers should be initialized.
- static _find_child(parent, name)[source]¶
Find a child QObject by name.
- Parameters:
parent (Qt.QObject) – Parent QObject to search in.
name (str) – Name of the child QObject to find.
- Returns:
The found child QObject, or None if not found.
- Return type:
Qt.QObject or None
- display_files(files)[source]¶
Display the given files in the Anatomist viewer.
- Parameters:
files (list) – List of file paths to display.
- displayed_files()[source]¶
Get the list of currently displayed files.
- Returns:
List of displayed file paths.
- Return type:
- remove_files(files)[source]¶
Remove specified files from the viewer.
- Parameters:
files (list) – List of file paths to remove.
- set_documents(project, documents)[source]¶
Set the current project and documents for the viewer.
- Parameters:
project (populse_mia.data_manager.project.Project) – The project to set.
documents (list) – List of documents in the project.