[pymvpa] How to export neighborhood relationships of NiftiDataset?
冯璐
fenglu at fingerpass.net.cn
Fri Nov 11 01:58:08 UTC 2011
Dear Matthias and Thorsten,
Thank you for helping me~~ I have check the voxel coordinates and
MNI coordinates in FSLView, but not quite sure about it. Your words confirm
my postulation. And I'll try the codes later.
Thank you so much.
Best wishes!
Lu FENG
fenglu at fingerpass.net.cn
-----Original Message-----
From:
pkg-exppsy-pymvpa-bounces+fenglu=fingerpass.net.cn at lists.alioth.debian.org
[mailto:pkg-exppsy-pymvpa-bounces+fenglu=fingerpass.net.cn at lists.alioth.debi
an.org] On Behalf Of Matthias Ekman
Sent: 2011年11月11日 1:56
To: pkg-exppsy-pymvpa at lists.alioth.debian.org
Subject: Re: [pymvpa] How to export neighborhood relationships of
NiftiDataset?
> 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
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 6618 (20111110) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 6618 (20111110) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 6618 (20111110) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
More information about the Pkg-ExpPsy-PyMVPA
mailing list