Skip to content

Commit 3352caa

Browse files
committed
match default parameters to those from FSL
1 parent 844b7ec commit 3352caa

File tree

1 file changed

+6
-2
lines changed
  • nipype/workflows/dmri/fsl

1 file changed

+6
-2
lines changed

nipype/workflows/dmri/fsl/dti.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ def transpose(samples_over_fibres):
1616
return np.squeeze(a.T).tolist()
1717

1818

19-
def create_bedpostx_pipeline(name='bedpostx', params={}):
19+
def create_bedpostx_pipeline(name='bedpostx', params={'n_fibres':2, 'fudge':1, 'burn_in':1000,
20+
'n_jumps':1250, 'sample_every':25, 'model':1,
21+
'cnlinear':True}):
2022
"""
2123
Creates a pipeline that does the same as bedpostx script from FSL -
2224
calculates diffusion model parameters (distributions not MLE) voxelwise for
@@ -126,7 +128,9 @@ def merge_and_mean(name='mm'):
126128

127129
def bedpostx_parallel(name='bedpostx_parallel',
128130
compute_all_outputs=True,
129-
params=None):
131+
params={'n_fibres':2, 'fudge':1, 'burn_in':1000,
132+
'n_jumps':1250, 'sample_every':25, 'model':1,
133+
'cnlinear':True}):
130134
"""
131135
Does the same as :func:`.create_bedpostx_pipeline` by splitting
132136
the input dMRI in small ROIs that are better suited for parallel

0 commit comments

Comments
 (0)