[pymvpa] Question about the searchlight example
Valentin Haenel
valentin.haenel at gmx.de
Mon Mar 30 12:56:05 UTC 2009
Hi,
there is a line in the searchlioght example that i don't understand:
this line is fine, it will convert the one dimensional sl_map back into a 3
dimensional volume.
> # map sensitivity map into original dataspace
> orig_sl_map = dataset.mapReverse(N.array(sl_map))
But what does this one do:?
> masked_orig_sl_map = N.ma.masked_array(orig_sl_map,
> mask=orig_sl_map == 0)
(Although maybe you just ought to point me in the direction of the masked array
utils in numpy:)
V-
More information about the Pkg-ExpPsy-PyMVPA
mailing list