pydicom.tag.Tag¶
- pydicom.tag.Tag(arg: int | str | tuple[int, int] | BaseTag, arg2: int | None = None) BaseTag [source]¶
Create a
BaseTag
.General function for creating a
BaseTag
in any of the standard forms:Tag(0x00100015)
Tag((0x10, 0x50))
Tag(0x0010, 0x0015)
Tag("PatientName")
- Parameters:
arg2 (int, optional) – The element number of the DICOM tag, required when arg only contains the group number of the tag.
- Return type: