[pymvpa] x offset with pynifti niftiimage

Jesse Brown jbrown81 at gmail.com
Wed Nov 25 21:54:08 UTC 2009


Hi all,

I'm using pynifti's NiftiImage to write a nifti file from a NumPy array. I
am able to write nifti files fine from ndarrays ordered z,y,x. The problem
is, when I display them in fslview, they're offset on the x axis - the brain
is split in half (when displayed with the MNI152 standard space brain). This
happens whether I write the array without any header updating or if I match
the headers between the image I'm creating and the MNI152 standard space
image using UpdateFromDict. My best guess is that something with the sform
is off but I'm not certain. Any suggestions?

Thanks a lot,
Jesse Brown
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20091125/c551e4e9/attachment.htm>


More information about the Pkg-ExpPsy-PyMVPA mailing list