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
.-
__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.
-
static
supportedViews
()[source]¶ Overrides
ControlMixin.supportedViews()
. ThePowerSpectrumControlPanel
is only intended to be added toPowerSpectrumPanel
views.
-
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.
-
__module__
= 'fsleyes.controls.powerspectrumcontrolpanel'¶
-