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.PlotControlPanelThe
PowerSpectrumControlPanelclass is aPlotControlPanelwhich allows the user to control aPowerSpectrumPanel.-
static
supportedViews()[source]¶ Overrides
ControlMixin.supportedViews(). ThePowerSpectrumControlPanelis only intended to be added toPowerSpectrumPanelviews.
-
static
supportSubClasses()[source]¶ Overrides
ControlPanel.supportSubClasses(). ReturnsFalse- thePowerSpectrumToolBaris 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
PowerSpectrumControlPanelis 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 controllingPowerSpectrumSeriesinstances.
-
__plotMelodicICsChanged(*a)¶ Called when the
PowerSpectrumPanel.plotMelodicICsproperty changes. CallsPlotControlPanel.refreshDataSeriesWidgets()to ensure that the displayed widgets are linked to the correctPowerSpectrumSeriesinstance.
-
__module__= 'fsleyes.controls.powerspectrumcontrolpanel'¶
-
static