NiBabel

Access a cacophony of neuro-imaging file formats

Previous topic

nibabel.parrec.PARRECImage

Next topic

nibabel.trackvis.aff_from_hdr

This Page

Reggie -- the one

nibabel.trackvisΒΆ

Read and write trackvis files

Inheritance diagram of nibabel.trackvis

Functions

aff_from_hdr(trk_hdr[, atleast_v2]) Return voxel to mm affine from trackvis header
aff_to_hdr(affine, trk_hdr[, pos_vox, set_order]) Set affine affine into trackvis header trk_hdr
empty_header([endianness, version]) Empty trackvis header
read(fileobj[, as_generator, points_space]) Read trackvis file, return streamlines, header
write(fileobj, streamlines[, hdr_mapping, ...]) Write header and streamlines to trackvis file fileobj

Classes

TrackvisFile(streamlines[, mapping, ...]) Convenience class to encapsulate trackvis file information

Exceptions

TrackvisFile(streamlines[, mapping, ...]) Convenience class to encapsulate trackvis file information