[pymvpa] Help with map2nifti()

Yaroslav Halchenko debian at onerussian.com
Mon Nov 4 16:00:07 UTC 2013


On Mon, 04 Nov 2013, Taku Ito wrote:

>    Oh! �I did in fact have one, though it's the Zscore-mapper (I had
>    previously thought I checked 'mapper' in res[1].a, but perhaps it came out
>    incorrectly). �Though I realize Z-score mapper probably doesn't have a
>    reverse mapper, and perhaps that's the issue? �Is there a workaround you
>    may be aware of?

hm -- it should not be just a zscore mapper but rather also the ones
which lead to that point.  (flattening, feature selection (you had a
mask, right?)).  please show print ds.a.mapper and if it is indeed only
zscore -- then a code snippet  which lead to that point.  Inspect also
either you had a correct mapper right after fmri_dataset

>    Thanks!

>    On Mon, Nov 4, 2013 at 10:48 AM, Yaroslav Halchenko
>    <[1]debian at onerussian.com> wrote:

>      On Mon, 04 Nov 2013, Taku Ito wrote:

>      > � �Are all datasets supposed to have mappers? �My data set was loaded
>      > � �directly from a NIFTI file, using mvpa2.datasets.mri.fmri_dataset,
>      and
>      > � �when I loaded it there was no mapper attached,

>      it should be there under .a.mapper ... see e.g.
>      [2]http://www.pymvpa.org/tutorial_datasets.html#loading-fmri-data
>      for more information
>      > though I attributed it
>      > � �target values and chunks. �In other words, my original data set
>      also does
>      > � �not have any mappers. �Should I be manually attributing mappers to
>      my data
>      > � �set (e.g., the searchlight call or the z-scoring call) and attach
>      all
>      > � �those mappers as a Chain?

>      let's first figure out if you indeed didn't have any ;-)
-- 
Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Senior Research Associate,     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        



More information about the Pkg-ExpPsy-PyMVPA mailing list