Usman Sheikh
2017-11-24 12:27:08 UTC
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
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