Well, I opened some images with MRICro, and the scaling parameters are setted like first one (17.0, 19.0) and also with SPM and Matlab I have for each image the same values. <br><br>Probably the Nifti-Python library store only the first image value for all the others, but practically I'm sure that my data are managed correctly! :)<br>
<br>RG<br><br><br><br><div class="gmail_quote">2011/3/29 Yaroslav Halchenko <span dir="ltr"><<a href="mailto:debian@onerussian.com">debian@onerussian.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
interesting how come they got different scaling parameters... I assume<br>
if prior conversion/preprocessing was somewhat uniform they all should<br>
have had either set them to some values (like the 1st one) or just to 0<br>
(like the rest). probably all others were simply resliced into the<br>
first one ;)<br>
<br>
and each image corresponds just to a single volume, thus not to a<br>
"chunk" thus previously you had 0th sample as an outlier -- its values<br>
were not scaled properly upon providing its NiftiImage into<br>
NiftiDataset. now things should be better (I hope ;) )<br>
<div class="im"><br>
<br>
On Tue, 29 Mar 2011, Roberto Guidotti wrote:<br>
<br>
</div><div class="im">> I'm so interested in the discussion, I hope you are not bored!! ;)<br>
> The output of line code you post is:<br>
> 17.0 19.0<br>
> 0.0 0.0<br>
> 0.0 0.0<br>
> [and other couple of zeros!!]<br>
> So I open file as NiftiImage and append every *.img in a list and then<br>
> load into a NiftiDataset!!!<br>
> RG<br>
</div>--<br>
<div><div></div><div class="h5">=------------------------------------------------------------------=<br>
Keep in touch <a href="http://www.onerussian.com" target="_blank">www.onerussian.com</a><br>
Yaroslav Halchenko <a href="http://www.ohloh.net/accounts/yarikoptic" target="_blank">www.ohloh.net/accounts/yarikoptic</a><br>
<br>
_______________________________________________<br>
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>