pynetdicom.dsutils.pretty_dataset#
- pynetdicom.dsutils.pretty_dataset(ds: Dataset, indent: int = 0, indent_char: str = ' ') list[str][source]#
- Return a list of pretty dataset strings. - 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 - ' ').
 
- Return type:
 
