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 a PlotControlPanel which allows the user to control a PowerSpectrumPanel.

__init__(*args, **kwargs)[source]

Create a PowerSpectrumControlPanel. All arguments are passed through to the PlotControlPanel.__init__() method.

destroy()[source]

Must be called when this PowerSpectrumControlPanel is no longer needed. Removes some property listeners and calls the PlotControlPanel.destroy() method.

static supportedViews()[source]

Overrides ControlMixin.supportedViews(). The PowerSpectrumControlPanel is only intended to be added to PowerSpectrumPanel 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 controlling PowerSpectrumSeries instances.

_PowerSpectrumControlPanel__plotMelodicICsChanged(*a)

Called when the PowerSpectrumPanel.plotMelodicICs property changes. Calls PlotControlPanel.refreshDataSeriesWidgets() to ensure that the displayed widgets are linked to the correct PowerSpectrumSeries instance.

__module__ = 'fsleyes.controls.powerspectrumcontrolpanel'