File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 5454
5555TESTED WITH:
5656# Anaconda 5.5.0
57- # Python 3.7.0
57+ # Python 3.7.0
5858# pandas 0.23.4
5959# numpy 1.15.1
6060# nilearn 0.5.0
@@ -227,11 +227,12 @@ def fmripop_remove_confounds(args):
227227 # label of framewise displacmeent confound as found in the tsv file
228228 fd_label = 'framewise_displacement'
229229
230- # Check if we want high-pass filtering. High-pass filtering essentially removes the mean/DC component of the signal.
231- if args .high_pass is None :
230+ # Check if we want high-pass filtering.
231+ # High-pass filtering essentially removes the mean/DC component of the signal, so we need to add it back.
232+ #if args.high_pass is None:
232233 # If we do not high-pass filter, disable adding the mean image back after cleaning the data.
233- args .add_mean_img_back = False
234- args .detrend = False
234+ # args.add_mean_img_back = False
235+ # args.detrend = False
235236
236237 # Check if we want to regress framwise displacement
237238 if args .fmw_disp_th is not None :
You can’t perform that action at this time.
0 commit comments