dicomifier.dicom_to_nifti.siemens#

dicomifier.dicom_to_nifti.siemens.parse_ascconv(mr_phoenix_protocol)#

Return the acquisition settings stored in the ASCCONV section of the MrPhoenixProtocol field stored in the CSA headers.

dicomifier.dicom_to_nifti.siemens.parse_csa(csa)#

Return a dictionary of (tag, items) of the CSA.

dicomifier.dicom_to_nifti.siemens.parse_element(csa, start)#

Return a pair (name, items), total_size

dicomifier.dicom_to_nifti.siemens.parse_item(csa, start)#

Return a pair content, size

dicomifier.dicom_to_nifti.siemens.parse_protocol(data)#

Parse (as a nested dictionary) the ASCII version of protocol data.