Parse private Siemens CSA2 header field.
-
pydcmio.dcmreader.csa2.
get_siemens_csa2_header
(dataset_or_dcmpath)[source]¶ Return a dictionary with the Siemens CSA2 Header.
Parameters: dataset_or_dcmpath: dataset or str (mandatory)
a pydicom dataset structure or a path to a valid Dicom file.
Returns: content: dict
a dictionnary containing the Siemens CSA2 header as (tag, values) items.
-
pydcmio.dcmreader.csa2.
parse_csa2
(csa)[source]¶ Return a dictionary with the Siemens CSA2 Header.
Siemens CSA Header tag is (0x0029, 0x1020). See also http://nipy.org/nibabel/dicom/siemens_csa.html.
Parameters: csa: binary (mandatory)
the Siemens CSA2 Header.
Returns: content: dict
a dictionnary containing the Siemens CSA2 header as (tag, values) items.