<div>Hi, Michael </div>
<div>&nbsp;</div>
<div>Here&nbsp;is the code for defining my dataset. <br>-----------------------------------------------------------------------</div>
<div>import numpy as N<br>from nifti import *<br>from mvpa.suite import *<br>&nbsp;&nbsp;&nbsp; <br>#load nifti dataset&nbsp;&nbsp;&nbsp; <br>attr = SampleAttributes(&#39;post_AvB_onsets.txt&#39;)<br>dataset = NiftiDataset(samples=&#39;wrbold_25jun08MG.nii.gz&#39;, labels=attr.labels, chunks=attr.chunks, mask=&#39;mask_25jun08MG.nii.gz&#39;)<br>
</div>
<div>-----------------------------------------------------------------------------------------------------------------------</div>
<div>I&#39;m not sure what you mean by header after the file name in nifti.NiftiImage(&lt;PUT FILENAME OF YOUR INPUT NIFTI HERE&gt;).header</div>
<div>I tried &#39;nii.gz&#39;, &#39;nii&#39;, and &#39;hdr&#39;&nbsp;but&nbsp;they didn&#39;t work. </div>
<div>Let me know. Thanks. </div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><br>&nbsp;</div>
<div>&nbsp;</div>
<div class="gmail_quote">On Mon, Dec 29, 2008 at 10:25 AM, Michael Hanke <span dir="ltr">&lt;<a href="mailto:michael.hanke@gmail.com">michael.hanke@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br>
<div>
<div></div>
<div class="Wj3C7c"><br>On Mon, Dec 29, 2008 at 10:18:42AM -0500, Yune Lee wrote:<br>&gt; &nbsp;Dear pyMVPA experts,<br>&gt; &nbsp;I just loaded my dataset using dataset class and python spits out the<br>&gt; summary as belows<br>
&gt;<br>&gt; &nbsp;&gt;&gt; &nbsp;Dataset / float64 405X 42696 uniq: 5 chunks 2 labels.<br>&gt;<br>&gt; &nbsp;The bold nii.gz was created by concatenating 925 3D volumes (185 images per<br>&gt; each run and there are 5 runs (185*5)).<br>
&gt; &nbsp;I&#39;m just wondering how 405X 42696 comes out from my data structure.<br>&gt; &nbsp;Can any one explain what it means?<br></div></div>Not sure.<br><br>Which Dataset class did you use? It is probably best if you post the<br>
code snippet that you have used to load that data.<br><br>Additionally, can you please do the following in Python and post the output:<br><br>&nbsp;&gt;&gt;&gt; import nifti<br>&nbsp;&gt;&gt;&gt; nifti.NiftiImage(&lt;PUT FILENAME OF YOUR INPUT NIFTI HERE&gt;).header<br>
<br>So we can be sure what your input looks like.<br><br>Thanks,<br><br>Michael<br><br><br><br>--<br>GPG key: &nbsp;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>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>
</blockquote></div><br>