fsl.wrappers.flirt

This module provides wrapper functions for the FSL FLIRT tool, and other related tools.

flirt

Wrapper for the flirt command.

applyxfm

Convenience function which runs flirt -applyxfm ....

invxfm

Use convert_xfm to invert an affine.

concatxfm

Use convert_xfm to concatenate two affines.

mcflirt

Wrapper for the mcflirt command.

fsl.wrappers.flirt.flirt(src, ref, **kwargs)

Wrapper for the flirt command.

The twod argument may be used in place of the 2D command line option.

fsl.wrappers.flirt.applyxfm(src, ref, mat, out, interp='spline', **kwargs)

Convenience function which runs flirt -applyxfm ....

fsl.wrappers.flirt.invxfm(inmat, omat)

Use convert_xfm to invert an affine.

fsl.wrappers.flirt.concatxfm(inmat1, inmat2, outmat)

Use convert_xfm to concatenate two affines.

fsl.wrappers.flirt.mcflirt(infile, **kwargs)

Wrapper for the mcflirt command.