Skip to content

Commit b76c0e5

Browse files
committed
add bgvalue new argument
1 parent aa34523 commit b76c0e5

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

nipype/workflows/dmri/preprocess/epi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def hmc_pipeline(name='motion_correct'):
299299
outputnode.out_xfms - list of transformation matrices
300300
301301
"""
302-
params = dict(dof=6, padding_size=10, save_log=True,
302+
params = dict(dof=6, bgvalue=0, save_log=True,
303303
searchr_x=[-3, 3], searchr_y=[-3, 3], searchr_z=[-3, 3],
304304
fine_search=1, coarse_search=2,
305305
cost='mutualinfo', cost_func='mutualinfo', bins=64)
@@ -401,7 +401,7 @@ def ecc_pipeline(name='eddy_correct'):
401401
outputnode.out_file - corrected dwi file
402402
outputnode.out_xfms - list of transformation matrices
403403
"""
404-
params = dict(dof=12, no_search=True, interp='spline', padding_size=1, save_log=True)
404+
params = dict(dof=12, no_search=True, interp='spline', bgvalue=0, save_log=True)
405405
# cost='normmi', cost_func='normmi', bins=64,
406406

407407
inputnode = pe.Node(niu.IdentityInterface(fields=['in_file', 'in_bval',

0 commit comments

Comments
 (0)