fsleyes.controls.timeseriescontrolpanel
¶
This module provides the TimeSeriesControlPanel
a FSLeyes
control which allows the user to configure a TimeSeriesPanel
.
-
class
fsleyes.controls.timeseriescontrolpanel.
TimeSeriesControlPanel
(*args, **kwargs)¶ Bases:
fsleyes.controls.plotcontrolpanel.PlotControlPanel
The
TimeSeriesControlPanel
is aPlotContrlPanel
which allows the user to configure aTimeSeriesPanel
. It contains controls which are linked to the properties of theTimeSeriesPanel
, (which include properties defined on thePlotPanel
base class), and theTimeSeries
class.A
TimeSeriesControlPanel
looks something like this:The settings shown on a
TimeSeriesControlPanel
are organised into three or four sections:- The Time series plot settings section has controls which are linked to
properties of the
TimeSeriesPanel
class. - The General plot settings section has controls which are linked to
properties of the
PlotPanel
base class. - The Settings for the current time course section has controls which
are linked to properties of the
TimeSeries
class. These properties define how the current time course is displayed (see theTimeSeriesPanel
class documentation). - The FEAT plot settings is only shown if the currently selected overlay
is a
FEATImage
. It has controls which are linked to properties of theFEATTimeSeries
class.
-
__init__
(*args, **kwargs)¶ Create a
TimeSeriesControlPanel
. All arguments are passed through to thePlotControlPanel.__init__()
method.
-
destroy
()¶ Must be called when this
TimeSeriesControlPanel
is no longer needed. Removes some property listeners, and callsPlotControlPanel.destroy()
.
-
static
supportedViews
()¶ Overrides
ControlMixin.supportedViews()
. TheTimeSeriesControlPanel
is only intended to be added toTimeSeriesPanel
views.
-
generateCustomPlotPanelWidgets
(groupName)¶ Overrides
PlotControlPanel.generateCustomPlotPanelWidgets()
.Adds some widgets for controlling some properties of the
TimeSeriesPanel
.
-
generateCustomDataSeriesWidgets
(ts, groupName)¶ Overrides
PlotControlPanel.generateCustomDataSeriesWidgets()
.If the given
TimeSeries
is aFEATTimeSeries
instance, this method adds some widgets for controlling the FEAT-related settings of the instance.
-
_TimeSeriesControlPanel__plotMelodicICsChanged
(*a)¶ Called when the
TimeSeriesPanel.plotMelodicICs
property changes. If the current overlay is aMelodicImage
, re-generates the widgets in the current time course section, as theTimeSeries
instance associated with the overlay may have been re-created.
-
__module__
= 'fsleyes.controls.timeseriescontrolpanel'¶
- The Time series plot settings section has controls which are linked to
properties of the