populse_mia.user_interface.data_viewer.anatomist.mia_anatomist

Mia data viewer implementation based on Anatomist

Classes

MiaViewer([init_global_handlers])

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: DataViewer

A data viewer for Mia (Multiparametric Image Analysis) using PyAnatomist.

Mia data viewer implementation based on PyAnatomist

This 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 – Initial global handlers for Anatomist viewer.

static _find_child(parent, name)[source]

Find a child widget by name.

Parameters:
  • parent – (Qt.QObject) Parent widget to search in.

  • name – (str) Name of the child widget to find.

Returns:

(Qt.QObject) The found child widget.

_setup_ui()[source]

Set up the user interface components for the viewer.

close()[source]

Close the viewer and manage Anatomist viewer resources.

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) List of displayed file paths.

filter_documents()[source]

Open a dialog to filter and select documents for visualization.

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 – The project to set.

  • documents – (List) List of documents in the project.