Hello Freesurfer Experts,
I am reposting this as this has not come up on the mail archive thread.
I keep running into the following error (see below) when selxavg3-sess gets to my third subject. I am assuming this is because this subject does not have all of the conditions modeled (that is, this particular subject does not have any incorrect responses). Is there a way to model an empty condition to get around this? I want a general contrast of Incorrect > Correct, but some subjects do not make any errors and therefore would not have this condition in their paradigm files.
Any advice would be greatly appreciated.
#@# CC_003_recon ############################### /Volumes/VA_Imaging/Projects/dmiller/COGCON/FSFAST/CC_003_recon ------------------------- $Id: fast_selxavg3.m,v 1.100 2011/03/02 16:14:38 greve Exp $ /Applications/freesurfer/fsfast/toolbox/fast_selxavg3.m /Applications/freesurfer/fsfast/toolbox/fast_ldanaflac.m /Applications/freesurfer-5.3/matlab/MRIread.m ------------------------- outtop = /Volumes/VA_Imaging/Projects/dmiller/COGCON/FSFAST Extension format = nii.gz INFO: key PerSession unrecognized, line 6, skipping INFO: key ApplySubCortMask unrecognized, line 12, skipping 1 Correct-v-Incorrect.mat 2 Incorrect-v-base.mat nruns = 4 autostimdur =
outanadir = /Volumes/VA_Imaging/Projects/dmiller/COGCON/FSFAST/CC_003_recon/Bold1/correct.sm15.mni305 Found 57600/537168 (10.7) voxels in mask Creating Design Matrix ... creation time = 0.008 sec DoMCFit = 1 ntptot = 740, nX = 27, DOF = 713 Saving X matrix to /Volumes/VA_Imaging/Projects/dmiller/COGCON/FSFAST/CC_003_recon/Bold1/correct.sm15.mni305/Xtmp.mat ??? Error using ==> svd Input to SVD must not contain NaN or Inf.
Error in ==> cond at 39 s = svd(A);
Error in ==> fast_selxavg3 at 254 XCond = cond(XtX);
ERROR: fast_selxavg3() failed\n
Thanks, Danielle
There is not a way to model empty conditions. The easiest thing to do is to just change another condition to say it is the missing condition. It should have little effect on the final results.
On 11/18/2015 02:06 PM, Danielle Miller wrote:
Hello Freesurfer Experts,
I am reposting this as this has not come up on the mail archive thread. I keep running into the following error (see below) when selxavg3-sess gets to my third subject. I am assuming this is because this subject does not have all of the conditions modeled (that is, this particular subject does not have any incorrect responses). Is there a way to model an empty condition to get around this? I want a general contrast of Incorrect > Correct, but some subjects do not make any errors and therefore would not have this condition in their paradigm files. Any advice would be greatly appreciated.
#@# CC_003_recon ############################### /Volumes/VA_Imaging/Projects/dmiller/COGCON/FSFAST/CC_003_recon
$Id: fast_selxavg3.m,v 1.100 2011/03/02 16:14:38 greve Exp $ /Applications/freesurfer/fsfast/toolbox/fast_selxavg3.m /Applications/freesurfer/fsfast/toolbox/fast_ldanaflac.m /Applications/freesurfer-5.3/matlab/MRIread.m
outtop = /Volumes/VA_Imaging/Projects/dmiller/COGCON/FSFAST Extension format = nii.gz INFO: key PerSession unrecognized, line 6, skipping INFO: key ApplySubCortMask unrecognized, line 12, skipping 1 Correct-v-Incorrect.mat 2 Incorrect-v-base.mat nruns = 4 autostimdur =
outanadir = /Volumes/VA_Imaging/Projects/dmiller/COGCON/FSFAST/CC_003_recon/Bold1/correct.sm15.mni305 Found 57600/537168 (10.7) voxels in mask Creating Design Matrix ... creation time = 0.008 sec DoMCFit = 1 ntptot = 740, nX = 27, DOF = 713 Saving X matrix to /Volumes/VA_Imaging/Projects/dmiller/COGCON/FSFAST/CC_003_recon/Bold1/correct.sm15.mni305/Xtmp.mat ??? Error using ==> svd Input to SVD must not contain NaN or Inf.
Error in ==> cond at 39 s = svd(A);
Error in ==> fast_selxavg3 at 254 XCond = cond(XtX);
ERROR: fast_selxavg3() failed\n
Thanks, Danielle
-- Ph.D. Program in Behavioral Neuroscience Boston University School of Medicine L-815 72 E. Concord St Boston, MA 02118
VA Boston Healthcare System Jamaica Plain Memory Disorders Research Center 150 South Huntington Ave D11-103 Boston, MA 02130 OFFICE:(857) 364-2130
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu