NiBabel
Access a cacophony of neuro-imaging file formats
nibabel.gifti.parse_gifti_fast.read_data_block
-
nibabel.gifti.parse_gifti_fast.read_data_block(encoding, endian, ordering, datatype, shape, data)
Tries to unzip, decode, parse the funny string data