pydicom.data.get_testdata_files

pydicom.data.get_testdata_files(pattern: str = '**/*') List[str][source]

Return a list of absolute paths to datasets with filenames matching pattern.

Parameters

pattern (str, optional) – The pattern to pass to glob(), default ('**/*').

Returns

A list of absolute paths to matching files.

Return type

list of str