digraph inheritance456d7918c0 { rankdir=LR; ratio=compress; fontsize=14; size="6.0, 8.0"; "TrackvisFile" [shape=ellipse,URL="#nibabel.trackvis.TrackvisFile",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=14,color=dodgerblue1,style=filled,tooltip="Convenience class to encapsulate trackvis file information",height=0.75]; }
Convenience class to encapsulate trackvis file information
Parameters: | streamlines : sequence
mapping : None or mapping
endianness : {None, ‘<’, ‘>’}
filename : None or str, optional
points_space : {None, ‘voxel’, ‘rasmm’}, optional
affine : None or (4,4) ndarray, optional
|
---|
Get affine from header in object
Returns: | aff : (4,4) ndarray
atleast_v2 : None or bool, optional
|
---|
Notes
This method currently works for trackvis version 1 headers, but we consider it unsafe for version 1 headers, and in future versions of nibabel we will raise an error for trackvis headers < version 2.
Set affine affine into trackvis header
Affine is mapping from voxel space to Nifti RAS) output coordinate system convention; x: Left -> Right, y: Posterior -> Anterior, z: Inferior -> Superior. Sets affine if possible, and voxel sizes, and voxel axis ordering.
Parameters: | affine : (4,4) array-like
pos_vos : None or bool, optional
set_order : None or bool, optional
|
---|---|
Returns: | None : |