[pymvpa] How to export neighborhood relationships of NiftiDataset?

Matthias Ekman matthias.ekman at googlemail.com
Thu Nov 10 17:56:14 UTC 2011


> 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.





More information about the Pkg-ExpPsy-PyMVPA mailing list