NiBabel

Access a cacophony of neuro-imaging file formats

Previous topic

nibabel.nicom.csareader.nt_str

Next topic

nibabel.nicom.dicomreaders

This Page

Reggie -- the one

nibabel.nicom.csareader.read

nibabel.nicom.csareader.read(csa_str)

Read CSA header from string csa_str

Parameters :

csa_str : str

byte string containing CSA header information

Returns :

header : dict

header information as dict, where header has fields (at least) type, n_tags, tags. header['tags'] is also a dictionary with one key, value pair for each tag in the header.