[Neuroimaging] Help with trk saved method
Jean-Christophe Houde
jean.christophe.houde at gmail.com
Wed Sep 20 09:25:24 EDT 2017
Hi Xinying,
you should take a look at
nibabel.streamlines.save()
and
nibabel.streamlines.trk
See here:
http://nipy.org/nibabel/reference/nibabel.streamlines.html#module-nibabel.streamlines
You should have everything that you need.
2017-09-19 20:18 GMT-04:00 Xinying Wang <xinyingw at nevada.unr.edu>:
> Hello,
> Actually, I’m a PhD studnt and just have accessed with dipy 2 weeks ago in
> one of my topic. But there’s something wrong when I want to save trk file
> since the file I saved was too small(900k). I checked the API which said:
> dipy.io.trackvis.*save_trk*(filename, points, vox_to_ras, shape)
> A temporary helper function for saving trk files.
>
> This function will soon be replaced by better trk file support in nibabel.
>
>
> So could you help me solve the problem of saving the trk with nibable? I
> think may be the method of dipy has been already changed.
>
>
> Thank you and have a good day.
>
>
> -Xinying
>
>
> _______________________________________________
> Neuroimaging mailing list
> Neuroimaging at python.org
> https://mail.python.org/mailman/listinfo/neuroimaging
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/neuroimaging/attachments/20170920/5add131a/attachment.html>
More information about the Neuroimaging
mailing list