?Hi list,
I am trying to run mri_glmfit on a group of subjects using the --frame-mask flag because I want the design to be changed based on which subjects have a value at a single voxel. This is because I have one subject in my group whose signal was cut off through parts of their occipital and temporal lobes.
This is the command I am using:
mri_glmfit --y ces.nii --wls cesvar.nii --osgm --no-prune --frame-mask masks.nii --surface fsaverage rh --glmdir my-glm2.wls --nii.gz?
where masks.nii is a file that contains each individual's binary mask.
However, when I use this command, I get this error:
ERROR: MRInormWeights: value less than or eq to 0.?
which I assumed may have something to do with my ces/cesvar files being a different size than my masks file; however, all three of the files have the same dimensions (163842x1x1x26 where 26 is the number of subjects in my group)
Any idea why I am getting this error?
I also tried creating a file of binary masks by first concatenating ces.nii and cesvar.nii and binarizing it, but I am getting the same error.
Thanks!
freesurfer@nmr.mgh.harvard.edu