Dear all,
I've been working with DPARSF to preprocess resting-state fMRI data.
I got an error for a few of my subjects when I applied scrubbing (FD Power,
threshold: 0.5, Linear Interpolation) - Please see the error below.
Do you know why this happened? Is it possible that this error came out
because these few subjects have not moved that much and therefore scrubbing
is not required?
Thanks!
Error using interp1 (line 160)
Attempted to access X(1); index out of bounds because numel(X)=0.
Error in y_Scrubbing (line 69)
AllVolume = interp1(x,AllVolume,xi,ScrubbingMethod);
Error in DPARSFA_run>(parfor body) (line 2970)
y_Scrubbing([AutoDataProcessParameter.DataProcessDir,filesep,FunSessionPrefixSet{iFunSession},AutoDataProcessParameter.StartingDirName,filesep,AutoDataProcessParameter.SubjectID{i}],
...
Error in DPARSFA_run (line 2946)
parfor i=1:AutoDataProcessParameter.SubjectNum
Error in DPARSFA>pushbuttonRun_Callback (line 1601)
[Error]=DPARSFA_run(handles.Cfg);
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in DPARSFA (line 33)
gui_mainfcn(gui_State, varargin{:});
Caused by:
Attempted to access X(1); index out of bounds because numel(X)=0.
Error while evaluating uicontrol Callback
Hi,
Hi,
Have you checked if all the time points were removed according to the threshold?
Best,
Chao-Gan