Skip to content

FSL Eddy interface does not take a list of FWHM #3767

Description

@erling6232

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions