[pymvpa] Mask in from_wizard generates no data.

Thomas Nickson thomas.nickson at gmail.com
Thu Dec 4 17:17:45 UTC 2014


The mask is of type dtype=uint8 for the wizard and unspecified array for
the fmri.

I have loaded it from the original nifti and the fmri loader works fine. Is
it okay to use it like this? Or will I run in to trouble?

The mask for Dataset.from_wizard is just assembled by getImageData(MASK)
(which isn't very consistent) and it generates zeros. Is this correct?

For Dataset.from_wizard I tried loading it from the NIFTI but again I get
an error.

I think this is bug right?

On Thu, Dec 4, 2014 at 2:59 PM, Nick Oosterhof <n.n.oosterhof at googlemail.com
> wrote:

>
> On 04 Dec 2014, at 14:54, Thomas Nickson <thomas.nickson at gmail.com> wrote:
>
> > I tried the fmri_dataset and get the following error.
> >
> >
> ---------------------------------------------------------------------------
> > TypeError
> > […]
> >     230     # load the samples
> > --> 231     imgdata, imghdr, imgtype = _load_anyimg(samples,
> ensure=True, enforce_dim=4)
>
> What is the datatype of the mask?
> Can you try to store the mask as a NIFTI file (or make it a NIFTI image)?
> _______________________________________________
> Pkg-ExpPsy-PyMVPA mailing list
> Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20141204/18187476/attachment.html>


More information about the Pkg-ExpPsy-PyMVPA mailing list