[Pkg-exppsy-pynifti] PyNIfTI 0.20090303.1

Matthias Ekman matthias.ekman at googlemail.com
Sun Mar 29 14:26:11 UTC 2009


OK thanks.

I was asking, because I have strange problem with map2Nifti on OS X.
I thought it might be a bug in the previous version of PyNIfTI, but
now i figured out, that the same problem also occurs under Windows
(sorry ;-)) with the 'actual' version. On Debian everything works
fine.

so simply loading and storing your example Nifti file:

attr = SampleAttributes(os.path.join(pymvpa_dataroot, 'attributes.txt'))
dataset = NiftiDataset(samples=os.path.join(pymvpa_dataroot, 'bold.nii.gz'),
                       labels=attr.labels,
                       chunks=attr.chunks,
                       mask=os.path.join(pymvpa_dataroot, 'mask.nii.gz'))

# save
dataset.map2Nifti(dataset).save('tmp.nii.gz')

I attached a screenshot of the (weird looking) tmp.nii.gz. I am
getting the same result on Windows and OS X. Also tested with
different Nifti files.

Do you have any idea?

Cheers,
Matthias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pynifti.png
Type: image/png
Size: 2855 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-exppsy-pynifti/attachments/20090329/1e230343/attachment.png 


More information about the Pkg-exppsy-pynifti mailing list