fsleyes.controls.powerspectrumcontrolpanel

This module provides the PowerSpectrumControlPanel class, a FSLeyes control panel for controlling a PowerSpectrumPanel.

class fsleyes.controls.powerspectrumcontrolpanel.PowerSpectrumControlPanel(*args, **kwargs)

Bases: fsleyes.controls.plotcontrolpanel.PlotControlPanel

The PowerSpectrumControlPanel class is a PlotControlPanel which allows the user to control a PowerSpectrumPanel.

__init__(*args, **kwargs)

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

destroy()

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

static supportedViews()

Overrides ControlMixin.supportedViews(). The PowerSpectrumControlPanel is only intended to be added to PowerSpectrumPanel views.

generateCustomPlotPanelWidgets(groupName)

Overrides PlotControlPanel.generateCustomPlotPanelWidgets().

Adds some widgets for controlling the PowerSpectrumPanel.

generateCustomDataSeriesWidgets(ps, groupName)

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'