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)[source]¶ 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)[source]¶ Create a
LoadAtlasAction.- Parameters
overlayList – The
OverlayList.displayCtx – The
DisplayContext.frame – The
FSLeyesFrame.
-
__loadAtlas()¶ Calls the
loadAtlas()function.
-
__module__= 'fsleyes.actions.loadatlas'¶
-