@@ -19,44 +19,43 @@ is presented below:
19
19
:simple_form: yes
20
20
21
21
from fmriprep.workflows.base import init_single_subject_wf
22
- from collections import namedtuple
22
+ from collections import namedtuple, OrderedDict
23
23
BIDSLayout = namedtuple('BIDSLayout', ['root'], defaults='.')
24
24
wf = init_single_subject_wf(
25
- layout=BIDSLayout(),
26
- subject_id='test',
27
- name='single_subject_wf',
28
- task_id='',
25
+ anat_only=False,
26
+ aroma_melodic_dim=-200,
27
+ bold2t1w_dof=9,
28
+ cifti_output=False,
29
+ debug=False,
29
30
echo_idx=None,
31
+ err_on_aroma_warn=False,
32
+ fmap_bspline=False,
33
+ fmap_demean=True,
34
+ force_syn=True,
35
+ freesurfer=True,
36
+ hires=True,
37
+ ignore=[],
38
+ layout=BIDSLayout(),
30
39
longitudinal=False,
31
- t2s_coreg=False,
40
+ low_mem=False,
41
+ medial_surface_nan=False,
42
+ name='single_subject_wf',
32
43
omp_nthreads=1,
33
- freesurfer=True,
34
- reportlets_dir='.',
35
44
output_dir='.',
36
- skull_strip_template='OASIS30ANTs',
45
+ output_spaces=OrderedDict([
46
+ ('MNI152Lin', {}), ('fsaverage', {'density': '10k'}),
47
+ ('T1w', {}), ('fsnative', {})]),
48
+ reportlets_dir='.',
37
49
skull_strip_fixed_seed=False,
38
- template='MNI152NLin2009cAsym',
39
- output_spaces=['T1w', 'fsnative', 'template', 'fsaverage5'],
40
- medial_surface_nan=False,
41
- cifti_output=False,
42
- ignore=[],
43
- debug=False,
44
- low_mem=False,
45
- anat_only=False,
46
- hires=True,
50
+ skull_strip_template='OASIS30ANTs',
51
+ subject_id='test',
52
+ t2s_coreg=False,
53
+ task_id='',
54
+ use_aroma=False,
47
55
use_bbr=True,
48
- bold2t1w_dof=9,
49
- fmap_bspline=False,
50
- fmap_demean=True,
51
56
use_syn=True,
52
- force_syn=True,
53
- template_out_grid='native',
54
- use_aroma=False,
55
- aroma_melodic_dim=-200,
56
- err_on_aroma_warn=False,
57
57
)
58
58
59
-
60
59
T1w/T2w preprocessing
61
60
---------------------
62
61
:mod: `fmriprep.workflows.anatomical.init_anat_preproc_wf `
@@ -65,22 +64,20 @@ T1w/T2w preprocessing
65
64
:graph2use: orig
66
65
:simple_form: yes
67
66
67
+ from collections import OrderedDict
68
68
from fmriprep.workflows.anatomical import init_anat_preproc_wf
69
69
wf = init_anat_preproc_wf(
70
70
bids_root='.',
71
- debug=False,
72
71
freesurfer=True,
73
- fs_spaces=['T1w', 'fsnative',
74
- 'template', 'fsaverage5'],
75
72
hires=True,
76
73
longitudinal=False,
77
74
num_t1w=1,
78
75
omp_nthreads=1,
79
76
output_dir='.',
77
+ output_spaces=OrderedDict([
78
+ ('MNI152NLin2009cAsym', {}), ('fsaverage5', {})]),
80
79
reportlets_dir='.',
81
80
skull_strip_template='MNI152NLin2009cAsym',
82
- skull_strip_fixed_seed=False,
83
- template='MNI152NLin2009cAsym',
84
81
)
85
82
86
83
The anatomical sub-workflow begins by constructing an average image by
@@ -274,13 +271,13 @@ BOLD preprocessing
274
271
:graph2use: orig
275
272
:simple_form: yes
276
273
277
- from collections import namedtuple
274
+ from collections import namedtuple, OrderedDict
275
+ from fmriprep.workflows.bold.base import init_func_preproc_wf
278
276
BIDSLayout = namedtuple('BIDSLayout', ['root'], defaults='.')
279
- from fmriprep.workflows.bold import init_func_preproc_wf
280
277
wf = init_func_preproc_wf(
281
- '/completely/made/up/path/sub-01_task-nback_bold.nii.gz',
282
278
aroma_melodic_dim=-200,
283
279
bold2t1w_dof=9,
280
+ bold_file='/completely/made/up/path/sub-01_task-nback_bold.nii.gz',
284
281
cifti_output=False,
285
282
debug=False,
286
283
err_on_aroma_warn=False,
@@ -289,19 +286,20 @@ BOLD preprocessing
289
286
force_syn=True,
290
287
freesurfer=True,
291
288
ignore=[],
292
- layout=BIDSLayout(),
293
289
low_mem=False,
294
290
medial_surface_nan=False,
295
291
omp_nthreads=1,
296
292
output_dir='.',
297
- output_spaces=['T1w', 'fsnative', 'template', 'fsaverage5'],
293
+ output_spaces=OrderedDict([
294
+ ('MNI152Lin', {}), ('fsaverage', {'density': '10k'}),
295
+ ('T1w', {}), ('fsnative', {})]),
298
296
reportlets_dir='.',
299
297
t2s_coreg=False,
300
- template='MNI152NLin2009cAsym',
301
- template_out_grid='native',
302
298
use_aroma=False,
303
299
use_bbr=True,
304
300
use_syn=True,
301
+ layout=BIDSLayout(),
302
+ num_bold=1,
305
303
)
306
304
307
305
Preprocessing of :abbr: `BOLD ( blood-oxygen level-dependent ) ` files is
@@ -478,13 +476,14 @@ EPI to MNI transformation
478
476
:graph2use: colored
479
477
:simple_form: yes
480
478
479
+ from collections import OrderedDict
481
480
from fmriprep.workflows.bold import init_bold_std_trans_wf
482
481
wf = init_bold_std_trans_wf(
483
- template='MNI152NLin2009cAsym' ,
484
- freesurfer=True ,
485
- mem_gb=1 ,
482
+ standard_spaces=OrderedDict([('MNI152Lin', {}) ,
483
+ ('fsaverage', {'density': '10k'})]) ,
484
+ mem_gb=3 ,
486
485
omp_nthreads=1,
487
- template_out_grid='native' )
486
+ )
488
487
489
488
This sub-workflow concatenates the transforms calculated upstream (see
490
489
`Head-motion estimation `_, `Susceptibility Distortion Correction (SDC) `_ --if
0 commit comments