dosma.NiftiWriter
- class dosma.NiftiWriter[source]
A class for writing volumes in NIfTI format.
- Variables
data_format_code (ImageDataFormat) – The supported image data format.
- __init__()
Methods
__init__()load_state_dict(state_dict)Loads the state dictionary into the object.
save(volume, file_path)Save volume in NIfTI format,
state_dict()Returns the state dictionary for an object.
write(volume, file_path)Save volume in NIfTI format,
Attributes
data_format_code