36
36
37
37
def init_bold_calc_reg_wf (freesurfer , use_bbr , bold2t1w_dof , mem_gb , omp_nthreads ,
38
38
use_compression = True , write_report = True ,
39
- name = 'bold_calc_reg_wf' , ):
39
+ name = 'bold_calc_reg_wf' ):
40
40
"""
41
41
This workflow calculates the registration of the reference BOLD image to T1-space,
42
42
using a boundary-based registration (BBR) cost function.
@@ -80,9 +80,6 @@ def init_bold_calc_reg_wf(freesurfer, use_bbr, bold2t1w_dof, mem_gb, omp_nthread
80
80
81
81
**Inputs**
82
82
83
- name_source
84
- BOLD series NIfTI file
85
- Used to recover original information lost during processing
86
83
ref_bold_brain
87
84
Reference image to which BOLD series is aligned
88
85
If ``fieldwarp == True``, ``ref_bold_brain`` should be unwarped
@@ -140,7 +137,7 @@ def init_bold_calc_reg_wf(freesurfer, use_bbr, bold2t1w_dof, mem_gb, omp_nthread
140
137
workflow = Workflow (name = name )
141
138
inputnode = pe .Node (
142
139
niu .IdentityInterface (
143
- fields = ['name_source' , ' ref_bold_brain' , 'ref_bold_mask' ,
140
+ fields = ['ref_bold_brain' , 'ref_bold_mask' ,
144
141
't1_preproc' , 't1_brain' , 't1_mask' , 't1_seg' ,
145
142
't1_aseg' , 't1_aparc' , 'subjects_dir' ,
146
143
'subject_id' , 't1_2_fsnative_reverse_transform' ]),
@@ -265,6 +262,9 @@ def init_bold_apply_reg_wf(mem_gb, omp_nthreads, use_compression=True,
265
262
Name of workflow (default: ``bold_apply_reg_wf``)
266
263
267
264
**Inputs**
265
+ name_source
266
+ BOLD series NIfTI file
267
+ Used to recover original information lost during processing
268
268
bold_split
269
269
Individual 3D BOLD volumes, not motion corrected
270
270
reference_grid
@@ -285,8 +285,8 @@ def init_bold_apply_reg_wf(mem_gb, omp_nthreads, use_compression=True,
285
285
workflow = Workflow (name = name )
286
286
inputnode = pe .Node (
287
287
niu .IdentityInterface (fields = [
288
- 'bold_split ' , 'reference_grid ' , 'itk_bold_to_t1 ' ,
289
- 'hmc_xforms' , 'fieldwarp' ]),
288
+ 'name_source ' , 'bold_split ' , 'reference_grid ' ,
289
+ 'itk_bold_to_t1' , ' hmc_xforms' , 'fieldwarp' ]),
290
290
name = 'inputnode'
291
291
)
292
292
0 commit comments