iblatlas.gui.atlasview
TopView is the main Widget with the related ControllerTopView Class There are several SliceView windows (sagittal, coronal, possibly tilted etc…) that each have a SliceController object The underlying data model object is an iblatlas.atlas.AllenAtlas object
TopView(QMainWindow) ControllerTopView(PgImageController)
SliceView(QWidget) SliceController(PgImageController)
Functions
application entry point |
Classes
TopView ControllerTopView |
|
Class for keeping track of image layers. |
|
Abstract class that implements mapping fr`om axes to voxels for any window. |
|
Window containing a volume slice |
|
Main Window of the application. |
- class TopView(**kwargs)[source]
Bases:
QMainWindow
Main Window of the application. This is a top view of the brain with 2 movable lines allowing to select sagittal and coronal slices.
- class SliceView(topview: TopView, waxis, haxis, daxis, **kwargs)[source]
Bases:
QWidget
Window containing a volume slice
- class PgImageController(win, res=25)[source]
Bases:
object
Abstract class that implements mapping fr`om axes to voxels for any window. Not instantiated directly.
- property imageItem
returns the first image item
- class ControllerTopView(qmain: TopView, res: int = 25, volume='image', atlas=None, **kwargs)[source]
Bases:
PgImageController
TopView ControllerTopView
- property lines_sagittal
- property lines_coronal
- property lines_horizontal
- property slices: dict
- property figures: dict
- class SliceController(fig, waxis=None, haxis=None, daxis=None, wdir=1, hdir=1)[source]
Bases:
PgImageController
- class ImageLayer(image_item: ~pyqtgraph.graphicsItems.ImageItem.ImageItem = <factory>, pg_kwargs: dict = <factory>, slice_kwargs: dict = <factory>)[source]
Bases:
object
Class for keeping track of image layers.
:param image_item :param pg_kwargs: pyqtgraph setImage arguments: {‘levels’: None, ‘lut’: None, ‘opacity’: 1.0} :param slice_kwargs: iblatlas.atlas.slice arguments: {‘volume’: ‘image’, ‘mode’: ‘clip’} :param
- image_item: ImageItem
- pg_kwargs: dict
- slice_kwargs: dict