fsl.wrappers.misc

This module contains wrapper functions for various FSL command-line tools.

fsl.wrappers.misc.fslreorient2std(input, output=None)[source]

Wrapper for the fsreorient2std tool.

fsl.wrappers.misc.fslorient(input, **kwargs)[source]

Wrapper for the fslorient tool.

fsl.wrappers.misc.fslswapdim(input, a, b, c, output=None)[source]

Wrapper for the fslswapdim tool.

fsl.wrappers.misc.fslroi(input, output, *args)[source]

Wrapper for the fslroi tool.

fsl.wrappers.misc.slicer(input, input2=None, **kwargs)[source]

Wrapper for the slicer command.

fsl.wrappers.misc.gps(out, ndir, **kwargs)[source]

Wrapper of the gps command

Usage example to get 128 gradient orientations on the whole sphere:

from fsl.wrappers import gps, LOAD
bvecs = gps(LOAD, 128, optws=True)['out']