Hi,
I am trying to make an alpha-sim from a mfALFF contrast map created by using SPM (but no REST toolbox), and always appear the same error when I try to calculate the smooth:
?? Undefined function or variable "testFlag".
Error in ==> rest_Smoothest_gui>Comput_pushbutton_Callback at 207
if strcmp(testFlag,'Z')
Error in ==> gui_mainfcn at 96
feval(varargin{:});
Error in ==> rest_Smoothest_gui at 42
gui_mainfcn(gui_State, varargin{:});
Error in ==>
@(hObject,eventdata)rest_Smoothest_gui('Comput_pushbutton_Callback',hObject,eventdata,guidata(hObject))
??? Error using ==> waitfor
Error while evaluating uicontrol Callback
However, if I make an AlphaSim from a contrast MAP obtained by using SPM, this error doesn't appears...
Does anyone know what could be happening? Thank you very much.
Andrés
Submitted by ZHANG_RESTadmin on Wed, 10/09/2013 - 22:38 Permalink
Re: AlphaSim problems
I think what you mentioned contrast MAP obtained by SPM is actually statistics MAP (i.e., either spm_T or spm_F).
For those statistical maps est smoothness will work.
However, for your mfALFF contrast map, you said you created by using SPM, I don't know how you made this. If it is a statistical map just like spm_T/F, I think it will work, but in your case, rest_Smoothest_gui can not read that information (i.e., T, F, R, or Z) from your input image. So the error came out.
I don't know how to estimate the smoothness, but after reading script, I found the reason is above.
Submitted by aguinea on Wed, 10/09/2013 - 23:24 Permalink
Re: AlphaSim problems
You are true, thank you very much. I was trying to calculate the smooth in a non-contrast map (in fact it was a con_image)
Thank you very much for your time.
Andrew
Submitted by FrancisWinland on Fri, 04/24/2015 - 00:59 Permalink
However, for beginners
statistics homework help