[pymvpa] >what does 405X 42696 in the dataset mean?
Yune Lee
life1994 at gmail.com
Mon Dec 29 16:18:25 UTC 2008
Many thanks for letting me know that the firt two lines are redundent.
I'll later on just type from mvpa.suite import * only.
Any way, enclosed is the output.
Thanks,
On Mon, Dec 29, 2008 at 11:01 AM, Michael Hanke <michael.hanke at gmail.com>wrote:
> On Mon, Dec 29, 2008 at 10:37:43AM -0500, Yune Lee wrote:
> > Hi, Michael
> >
> > Here is the code for defining my dataset.
> > -----------------------------------------------------------------------
> > import numpy as N
> > from nifti import *
> > from mvpa.suite import *
> Tiny note: The last line implies the first two -- but it doesn't hurt ;-)
>
> > #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.
> Just execute this code:
>
>
> >>> import nifti
> >>> nifti.NiftiImage('wrbold_25jun08MG.nii.gz').header
>
> 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/479d06d4/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: niftiImage.JPG
Type: image/jpeg
Size: 52875 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20081229/479d06d4/attachment-0001.jpeg
More information about the Pkg-ExpPsy-PyMVPA
mailing list