fsleyes.plugins.tools.saveflirtxfm¶
This module provides the SaveFlirtXfmAction class, an
Action which allows the user to save an Image
transformation to disk for use with FLIRT.
- class fsleyes.plugins.tools.saveflirtxfm.SaveFlirtXfmAction(overlayList, displayCtx, frame)[source]¶
Bases:
fsleyes.actions.base.NeedOverlayActionThe
SaveFlirtXfmActionclass is anActionwhich allows the user to save anImagetransformation to disk, either as a FLIRT matrix, or a voxel-to-world matrix.- __init__(overlayList, displayCtx, frame)[source]¶
Create a
SaveFlirtXfmAction.- Parameters
overlayList – The
OverlayList.displayCtx – The
DisplayContext.frame – The
FSLeyesFrame.
- __saveFlirtXfm()¶
Called when this action is executed. Prompts the user to save a FLIRT transform for the currently selected image.
- __annotations__ = {}¶
- __module__ = 'fsleyes.plugins.tools.saveflirtxfm'¶