pydicom.data.get_testdata_file

pydicom.data.get_testdata_file(name)

Return the first test data file path with the given name found under the pydicom test data root.

New in version 1.4.

Parameters:name (str) – The full file name (without path)
Returns:The full path of the file if found, or None.
Return type:str, None