<div>Many thanks for letting me know that the firt two lines are redundent. </div>
<div>I&#39;ll later on just type from mvpa.suite import * only. </div>
<div>Any way, enclosed is the output. </div>
<div>&nbsp;</div>
<div>&nbsp;Thanks, </div>
<div>&nbsp;<br><br></div>
<div class="gmail_quote">On Mon, Dec 29, 2008 at 11:01 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">
<div class="Ih2E3d">On Mon, Dec 29, 2008 at 10:37:43AM -0500, Yune Lee wrote:<br>&gt; Hi, Michael<br>&gt;<br>&gt; Here is the code for defining my dataset.<br>&gt; -----------------------------------------------------------------------<br>
&gt; import numpy as N<br>&gt; from nifti import *<br>&gt; from mvpa.suite import *<br></div>Tiny note: The last line implies the first two -- but it doesn&#39;t hurt ;-)<br>
<div class="Ih2E3d"><br>&gt; #load nifti dataset<br>&gt; attr = SampleAttributes(&#39;post_AvB_onsets.txt&#39;)<br>&gt; dataset = NiftiDataset(samples=&#39;wrbold_25jun08MG.nii.gz&#39;,<br>&gt; labels=attr.labels, chunks=attr.chunks, mask=&#39;mask_25jun08MG.nii.gz&#39;)<br>
&gt; -----------------------------------------------------------------------------------------------------------------------<br>&gt; I&#39;m not sure what you mean by header after the file name in<br>&gt; nifti.NiftiImage(&lt;PUT FILENAME OF YOUR INPUT NIFTI HERE&gt;).header<br>
&gt; I tried &#39;nii.gz&#39;, &#39;nii&#39;, and &#39;hdr&#39; but they didn&#39;t work.<br>&gt; Let me know. Thanks.<br></div>Just execute this code:<br><br><br>&nbsp;&gt;&gt;&gt; import nifti<br>&nbsp;&gt;&gt;&gt; nifti.NiftiImage(&#39;wrbold_25jun08MG.nii.gz&#39;).header<br>

<div>
<div></div>
<div class="Wj3C7c"><br>Michael<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>
</div></div></blockquote></div><br>