pydicom.filereader.read_file_meta_info(filename: Union[str, bytes, PathLike]) FileMetaDataset[source]

Read and return the DICOM file meta information only.

This function is meant to be used in user code, for quickly going through a series of files to find one which is referenced to a particular SOP, without having to read the entire files.