We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f90e46 commit 2e6faa0Copy full SHA for 2e6faa0
sdcflows/workflows/fmap.py
@@ -99,7 +99,7 @@ def init_fmap_wf(omp_nthreads, fmap_bspline, name='fmap_wf'):
99
100
workflow.connect([
101
(inputnode, fmapmrg, [('fieldmap', 'in_files')]),
102
- (fmapmrg, applymsk, [('out_file', 'in_file')]),
+ (fmapmrg, applymsk, [('out_avg', 'in_file')]),
103
(magnitude_wf, applymsk, [('outputnode.fmap_mask', 'mask_file')]),
104
(applymsk, fmap_postproc_wf, [('out_file', 'inputnode.fmap')]),
105
(magnitude_wf, fmap_postproc_wf, [
sdcflows/workflows/gre.py
@@ -65,7 +65,8 @@ def init_magnitude_wf(omp_nthreads, name='magnitude_wf'):
65
name='outputnode')
66
67
# Merge input magnitude images
68
- magmrg = pe.Node(IntraModalMerge(), name='magmrg')
+ magmrg = pe.Node(IntraModalMerge(hmc=False, grand_mean_scaling=True),
69
+ name='magmrg')
70
71
# de-gradient the fields ("bias/illumination artifact")
72
n4_correct = pe.Node(ants.N4BiasFieldCorrection(dimension=3, copy_header=True),
@@ -75,7 +76,7 @@ def init_magnitude_wf(omp_nthreads, name='magnitude_wf'):
75
76
77
78
(inputnode, magmrg, [('magnitude', 'in_files')]),
- (magmrg, n4_correct, [('out_file', 'input_image')]),
79
+ (magmrg, n4_correct, [('out_avg', 'input_image')]),
80
(n4_correct, bet, [('output_image', 'in_file')]),
81
(bet, outputnode, [('mask_file', 'fmap_mask'),
82
('out_file', 'fmap_ref'),
0 commit comments