The FSL eddy command accepts a comma-separated list of FWHM or a single float FWHM. A popular command line when substantial subject movement is involved is --niter=8 --fwhm=10,8,4,2,0,0,0,0
The nipype interface nipype.interfaces.fsl.Eddy() does not appear to honor a list of floats. A single float only is accepted.
nipype/interfaces/fsl/epi.py:
fwhm = traits.Float( desc="FWHM for conditioning filter when estimating the parameters", argstr="--fwhm=%s", )
Maybe FWHM should have been defined similar to nipype/interfaces/spm/preprocess.py:
fwhm = traits.Either( traits.List(traits.Float(), minlen=3, maxlen=3), traits.Float(), field="fwhm", desc="3-list of fwhm for each dimension", )
Ubuntu 24.04.4
NIPYPE : 1.11.0
FSL : 6.0.7.15
Python 3.12.3
The FSL eddy command accepts a comma-separated list of FWHM or a single float FWHM. A popular command line when substantial subject movement is involved is --niter=8 --fwhm=10,8,4,2,0,0,0,0
The nipype interface nipype.interfaces.fsl.Eddy() does not appear to honor a list of floats. A single float only is accepted.
nipype/interfaces/fsl/epi.py:
fwhm = traits.Float( desc="FWHM for conditioning filter when estimating the parameters", argstr="--fwhm=%s", )Maybe FWHM should have been defined similar to nipype/interfaces/spm/preprocess.py:
fwhm = traits.Either( traits.List(traits.Float(), minlen=3, maxlen=3), traits.Float(), field="fwhm", desc="3-list of fwhm for each dimension", )Ubuntu 24.04.4
NIPYPE : 1.11.0
FSL : 6.0.7.15
Python 3.12.3