[Neuroimaging] Two (beginner) questions for DiPy

Ariel Rokem arokem at gmail.com
Mon Jan 30 17:04:58 EST 2017


Hi Benedikt,

On Mon, Jan 30, 2017 at 2:48 AM, Benedikt Wiestler <b.wiestler at tum.de>
wrote:

> Dear all,
>
> first of all thank you very much for making DiPy publicly available.
> I am new to Python and diffusion imaging (I have worked before with R and
> genetics), and have two (hopefully easy) questions:
>
> 1) As input, I have a 4D nifti image with my B0 and B1000 images stacked.
> How can I run an affine registration (for motion / eddy correction) on this
> stack, using the first B0 image as fixed image and the remaining images
> (one after another) as moving images? Or do I have to split the stack first?
> 2) How do I rotate the B-matrix after registration?
>

This function will do that:
https://github.com/nipy/dipy/blob/master/dipy/core/gradients.py#L265

Cheers,

Ariel


> Thanks a lot!
>
> Benedikt
> --
> Dr. med. Benedikt Wiestler
> Abteilung für Neuroradiologie
> Klinikum rechts der Isar, TU München
> Ismaninger Str. 22
> 81675 München
>
> _______________________________________________
> 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/20170130/b443ddb8/attachment.html>


More information about the Neuroimaging mailing list