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)[source]

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)[source]

Convenience function which runs flirt -applyxfm ....

fsl.wrappers.flirt.invxfm(inmat, omat)[source]

Use convert_xfm to invert an affine.

fsl.wrappers.flirt.concatxfm(inmat1, inmat2, outmat)[source]

Use convert_xfm to concatenate two affines.

fsl.wrappers.flirt.mcflirt(infile, **kwargs)[source]

Wrapper for the mcflirt command.