Dear freesurfer experts:
I am new to fs-fast and I am currently running sfa-sess on some retinotopy data and I think the main error is "cannot determine format of 005/f"
I read in a previous post related to retinotopy that you need to add the full path to the .nii files and then it will work.
My question is: where do you add the full path?
Many thanks,
Jason.
Error message:
sfa-sess -analysis rtopy -s jason-functional -------------------------------------------------------------- sfa-sess logfile is /usr/local/freesurfer/subjects/jason/brainmapper/log/sfa-sess-bold-rtopy-1001181608.log -------------------------------------------------------------- ------------------------------------------- /usr/local/freesurfer/subjects/jason/brainmapper/jason-functional Mon Jan 18 16:08:48 GMT 2010 INFO (jason-functional): RunList = 005 007 012 013 -------------------------------------------------- /usr/local/freesurfer/subjects/jason/brainmapper/jason-functional/bold selfreqavg -TR 1.5 -o rtopy/polar/h -i 005/f -i 007/f -i 012/f -cfg /usr/local/freesurfer/subjects/jason/brainmapper/rtopy/analysis.cfg -parname rtopy.par -------------------------------------------------- --- Parsing Config File: /usr/local/freesurfer/subjects/jason/brainmapper/rtopy/analysis.cfg ---- -ncycles 15 -delay 0 -nskip 0 -fwhm 0 DirectionList: +1 -1 +1 Warning: Unable to open display 'iconic'. You will not be able to display graphics on the screen.
< M A T L A B (R) > Copyright 1984-2009 The MathWorks, Inc. Version 7.8.0.347 (R2009a) 64-bit (glnxa64) February 12, 2009
To get started, type one of these: helpwin, helpdesk, or demo. For product information, visit www.mathworks.com.
>> >> >> >> >> >> >> >> >> >> >> >> >> >> >> Extension format = >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> nii >> >> >> >> hanrad = 0 >> >> >> >> >> >> >> >> >> >> >> >> ERROR: cannot determine >> >> >> >> >> >> >> >> >> >> >> >> format of 005/f
??? Attempt to reference field of non-structure array.
??? Attempt to reference field of non-structure array.
??? Attempt to reference field of non-structure array.
??? Attempt to reference field of non-structure array.
??? Undefined function or variable 'lastslice'.
??? Attempt to reference field of non-structure array.
??? Attempt to reference field of non-structure array.
>> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> ??? Index exceeds matrix dimensions.
>> >> ??? Attempted to access tmp(NaN); index must be a positive integer or logical.
??? Attempted to access tmp(NaN); index must be a positive integer or logical.
??? Attempted to access tmp(NaN); index must be a positive integer or logical.
??? Attempted to access tmp(NaN); index must be a positive integer or logical.
??? Attempted to access tmp(NaN); index must be a positive integer or logical.
??? Attempted to access tmp(NaN); index must be a positive integer or logical.
>> >> >> >> >> >> >> >> >> >> Slice >> ??? Undefined function or variable 'lastslice'.
??? Attempt to reference field of non-structure array.
Error in ==> MRIwrite at 94 hdr.dim = [mri.volsize(2) mri.volsize(1) mri.volsize(3) mri.nframes];
??? Attempt to reference field of non-structure array.
Error in ==> MRIwrite at 94 hdr.dim = [mri.volsize(2) mri.volsize(1) mri.volsize(3) mri.nframes];
??? Attempt to reference field of non-structure array.
Error in ==> MRIwrite at 94 hdr.dim = [mri.volsize(2) mri.volsize(1) mri.volsize(3) mri.nframes];
>> Saving header to rtopy/polar/h selfreqavg COMPLETED
mri_convert rtopy/polar/h.nii -o rtopy/polar/h-offset.nii --frame 10 mri_convert rtopy/polar/h.nii -o rtopy/polar/h-offset.nii --frame 10 niiRead(): error opening file rtopy/polar/h.nii $Id: mri_convert.c,v 1.146.2.5 2009/04/08 18:40:23 nicks Exp $ reading from rtopy/polar/h.nii...
In /usr/local/freesurfer/subjects/jason/brainmapper/jason-functional/bold/005, is there a file called f.nii?
doug
Jason Connolly wrote:
Dear freesurfer experts:
I am new to fs-fast and I am currently running sfa-sess on some retinotopy data and I think the main error is "cannot determine format of 005/f"
I read in a previous post related to retinotopy that you need to add the full path to the .nii files and then it will work.
My question is: where do you add the full path?
Many thanks,
Jason.
Error message:
sfa-sess -analysis rtopy -s jason-functional
sfa-sess logfile is /usr/local/freesurfer/subjects/jason/brainmapper/log/sfa-sess-bold-rtopy-1001181608.log
/usr/local/freesurfer/subjects/jason/brainmapper/jason-functional Mon Jan 18 16:08:48 GMT 2010 INFO (jason-functional): RunList = 005 007 012 013
/usr/local/freesurfer/subjects/jason/brainmapper/jason-functional/bold selfreqavg -TR 1.5 -o rtopy/polar/h -i 005/f -i 007/f -i 012/f -cfg /usr/local/freesurfer/subjects/jason/brainmapper/rtopy/analysis.cfg -parname rtopy.par
--- Parsing Config File: /usr/local/freesurfer/subjects/jason/brainmapper/rtopy/analysis.cfg ---- -ncycles 15 -delay 0 -nskip 0 -fwhm 0 DirectionList: +1 -1 +1 Warning: Unable to open display 'iconic'. You will not be able to display graphics on the screen.
< M A T L A B (R) > Copyright 1984-2009 The MathWorks, Inc. Version 7.8.0.347 (R2009a) 64-bit (glnxa64) February 12, 2009To get started, type one of these: helpwin, helpdesk, or demo. For product information, visit www.mathworks.com.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Extension format = >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> nii >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>> hanrad = 0 >>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>> ERROR: cannot determine >>>>>>>>>>>>>>>>>>>>>>>>> format of 005/f >>>>>>>>>>>>>>>>>>>>>>>>>
??? Attempt to reference field of non-structure array.
??? Attempt to reference field of non-structure array.
??? Attempt to reference field of non-structure array.
??? Attempt to reference field of non-structure array.
??? Undefined function or variable 'lastslice'.
??? Attempt to reference field of non-structure array.
> ??? Attempt to reference field of non-structure array. >
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ??? Index exceeds matrix dimensions. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>> ??? Attempted to access tmp(NaN); index must be a positive integer or logical. >>>>>
??? Attempted to access tmp(NaN); index must be a positive integer or logical.
??? Attempted to access tmp(NaN); index must be a positive integer or logical.
??? Attempted to access tmp(NaN); index must be a positive integer or logical.
??? Attempted to access tmp(NaN); index must be a positive integer or logical.
??? Attempted to access tmp(NaN); index must be a positive integer or logical.
>>>>>>>>>>>>>>>>>>>>> Slice >> ??? Undefined function or variable 'lastslice'. >>>>>>>>>>>>>>>>>>>>>
> ??? Attempt to reference field of non-structure array. >
Error in ==> MRIwrite at 94 hdr.dim = [mri.volsize(2) mri.volsize(1) mri.volsize(3) mri.nframes];
> ??? Attempt to reference field of non-structure array. >
Error in ==> MRIwrite at 94 hdr.dim = [mri.volsize(2) mri.volsize(1) mri.volsize(3) mri.nframes];
> ??? Attempt to reference field of non-structure array. >
Error in ==> MRIwrite at 94 hdr.dim = [mri.volsize(2) mri.volsize(1) mri.volsize(3) mri.nframes];
>>> Saving header to rtopy/polar/h >>> > selfreqavg COMPLETED >
mri_convert rtopy/polar/h.nii -o rtopy/polar/h-offset.nii --frame 10 mri_convert rtopy/polar/h.nii -o rtopy/polar/h-offset.nii --frame 10 niiRead(): error opening file rtopy/polar/h.nii $Id: mri_convert.c,v 1.146.2.5 2009/04/08 18:40:23 nicks Exp $ reading from rtopy/polar/h.nii...
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Dear all, I am trying to figure out how to bring my fMRI data from FSL to the freesurfer surface.
The way I understood it from the tutorial "3.0 Surface-based Group Functional Analysis"( http://surfer.nmr.mgh.harvard.edu/fswiki/FsTutorial/FslGroupFeat)
There are two possibilities of combining multiple runs per subject: - using mris_preproc for each run and having runs as frames in the lh.copex.mhg file - running first gfeat in FSL and registering gfeat copes to fsaverage ( Runs combined in a GFEAT within a Subject), which would result in 1-frame lh.copex.mhg file
I wonder if it is possible to say which procedure is better/more sensitive? Should the fmri data be non-smoothed before this step for both above options?
Thank you! Cheers, Aga
I have not tested the different methods to find out. I prefer the first method because it involves one fewer resampling steps. Also, if you have a newer version of freesurfer that uses BBR, then reg-feat2anat will use BBR, which will be more accurate. And do not spatially smooth your fMRI data for the surface-based processing.
doug
Agnieszka Burzynska wrote:
Dear all, I am trying to figure out how to bring my fMRI data from FSL to the freesurfer surface.
The way I understood it from the tutorial "3.0 Surface-based Group Functional Analysis"( http://surfer.nmr.mgh.harvard.edu/fswiki/FsTutorial/FslGroupFeat)
There are two possibilities of combining multiple runs per subject:
- using mris_preproc for each run and having runs as frames in the
lh.copex.mhg file
- running first gfeat in FSL and registering gfeat copes to fsaverage ( Runs
combined in a GFEAT within a Subject), which would result in 1-frame lh.copex.mhg file
I wonder if it is possible to say which procedure is better/more sensitive? Should the fmri data be non-smoothed before this step for both above options?
Thank you! Cheers, Aga
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu