<div>Hi, Michael </div>
<div> </div>
<div>Here is the code for defining my dataset. <br>-----------------------------------------------------------------------</div>
<div>import numpy as N<br>from nifti import *<br>from mvpa.suite import *<br> <br>#load nifti dataset <br>attr = SampleAttributes('post_AvB_onsets.txt')<br>dataset = NiftiDataset(samples='wrbold_25jun08MG.nii.gz', labels=attr.labels, chunks=attr.chunks, mask='mask_25jun08MG.nii.gz')<br>
</div>
<div>-----------------------------------------------------------------------------------------------------------------------</div>
<div>I'm not sure what you mean by header after the file name in nifti.NiftiImage(<PUT FILENAME OF YOUR INPUT NIFTI HERE>).header</div>
<div>I tried 'nii.gz', 'nii', and 'hdr' but they didn't work. </div>
<div>Let me know. Thanks. </div>
<div> </div>
<div> </div>
<div> </div>
<div><br> </div>
<div> </div>
<div class="gmail_quote">On Mon, Dec 29, 2008 at 10:25 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">Hi,<br>
<div>
<div></div>
<div class="Wj3C7c"><br>On Mon, Dec 29, 2008 at 10:18:42AM -0500, Yune Lee wrote:<br>> Dear pyMVPA experts,<br>> I just loaded my dataset using dataset class and python spits out the<br>> summary as belows<br>
><br>> >> Dataset / float64 405X 42696 uniq: 5 chunks 2 labels.<br>><br>> The bold nii.gz was created by concatenating 925 3D volumes (185 images per<br>> each run and there are 5 runs (185*5)).<br>
> I'm just wondering how 405X 42696 comes out from my data structure.<br>> 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> >>> import nifti<br> >>> nifti.NiftiImage(<PUT FILENAME OF YOUR INPUT NIFTI HERE>).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: 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>