fsleyes.controls.powerspectrumcontrolpanel
This module provides the PowerSpectrumControlPanel
class, a
FSLeyes control panel for controlling a PowerSpectrumPanel
.
- class fsleyes.controls.powerspectrumcontrolpanel.PowerSpectrumControlPanel(*args, **kwargs)[source]
Bases:
fsleyes.controls.plotcontrolpanel.PlotControlPanel
The
PowerSpectrumControlPanel
class is aPlotControlPanel
which allows the user to control aPowerSpectrumPanel
.- static supportedViews()[source]
Overrides
ControlMixin.supportedViews()
. ThePowerSpectrumControlPanel
is only intended to be added toPowerSpectrumPanel
views.
- static supportSubClasses()[source]
Overrides
ControlPanel.supportSubClasses()
. ReturnsFalse
- thePowerSpectrumToolBar
is only intended to be used with thePowerSpectrumPanel
.
- static defaultLayout()[source]
Returns a dictionary containing layout settings to be passed to
ViewPanel.togglePanel
.
- __init__(*args, **kwargs)[source]
Create a
PowerSpectrumControlPanel
. All arguments are passed through to thePlotControlPanel.__init__()
method.
- destroy()[source]
Must be called when this
PowerSpectrumControlPanel
is no longer needed. Removes some property listeners and calls thePlotControlPanel.destroy()
method.
- generateCustomPlotPanelWidgets(groupName)[source]
Overrides
PlotControlPanel.generateCustomPlotPanelWidgets()
.Adds some widgets for controlling the
PowerSpectrumPanel
.
- generateCustomDataSeriesWidgets(ps, groupName)[source]
Overrides
PlotControlPanel.generateDataSeriesWidgets()
. Adds some widgets for controllingPowerSpectrumSeries
instances.
- __plotMelodicICsChanged(*a)
Called when the
PowerSpectrumPanel.plotMelodicICs
property changes. CallsPlotControlPanel.refreshDataSeriesWidgets()
to ensure that the displayed widgets are linked to the correctPowerSpectrumSeries
instance.
- __annotations__ = {}
- __module__ = 'fsleyes.controls.powerspectrumcontrolpanel'