@@ -60,9 +60,6 @@ def _run_interface(self, runtime):
6060 else :
6161 confounds = None
6262
63- # high_pass, switch from Hz to Period
64- high_pass_period = int (1 / self .inputs .high_pass )
65-
6663 # setup the model
6764 model = first_level_model .FirstLevelModel (
6865 t_r = t_r ,
@@ -72,7 +69,7 @@ def _run_interface(self, runtime):
7269 smoothing_fwhm = self .inputs .smoothing_kernel ,
7370 standardize = True ,
7471 signal_scaling = 0 ,
75- period_cut = high_pass_period ,
72+ high_pass = self . inputs . high_pass ,
7673 drift_model = 'cosine' ,
7774 verbose = 1 ,
7875 fir_delays = self .inputs .fir_delays ,
@@ -177,9 +174,6 @@ def _run_interface(self, runtime):
177174 else :
178175 confounds = None
179176
180- # high_pass, switch from Hz to Period
181- high_pass_period = int (1 / self .inputs .high_pass )
182-
183177 # setup the model
184178 model = first_level_model .FirstLevelModel (
185179 t_r = t_r ,
@@ -189,7 +183,7 @@ def _run_interface(self, runtime):
189183 smoothing_fwhm = self .inputs .smoothing_kernel ,
190184 standardize = True ,
191185 signal_scaling = 0 ,
192- period_cut = high_pass_period ,
186+ high_pass = self . inputs . high_pass ,
193187 drift_model = 'cosine' ,
194188 verbose = 1
195189 )
0 commit comments