[pymvpa] Mask in from_wizard generates no data.

Thomas Nickson thomas.nickson at gmail.com
Wed Dec 10 13:43:53 UTC 2014


Ah, I see what I have done now, after I loaded the fmri dataset and checked
it seems that the from_wizard function wants as input for the mask the set
of indices from the flattened mask array and I was not doing this.

I wonder if anyone knows if the numpy array function .flatten() is
equivalent to how the data mapper handles the flattening or I should do
this some other way?

Also this function is confusingly constructed. Should I restructure it so
that it just accepts nifti files? Or are people happy with it this way?

Thanks for all your help.

Tom

On Mon, Dec 8, 2014 at 10:37 AM, Thomas Nickson <thomas.nickson at gmail.com>
wrote:

> Haha, true, I didn't think of it like that.
>
> Hmm, I'm worrying now about whether I would be allowed to upload them
> publicly. I'll try my mask and some of the test data that comes with the
> package. If it still doesn't work I'll upload my code and mask. See what
> happens.
>
> Tom
>
> On Fri, Dec 5, 2014 at 1:38 PM, Yaroslav Halchenko <debian at onerussian.com>
> wrote:
>
>>
>> On Fri, 05 Dec 2014, Thomas Nickson wrote:
>>
>> >    Okay, the dataset is pretty big, about 90mb not sure how I would
>> upload
>> >    it.
>>
>> 90mb -- that is like 10 photos from modern phone? ;)
>>
>> if any difficulty with uploading to dropbox (or some institutional
>> http) etc, just send by email directly to my email address -- it should
>> be able to swallow it
>>
>> if nothing works -- we will figure out some other way, ok?
>>
>> >    Yeah, the resulting dataset that is returned by from_wizard is empty
>> but
>> >    of the correct shape.
>>
>> we will figure it out quickly when data becomes available
>> --
>> Yaroslav O. Halchenko, Ph.D.
>> http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
>> Research Scientist,            Psychological and Brain Sciences Dept.
>> Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
>> Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
>> WWW:   http://www.linkedin.com/in/yarik
>>
>> _______________________________________________
>> 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/20141210/c765280f/attachment.html>


More information about the Pkg-ExpPsy-PyMVPA mailing list