many thanks always for your help, Michael I have already preprocessed image files in analyze format. Should I just convert them into 4D nifti in SPM5 and use it in the pyMVPA or can I also load the individual .img/.hdr (total 925files) in the python given it also supports analyze format?
Thanks, YSL On Fri, Dec 26, 2008 at 11:55 AM, Michael Hanke <[email protected]>wrote: > On Fri, Dec 26, 2008 at 04:12:13PM +0000, Matthew Brett wrote: > > Hi, > > > > On Fri, Dec 26, 2008 at 3:21 PM, Yaroslav Halchenko > > <[email protected]> wrote: > > >> I've been using analyze format (.img/.hdr) in SPM5 installed in > > >> window OS and now I need to convert from analyze to nifti format in > > >> order to use the pyMVPA. > > > you do not have to -- nifti.NiftiImage used by PyMVPA is capable of > > > reading analyze files. It is just that NIfTI is better ;-) > > > > I assume that this is SPM's Nifti img/hdr pair though - it's an > > allowable version of the nifti format where the header and data are in > > different files. Confusingly it has the same file names as the > > Analyze format... > Both. PyNIfTI uses the nifticlib reference implementation (just as FSL > does). It reads plain ANALYZE (without NIfTI header extension) as > hdr/img file pair, as well as single file nifti (commpressed and > uncompressed), but also nifti file pairs (also hdr/img, and optionally > compressed as hdr.gz/nii.gz). The most recent version of PyNIfTI also > provides memory-mapped access to uncompressed NIfTI files. > > Cheers, > > Michael > > -- > GPG key: 1024D/3144BE0F Michael Hanke > http://apsy.gse.uni-magdeburg.de/hanke > ICQ: 48230050 > > _______________________________________________ > Pkg-ExpPsy-PyMVPA mailing list > [email protected] > http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa >
_______________________________________________ Pkg-ExpPsy-PyMVPA mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa

