pydicom.datadict.dictionary_keyword¶
-
pydicom.datadict.
dictionary_keyword
(tag)¶ Return the keyword of the element corresponding to tag.
Only performs the lookup for official DICOM elements.
Parameters: tag (int) – The tag for the element whose keyword is being retrieved. Returns: The keyword of the corresponding element. Return type: str Raises: KeyError
– If the tag is not present in the DICOM data dictionary.