[pymvpa] Searchlight on a vstack-ed dataset: Which imghdr to use for niftiresults?
Usman Sheikh
u.sheikh at bcbl.eu
Fri Nov 24 12:27:08 UTC 2017
Hi PyMVPA gurus,
This question more about nifiresults than it is about searchlight.
Specifically, it's about the image header in this command:
niftiresults = map2nifti(sl_map, imghdr=dataset.a.imghdr)
Let's say I create a big dataset from three of a subject's sessions, using vstack, while setting 'a' argument of the function to 'all'. This will return me a dataset with imghdr as a tuple of all three imghdrs (and imgtype and mapper and all others in the same format as well). Now if I run searchlight on this stacked dataset, which imghdr should I use to get the corresponding accuracy map in nifti format? And what problems I might face if I just select the first of all the tuples i.e. imgtype[0] and mapper[0] and so on?
Thanks in advance,
Usman Ayub Sheikh
Predoctoral Researcher
www.bcbl.eu
Legal disclaimer/Aviso legal/Lege-oharra: www.bcbl.eu/legal-disclaimer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20171124/fa8c14b2/attachment.html>
More information about the Pkg-ExpPsy-PyMVPA
mailing list