csa
Module contents
CSA headers are Siemens-specific private data elements that are embedded in some DICOM headers, specifically as the (0029, 1010)/”CSA Image Header Info” and (0029, 1020)/”CSA Series Header Info” tags. For more information see this NiBabel article.
Submodules
dicom_parser.utils.siemens.csa.ascii.element module
dicom_parser.utils.siemens.csa.ascii.header module
Definition of the CsaAsciiHeader
.
- class dicom_parser.utils.siemens.csa.ascii.header.CsaAsciiHeader(header: Union[str, bytes])
Bases:
object
Represents and handles the parsing of CSA header values returned by pydicom as bytes.
- ENCODING = 'ISO-8859-1'
The header’s ASCII-based character encoding.
- property n_slices: int
Returns the number of slices (tiles) in a mosaic.
- Returns
Number of slices encoded as a 2D mosaic
- Return type