Hi again,
I'm having issues with saving searchlight maps back to NIFTI format... I've
been using the mvpa2.datasets.mri.map2nifti module and I've tried both
map2nifti(res[1])
#and
map2nifti(res[1]).save('s1.nii.gz')
But both come back with the
AttributeError: 'DatasetAttributesCollection' object has no attribute
'mapper'
It seems that I have no mapper in my data set object - however, all I've
done on the original data set is take out some samples, z-score them, and
run an mvpa searchlight analysis with a NFoldPartitioner and Balancer
(combined into a chainNode). It seems that the dimensions of the output
data set are essentially the same, minus the fact that the number of
samples was reduced from 360 to 150 or so.
I have, been able to use the h5save() command for hdf5 files, but would
like to get it into NIFTI format so I can view the statistical maps in
AFNI.
Please let me know if you have any insights! Your help is appreciated.
Taku
--
Takuya Ito
Cognitive Control & Psychopathology Laboratory
Washington University in St. Louis
Cole Neuroscience Laboratory (http://www.mwcole.net/)
Center for Molecular and Behavioral Neuroscience (CMBN)
Rutgers-Newark University
_______________________________________________
Pkg-ExpPsy-PyMVPA mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa