<div>many thanks always for your help, Michael</div>
<div>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 </div>
<div>or can I also load the individual .img/.hdr (total 925files) in the python given it also supports analyze format? </div>
<div> </div>
<div>Thanks, </div>
<div>YSL</div>
<div> <br><br></div>
<div class="gmail_quote">On Fri, Dec 26, 2008 at 11:55 AM, Michael Hanke <span dir="ltr"><<a href="mailto:michael.hanke@gmail.com">michael.hanke@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="Ih2E3d">On Fri, Dec 26, 2008 at 04:12:13PM +0000, Matthew Brett wrote:<br>> Hi,<br>><br>> On Fri, Dec 26, 2008 at 3:21 PM, Yaroslav Halchenko<br>> <<a href="mailto:debian@onerussian.com">debian@onerussian.com</a>> wrote:<br>
> >> I've been using analyze format (.img/.hdr) in SPM5 installed in<br>> >> window OS and now I need to convert from analyze to nifti format in<br>> >> order to use the pyMVPA.<br>
> > you do not have to -- nifti.NiftiImage used by PyMVPA is capable of<br>> > reading analyze files. It is just that NIfTI is better ;-)<br>><br>> I assume that this is SPM's Nifti img/hdr pair though - it's an<br>
> allowable version of the nifti format where the header and data are in<br>> different files. Confusingly it has the same file names as the<br>> Analyze format...<br></div>Both. PyNIfTI uses the nifticlib reference implementation (just as FSL<br>
does). It reads plain ANALYZE (without NIfTI header extension) as<br>hdr/img file pair, as well as single file nifti (commpressed and<br>uncompressed), but also nifti file pairs (also hdr/img, and optionally<br>compressed as hdr.gz/nii.gz). The most recent version of PyNIfTI also<br>
provides memory-mapped access to uncompressed NIfTI files.<br><br>Cheers,<br>
<div class="Ih2E3d"><br>Michael<br><br>--<br>GPG key: 1024D/3144BE0F Michael Hanke<br><a href="http://apsy.gse.uni-magdeburg.de/hanke" target="_blank">http://apsy.gse.uni-magdeburg.de/hanke</a><br>ICQ: 48230050<br><br>_______________________________________________<br>
</div>
<div>
<div></div>
<div class="Wj3C7c">Pkg-ExpPsy-PyMVPA mailing list<br><a href="mailto:Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org">Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org</a><br><a href="http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa</a><br>
</div></div></blockquote></div><br>