Modality Module#
Module: pyradise.data.modality
General#
The modality module provides the functionality to manage the Modality information of a
certain IntensityImage.
Fig. 7 Examples of different “modalities”.#
Class Overview#
The following class is provided by the modality module:
Class |
Description |
|---|---|
Class to identify the imaging modality and its details of a certain |
Details#
- class Modality(name)[source]#
Bases:
objectA class for identifying the imaging modality and its details.
Notes
The
Modalityclass is used to discriminate between different imaging modalities and its details (e.g. the MR-sequence (T1c or T1w)). We are aware that the name modality may be misleading and does not follow precisely the professional taxonomy of the community, but we decided to stick to it for the sake of clarity and ease of use.- Parameters:
name (str) – The name of the modality.
- classmethod get_default()[source]#
Get the default
Modality.Notes
The default
Modalityis ‘UNKNOWN’.