[pymvpa] How to export neighborhood relationships of NiftiDataset?

Thorsten Kranz thorstenkranz at googlemail.com
Thu Nov 10 18:38:20 UTC 2011


Exactly ;-)

2011/11/10 Matthias Ekman <matthias.ekman at googlemail.com>

> If this doesn't help, you have to apply your qform to your voxel
>> coordinates. Are you using pynifti? Then you can use the NiftiImage class
>> and the vx2q method. Hope my memory doesn't play tricks on me.
>>
>
> ...or speaking in code
>
> from nifti import *
> ni = NiftiImage('my_data')
> voxel_coords=(12,23,34)
> mni_coords=ni.vx2q(voxel_**coords)
>
>
> Best,
>  M.
>
>
>
>
> ______________________________**_________________
> Pkg-ExpPsy-PyMVPA mailing list
> Pkg-ExpPsy-PyMVPA at lists.**alioth.debian.org<Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org>
> http://lists.alioth.debian.**org/cgi-bin/mailman/listinfo/**
> pkg-exppsy-pymvpa<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20111110/d087f4e5/attachment.html>


More information about the Pkg-ExpPsy-PyMVPA mailing list