fsleyes.actions.loadatlas¶
This module provides the LoadAtlasAction, an action which
allows the user to load an atlas specification into FSLeyes. See the
fsl.data.atlases module.
-
class
fsleyes.actions.loadatlas.LoadAtlasAction(overlayList, displayCtx, frame)¶ Bases:
fsleyes.actions.base.ActionThe
LoadAtlasActionprompts the user to select a FSL atlas specification file. This file is then passed to thefsl.data.atlases.addAtlas()function, to add the atlas to theAtlasRegistry.-
__init__(overlayList, displayCtx, frame)¶ Create a
LoadAtlasAction.Parameters: - overlayList – The
OverlayList. - displayCtx – The
DisplayContext. - frame – The
FSLeyesFrame.
- overlayList – The
-
_LoadAtlasAction__loadAtlas()¶ Calls the
loadAtlas()function.
-
__module__= 'fsleyes.actions.loadatlas'¶
-
-
fsleyes.actions.loadatlas.loadAtlas(parent=None)¶ Prompts the user to select an atlas specification file, and then loads the atlas.