You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be nice to have a flag to run the pipeline without global signal regression. The pipeline would run with GSR by default but if you turn on the flag it runs it without GSR. This would involve changing the docker run pipeline commands, as well as making edits to the dcan_signal_processing.m code in dcan boldproc.
change line 87 of this code to not include the WB: dcan_bold_processing/matlab_code/dcan_signal_processing.m
This is line 87 changed to not run GSR: R = conc_noGSR(wm, vent, FR); %Running without GSR
And then one would also need to change the file it calls to have the correct dims by changing this file: /dcan_bold_processing/matlab_code/hcp_matlab/conc.m
to something like this
function R=conc_noGSR(wm, vent, FR)
%% function R=conc(wm, vent, FR)
%
% This function concatenate and detrend regressors. It adds derivatives to
% wm, vent and WB
%%
sR=[wm vent]; %simple regressors
dR=diff(sR);
dR=[0 0;dR];
R=[sR dR FR];
% R=detrend(R);
Ideally it would save a file with and without GSR if this flag is on, but just turning off GSR would be a great change as is :)
The text was updated successfully, but these errors were encountered:
Would be nice to have a flag to run the pipeline without global signal regression. The pipeline would run with GSR by default but if you turn on the flag it runs it without GSR. This would involve changing the docker run pipeline commands, as well as making edits to the dcan_signal_processing.m code in dcan boldproc.
change line 87 of this code to not include the WB:
dcan_bold_processing/matlab_code/dcan_signal_processing.m
This is line 87 changed to not run GSR:
R = conc_noGSR(wm, vent, FR); %Running without GSR
And then one would also need to change the file it calls to have the correct dims by changing this file:
/dcan_bold_processing/matlab_code/hcp_matlab/conc.m
to something like this
Ideally it would save a file with and without GSR if this flag is on, but just turning off GSR would be a great change as is :)
The text was updated successfully, but these errors were encountered: