src.imagedata.formats.dicomlib package

Submodules

src.imagedata.formats.dicomlib.uid module

DICOM UID tool.

src.imagedata.formats.dicomlib.uid.get_hostid() str[source]

Return hostid of running system.

src.imagedata.formats.dicomlib.uid.get_uid() str[source]

Generator function which will return a unique UID.

src.imagedata.formats.dicomlib.uid.get_uid_for_storage_class(name) str[source]

Return DICOM UID for given DICOM Storage Class

Parameters:

name – name or UID of DICOM storage class (str)

Returns:

DICOM UID

Raises:

ValueError – When name does not match a SOP Class

src.imagedata.formats.dicomlib.uid.uid_append_instance(root, num) str[source]

Module contents