3232def init_nibetaseries_participant_wf (
3333 estimator , atlas_img , atlas_lut , bids_dir ,
3434 database_path , derivatives_pipeline_dir , exclude_description_label ,
35- fir_delays , hrf_model , high_pass ,
36- output_dir , run_label , selected_confounds , session_label , smoothing_kernel ,
35+ fir_delays , hrf_model , high_pass , output_dir , run_label ,
36+ selected_confounds , session_label , signal_scaling , smoothing_kernel ,
3737 space_label , subject_list , task_label , description_label , work_dir ,
3838 ):
3939
@@ -69,6 +69,8 @@ def init_nibetaseries_participant_wf(
6969 Include bold series containing this run label
7070 selected_confounds : list
7171 List of confounds to be included in regression
72+ signal_scaling : False or 0
73+ Whether (0) or not (False) to scale each voxel's timeseries
7274 session_label : str or None
7375 Include bold series containing this session label
7476 smoothing_kernel : float or None
@@ -173,6 +175,7 @@ def init_nibetaseries_participant_wf(
173175 output_dir = output_dir ,
174176 preproc_img_list = preproc_img_list ,
175177 selected_confounds = selected_confounds ,
178+ signal_scaling = signal_scaling ,
176179 smoothing_kernel = smoothing_kernel ,
177180 )
178181
@@ -191,8 +194,8 @@ def init_nibetaseries_participant_wf(
191194def init_single_subject_wf (
192195 estimator , atlas_img , atlas_lut , bold_metadata_list , brainmask_list ,
193196 confound_tsv_list , events_tsv_list , fir_delays , hrf_model , high_pass ,
194- name , output_dir ,
195- preproc_img_list , selected_confounds , smoothing_kernel
197+ name , output_dir , preproc_img_list , selected_confounds ,
198+ signal_scaling , smoothing_kernel ,
196199 ):
197200 """
198201 This workflow completes the generation of the betaseries files
@@ -217,6 +220,7 @@ def init_single_subject_wf(
217220 output_dir='.',
218221 preproc_img_list=[''],
219222 selected_confounds=[''],
223+ signal_scaling=0,
220224 smoothing_kernel=0.0)
221225
222226 Parameters
@@ -249,6 +253,8 @@ def init_single_subject_wf(
249253 list of preprocessed bold files
250254 selected_confounds : list or None
251255 the list of confounds to be included in regression
256+ signal_scaling : False or 0
257+ Whether (0) or not (False) to scale each voxel's timeseries
252258 smoothing_kernel : float or None
253259 the size of the smoothing kernel (full width/half max) applied to the bold file (in mm)
254260
@@ -308,6 +314,7 @@ def init_single_subject_wf(
308314 hrf_model = hrf_model ,
309315 high_pass = high_pass ,
310316 selected_confounds = selected_confounds ,
317+ signal_scaling = signal_scaling ,
311318 smoothing_kernel = smoothing_kernel )
312319
313320 # initialize the analysis workflow
0 commit comments