pynetdicom.dsutils.pretty_dataset¶
- pynetdicom.dsutils.pretty_dataset(ds, indent=0, indent_char=' ')¶
Return a list of pretty dataset strings.
New in version 1.5.
- Parameters
ds (pydicom.dataset.Dataset) – The dataset to beautify.
indent (int, optional) – The indentation level of the current dataset (default:
0
).indent_char (str, optional) – The character(s) to use when indenting the dataset (default
' '
).
- Returns
- Return type
list of str