Dears expert,
I would like to know how can i get the transformation from trackvis to a space Freesurfer?.
I have here a link

http://surfer.nmr.mgh.harvard.edu/fswiki/FreeSurferTrackVisTransforms

But i don't understand what mean this command, how I could load the file .dtk

trk_verts_crs.xyz = trk_verts.xyz / (trkHeader.voxel_size[0], trkHeader.voxel_size[1], trkHeader.voxel_size[2])
 
and then I have a problem with this command

trk_verts_tkreg = CRS2XYZtkreg * trk_verts_crs

Could you give an example using a file .dtk?

Many thanks
Pablo