[Neuroimaging] Saving and reusing ODF

Ariel Rokem arokem at gmail.com
Fri Aug 26 19:22:22 EDT 2016

Hi Enes,

On Fri, Aug 26, 2016 at 9:17 AM, Enes Albay - انس الباى <albayenes at gmail.com
> wrote:

> Hi everyone,
> Thanks for writing.

> You know that computing ODF takes long time so, I want to save computed
> odf and reuse after it. What is the best way doing this in dipy? Is there
> any special way or can I use pickle for saving odf?
The most concise way to save these is using the spherical harmonic
coefficients that are used to derive the ODF. Deriving the ODF from these
coefficients anew is not nearly as time-consuming as computing these
coefficients in the first place. I have been saving these as NiFTI files,
because this allows me to save them alongside the spatial transformation of
the data (the affine), so that doesn't get lost along the way.



> --
> Enes Albay
> _______________________________________________
> 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/20160826/aa779a9d/attachment.html>

More information about the Neuroimaging mailing list