populse_mia.user_interface.data_viewer.anatomist

This is the original viewer based on Anatomist (anatomist.simpleviewer.anasimpleviewer).

class populse_mia.user_interface.data_viewer.anatomist.MiaViewer(init_global_handlers=None)[source]

Bases: DataViewer

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

This class provides a specialized viewer for displaying and managing medical imaging files with additional filtering and visualization capabilities.

Mia data viewer # noqa: E501 implementation based on PyAnatomist # noqa: E501

_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:
  • (Qt.QObject) (parent) – Parent widget to search in.

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

Return (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:

(list) (files) – List of file paths to display.

displayed_files()[source]

Get the list of currently displayed files.

Return (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:

(list) (files) – 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.

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

_abc_impl = <_abc._abc_data object>

Modules

populse_mia.user_interface.data_viewer.anatomist.mia_anatomist

Mia data viewer implementation based on Anatomist