Dataset Utilities (pynetdicom.dsutils)

This module provides DICOM Dataset related utilities.

Encoding and Decoding

encode(ds, is_implicit_vr, is_little_endian)

Encode a pydicom Dataset ds.

decode(bytestring, is_implicit_vr, ...[, ...])

Decode bytestring to a pydicom Dataset.

Miscellaneous

pretty_dataset(ds[, indent, indent_char])

Return a list of pretty dataset strings.

pretty_element(elem)

Return a pretty element string.