Skip to content

Commit 3f4082c

Browse files
committed
all_fmb_pipeline now accepts parameters
1 parent eedcfcc commit 3f4082c

File tree

1 file changed

+8
-2
lines changed
  • nipype/workflows/dmri/preprocess

1 file changed

+8
-2
lines changed

nipype/workflows/dmri/preprocess/epi.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@
1212
from .utils import *
1313

1414

15-
def all_fmb_pipeline(name='hmc_sdc_ecc'):
15+
def all_fmb_pipeline(name='hmc_sdc_ecc',
16+
fugue_params=dict(smooth3d=2.0),
17+
bmap_params=dict(delta_te=2.46e-3),
18+
epi_params=dict(echospacing=0.77e-3,
19+
acc_factor=3,
20+
enc_dir='y-')):
1621
"""
1722
Builds a pipeline including three artifact corrections: head-motion correction (HMC),
1823
susceptibility-derived distortion correction (SDC), and Eddy currents-derived distortion
@@ -40,7 +45,8 @@ def all_fmb_pipeline(name='hmc_sdc_ecc'):
4045
bet_dwi1 = pe.Node(fsl.BET(frac=0.3, mask=True, robust=True), name='bet_dwi_post')
4146

4247
hmc = hmc_pipeline()
43-
sdc = sdc_fmb()
48+
sdc = sdc_fmb(fugue_params=fugue_params, bmap_params=bmap_params,
49+
epi_params=epi_params)
4450
ecc = ecc_pipeline()
4551
unwarp = apply_all_corrections()
4652

0 commit comments

Comments
 (0)