I'm so interested in the discussion, I hope you are not bored!! ;)<br><br>The output of line code you post is:<br><br>17.0 19.0<br>0.0 0.0<br>0.0 0.0<br>[and other couple of zeros!!]<br><br>So I open file as NiftiImage and append every *.img in a list and then load into a NiftiDataset!!!<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;">
<div class="im"><br>
On Tue, 29 Mar 2011, Roberto Guidotti wrote:<br>
</div><div class="im">> I haven't only my images in Talairach space after basic preprocessing<br>
> steps (time, motion correction etc.), when I load my dataset I print<br>
> scl_* values<br>
</div>from an image or from a dataset? how do you load them into a dataset?<br>
(as a list into a single dataset or as a list of datasets which you<br>
concatenate in 0.4.7 or vstack in 0.6)?<br>
<br>
what would be the output if you just run below command on your .img/.hdr<br>
files at question:<br>
<br>
for f in *.img; do python -c "import sys, nifti as n; h=n.NiftiImage(sys.argv[1]).header; print h['scl_slope'], h['scl_inter']" $f; done<br>
<div class="im"><br>
> and I have my first image with the values cited above,<br>
> and the rest with 0.0 value. After loading I have to zscore my images<br>
> and proceed with other mvpa steps. Am I wrong?<br>
<br>
</div>you are doing everything correct -- I am just trying to infer if<br>
you were were affected before by 'absent scaling' issue<br>
<div class="im"><br>
> So, I have upgraded to 0.6 version!<br>
<br>
</div>cool -- there you should be all safe. if you are still interested we<br>
could continue above discussion... or just forget -- up to you ;)<br>
<font color="#888888"><br>
--<br>
</font><div class="im">=------------------------------------------------------------------=<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>
</div><div><div></div><div class="h5">_______________________________________________<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>