@@ -689,8 +689,8 @@ class EddyInputSpec(FSLCommandInputSpec):
689
689
desc = ("Final resampling method (jacobian/least " "squares)" ),
690
690
)
691
691
692
- repol = traits .Bool (
693
- False , argstr = "--repol" , desc = "Detect and replace outlier slices"
692
+ repol = traits .Enum (
693
+ True , argstr = "--repol" , desc = "Detect and replace outlier slices"
694
694
)
695
695
outlier_nstd = traits .Int (
696
696
argstr = "--ol_nstd" ,
@@ -785,8 +785,8 @@ class EddyInputSpec(FSLCommandInputSpec):
785
785
min_ver = "6.0.1" ,
786
786
)
787
787
788
- estimate_move_by_susceptibility = traits .Bool (
789
- False ,
788
+ estimate_move_by_susceptibility = traits .Enum (
789
+ True ,
790
790
argstr = "--estimate_move_by_susceptibility" ,
791
791
desc = "Estimate how susceptibility field changes with subject movement" ,
792
792
min_ver = "6.0.1" ,
@@ -823,7 +823,7 @@ class EddyInputSpec(FSLCommandInputSpec):
823
823
),
824
824
)
825
825
826
- use_cuda = traits .Bool ( False , desc = "Run eddy using cuda gpu" )
826
+ use_cuda = traits .Enum ( True , desc = "Run eddy using cuda gpu" )
827
827
cnr_maps = traits .Bool (
828
828
False , desc = "Output CNR-Maps" , argstr = "--cnr_maps" , min_ver = "5.0.10"
829
829
)
@@ -963,19 +963,9 @@ class Eddy(FSLCommand):
963
963
--acqp=epi_acqp.txt --bvals=bvals.scheme --bvecs=bvecs.scheme \
964
964
--imain=epi.nii --index=epi_index.txt --mask=epi_mask.nii \
965
965
--interp=spline --resamp=jac --niter=5 --nvoxhp=1000 \
966
- --out=.../eddy_corrected --slm=none'
967
-
968
- Running eddy on a CPU using OpenMP:
969
- >>> eddy.inputs.use_cuda = False
970
- >>> eddy.cmdline # doctest: +ELLIPSIS
971
- 'eddy_openmp --flm=quadratic --ff=10.0 \
972
- --acqp=epi_acqp.txt --bvals=bvals.scheme --bvecs=bvecs.scheme \
973
- --imain=epi.nii --index=epi_index.txt --mask=epi_mask.nii \
974
- --interp=spline --resamp=jac --niter=5 --nvoxhp=1000 \
975
966
--out=.../eddy_corrected --slm=none'
976
967
977
968
Running eddy with slice-to-volume motion correction:
978
- >>> eddy.inputs.use_cuda = True
979
969
>>> eddy.inputs.mporder = 6
980
970
>>> eddy.inputs.slice2vol_niter = 5
981
971
>>> eddy.inputs.slice2vol_lambda = 1
0 commit comments