Miscellaneous (pydicom.misc)ΒΆ

Miscellaneous functions.

is_dicom(file_path)

Return True if the file at file_path is a DICOM file.

size_in_bytes(expr)

Return the number of bytes for defer_size argument in dcmread().