nibabel.nicom.dicomwrappers¶
Classes to wrap DICOM objects and files
The wrappers encapsulate the capabilities of the different DICOM formats.
They also allow dictionary-like access to named fields.
For calculated attributes, we return None where needed data is missing. It seemed strange to raise an error during attribute processing, other than an AttributeError - breaking the ‘properties manifesto’. So, any processing that needs to raise an error, should be in a method, rather than in a property, or property-like thing.
Functions
|
Match if val1 and val2 are both None, or are close |
|
Create DICOM wrapper from DICOM data object |
|
Create DICOM wrapper from file_like object |
Classes
|
Class for Siemens mosaic format data |
|
Wrapper for Enhanced MR Storage SOP Class |
|
Wrapper for Siemens format DICOMs |
|
Class to wrap general DICOM files |
Exceptions
|
|
|