Dear All,
I encountered some errors while using DPARSF to process resting data. I have tried different versions of DPARSF, there were always errors during the detrend steps:
Removing the linear trend:
Read 3D EPI functional images: "F:\analysis\post\FunImgARWS\sub1".Error using rest_waitbar (line 30)
User canceled the operation!
Error in rest_to4d (line 50)
rest_waitbar(0.001, ...
Error in rest_detrend (line 23)
[AllVolume,VoxelSize,theImgFileList, Header,nVolumn] =rest_to4d(ADataDir);
Error in DPARSFA_run (line 1483)
rest_detrend([AutoDataProcessParameter.DataProcessDir,filesep,FunSessionPrefixSet{iFunSession},AutoDataProcessParameter.StartingDirName,filesep,AutoDataProcessParameter.SubjectID{i}],
'_d
Error in DPARSFA>pushbuttonRun_Callback (line 1133)
[Error]=DPARSFA_run(handles.Cfg);
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in DPARSFA (line 31)
gui_mainfcn(gui_State, varargin{:});
Error while evaluating uicontrol Callback
or
Error using +
Matrix dimensions must agree.
Error in rest_detrend (line 42)
oneAxialSlice =detrend(oneAxialSlice) +repmat(mean(oneAxialSlice), [size(oneAxialSlice,1), 1]);
Error in DPARSFA_run (line 1483)
rest_detrend([AutoDataProcessParameter.DataProcessDir,filesep,FunSessionPrefixSet{iFunSession},AutoDataProcessParameter.StartingDirName,filesep,AutoDataProcessParameter.SubjectID{i}],
'_d
Error in DPARSFA>pushbuttonRun_Callback (line 1133)
[Error]=DPARSFA_run(handles.Cfg);
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in DPARSFA (line 31)
gui_mainfcn(gui_State, varargin{:});
Error while evaluating uicontrol Callback
Hope someone could help on this issue, thanks in advance.
Catherine
Hi,
Hi,
For the first error, seems you hit the "quit" button of the waitbar.
For the second error, seems caused by strange dimension of data. What kind of data are you using? What's the dimension and voxel size?
Best,
Chao-Gan