[pymvpa] >what does 405X 42696 in the dataset mean?

Yune Lee life1994 at gmail.com
Mon Dec 29 15:37:43 UTC 2008


Hi, Michael

Here is the code for defining my dataset.
-----------------------------------------------------------------------
import numpy as N
from nifti import *
from mvpa.suite import *

#load nifti dataset
attr = SampleAttributes('post_AvB_onsets.txt')
dataset = NiftiDataset(samples='wrbold_25jun08MG.nii.gz',
labels=attr.labels, chunks=attr.chunks, mask='mask_25jun08MG.nii.gz')
-----------------------------------------------------------------------------------------------------------------------
I'm not sure what you mean by header after the file name in
nifti.NiftiImage(<PUT FILENAME OF YOUR INPUT NIFTI HERE>).header
I tried 'nii.gz', 'nii', and 'hdr' but they didn't work.
Let me know. Thanks.






On Mon, Dec 29, 2008 at 10:25 AM, Michael Hanke <michael.hanke at gmail.com>wrote:

> Hi,
>
> On Mon, Dec 29, 2008 at 10:18:42AM -0500, Yune Lee wrote:
> >  Dear pyMVPA experts,
> >  I just loaded my dataset using dataset class and python spits out the
> > summary as belows
> >
> >  >>  Dataset / float64 405X 42696 uniq: 5 chunks 2 labels.
> >
> >  The bold nii.gz was created by concatenating 925 3D volumes (185 images
> per
> > each run and there are 5 runs (185*5)).
> >  I'm just wondering how 405X 42696 comes out from my data structure.
> >  Can any one explain what it means?
> Not sure.
>
> Which Dataset class did you use? It is probably best if you post the
> code snippet that you have used to load that data.
>
> Additionally, can you please do the following in Python and post the
> output:
>
>  >>> import nifti
>  >>> nifti.NiftiImage(<PUT FILENAME OF YOUR INPUT NIFTI HERE>).header
>
> So we can be sure what your input looks like.
>
> Thanks,
>
> Michael
>
>
>
> --
> GPG key:  1024D/3144BE0F Michael Hanke
> http://apsy.gse.uni-magdeburg.de/hanke
> ICQ: 48230050
>
> _______________________________________________
> Pkg-ExpPsy-PyMVPA mailing list
> Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20081229/4c62fc1e/attachment.htm 


More information about the Pkg-ExpPsy-PyMVPA mailing list