fsleyes.controls.powerspectrumtoolbar
¶
This module provides the PowerSpectrumToolBar
, a toolbar for use
with a PowerSpectrumPanel
.
- class fsleyes.controls.powerspectrumtoolbar.PowerSpectrumToolBar(parent, overlayList, displayCtx, psPanel)[source]¶
Bases:
fsleyes.controls.plottoolbar.PlotToolBar
The
PowerSpectrumToolBar
is a toolbar for use with aPowerSpectrumPanel
. It extendsPlotToolBar
, and adds a few controls specific to thePoweSpectrumPanel
.- static supportedViews()[source]¶
Overrides
ControlMixin.supportedViews()
. ThePowerSpectrumToolBar
is only intended to be added toPowerSpectrumPanel
views.
- static supportSubClasses()[source]¶
Overrides
ControlPanel.supportSubClasses()
. ReturnsFalse
- thePowerSpectrumToolBar
is only intended to be used with thePowerSpectrumPanel
.
- __init__(parent, overlayList, displayCtx, psPanel)[source]¶
Create a
PowerSpectrumToolBar
.- Parameters
parent – The
wx
parent object.overlayList – The
OverlayList
instance.displayCtx – The
DisplayContext
instance.psPanel – The
PowerSpectrumPanel
instance.
- __annotations__ = {}¶
- __module__ = 'fsleyes.controls.powerspectrumtoolbar'¶