populse_mia.user_interface.data_viewer.anatomist package

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

Submodules

populse_mia.user_interface.data_viewer.anatomist.mia_anatomist module

Mia data viewer implementation based on Anatomist

Contains:
Class:
  • MiaViewer

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.

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

__init__(init_global_handlers=None)[source]

Initialize the MiaViewer.

Parameters:

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