Closed ktavabi closed 6 years ago
If this works:
>>> import nibabel
>>> data = nibabel.load("example_data/lh.sig.nii.gz")
>>> data
<nibabel.nifti1.Nifti1Image object at 0x7f48f2e97b38>
But doing the same thing with your file does not, it suggests that either your data are corrupted or nibabel
can't read it for some reason.
I'd try to extract the nii.gz
file to .nii
(gunzip -k lh.sig.nii.gz
), then try loading it using nibabel
.
Instead of overlaying activation gist from example throws IO ValueError...
My Sys info...