Dear SPMers,
I've recently encountered an error in SPM2 during estimation. The error I
get is:
------------------------------------------------------------------
Warning:
c is not a proper contrast in +c->Tsp in spm_SpUtil
!!! projecting...
> In spm_SpUtil at 323
In spm_FcUtil at 264
In spm_spm at 868
In wfu_spm_getSPM2_conj at 207
In spm_getSPM at 14
In spm_results_ui at 260
from
c =
1 0
0 1
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
to
c =
1.0000 0
0 1.0000
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
??? Error using ==> svd
NaN or Inf prevents convergence.
Error in ==> spm_sp>sf_set at 1122
[x.u, s, x.v] = svd(full(X),0);
Error in ==> spm_sp at 221
varargout = {sf_set(X)};
Error in ==> spm_SpUtil at 437
varargout = { spm_sp('r:',spm_sp('set',c0),c1) };
Error in ==> spm_FcUtil at 263
Fc.c = spm_SpUtil('i0->c',sX,iX0);
Error in ==> spm_spm at 868
xCon(end + 1) = spm_FcUtil('Set',Fcname,'F','iX0',iX0,xX.xKXs);
Error in ==> wfu_spm_getSPM2_conj at 207
[SPM] = spm_spm(SPM);
Error in ==> spm_getSPM at 14
[SPM,xSPM] = wfu_spm_getSPM2_conj;
Error in ==> spm_results_ui at 260
[SPM,xSPM] = spm_getSPM;
??? Error while evaluating uicontrol Callback.
SPM2: spm_spm (v2.66) 12:15:49 - 26/07/2006
========================================================================
str =
Overwriting old results
(pwd = /fmri/data3/phil/qc/TRtest_07_19_06/a033_motor_run2)
Warning: Overwriting old results
(pwd = /fmri/data3/phil/qc/TRtest_07_19_06/a033_motor_run2)
> In spm_spm at 327
Initialising parameters :
...computingWarning: The argument for the %s format specifier must be of
type char (a ...done
Output images :
...initialisingWarning: The argument for the %s format specifier must be of
type char (a ...initialised
Plane 1/69 , block 1/12 :
Warning: The argument for the %s format specifier must be of type char (a
...read & mask data
[Portions deleted]
??? Error using ==> svd
NaN or Inf prevents convergence.
Error in ==> spm_sp>sf_set at 1122
[x.u, s, x.v] = svd(full(X),0);
Error in ==> spm_sp at 221
varargout = {sf_set(X)};
Error in ==> spm_SpUtil at 437
varargout = { spm_sp('r:',spm_sp('set',c0),c1) };
Error in ==> spm_FcUtil at 263
Fc.c = spm_SpUtil('i0->c',sX,iX0);
Error in ==> spm_spm at 868
xCon(end + 1) = spm_FcUtil('Set',Fcname,'F','iX0',iX0,xX.xKXs);
??? Error while evaluating uicontrol Callback.
>>
-------------------------------------------------------------------------------
The most curious part is that I've been doing the same things for months,
without this error. As far as I know, nothing with our machines have
changed (matlab V 7.0.4.352 sp2 running on red hat 8) and I have been able
to replicate the error with data that was successfully analyzed previously.
I've also replicated the error on a machine with a different copy of spm.
I've searched the archives and found someone else who reported the same
problem (as posted below), but I can't find a solution. Any help would be
greatly appreciated.
Thanks in advance,
Phil
On Fri, 26 Aug 2005 11:41:38 +0100, Chia-Li Liu <[log in to unmask]> wrote:
>Dear SPM experts,
>
> Recently I got error messages when estimating fMRI models, however, I
>had not encountered such error before with the exactly same model setting.
>
>??? Error using ==> svd
>NaN or Inf prevents convergence.
>
>Error in ==> spm_sp>sf_set at 1122
> [x.u, s, x.v] = svd(full(X),0);
>
>Error in ==> spm_sp at 221
>varargout = {sf_set(X)};
>
>Error in ==> spm_SpUtil at 437
> varargout = { spm_sp('r:',spm_sp('set',c0),c1) };
>
>Error in ==> spm_FcUtil at 263
> Fc.c = spm_SpUtil('i0->c',sX,iX0);
>
>Error in ==> spm_spm at 857
>xCon = spm_FcUtil('Set',Fcname,'F','iX0',iX0,xX.xKXs);
>
>??? Error while evaluating uicontrol Callback.
>
> No further estimation or statistical analysis can carry on. Has anyone
>got this problem in SPM2? Any help will be appreciated.
>
>Best regards,
>Chia-Li Liu
>=========================================================================
|