TaurusTrend2DDialog

digraph inheritanceb0322d89fc { rankdir=UD; ratio=compress; size="8.0, 12.0"; "BaseConfigurableClass" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="A base class defining the API for configurable objects."]; "CurveDialog" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="Construct a CurveDialog object: plotting dialog box with integrated "]; "QDialog" -> "CurveDialog" [arrowsize=0.5,style="setlinewidth(0.5)"]; "CurveWidgetMixin" -> "CurveDialog" [arrowsize=0.5,style="setlinewidth(0.5)"]; "CurveWidgetMixin" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded]; "PlotManager" -> "CurveWidgetMixin" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ImageDialog" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="Construct a ImageDialog object: plotting dialog box with integrated "]; "CurveDialog" -> "ImageDialog" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ImageWidgetMixin" -> "ImageDialog" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ImageWidgetMixin" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded]; "CurveWidgetMixin" -> "ImageWidgetMixin" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Logger" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="The taurus logger class. All taurus pertinent classes should inherit"]; "Object" -> "Logger" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Object" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded]; "PlotManager" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="Construct a PlotManager object, a 'controller' that organizes relations "]; "QDialog" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded]; "QWidget" -> "QDialog" [arrowsize=0.5,style="setlinewidth(0.5)"]; "QObject" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded]; "wrapper" -> "QObject" [arrowsize=0.5,style="setlinewidth(0.5)"]; "QPaintDevice" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded]; "simplewrapper" -> "QPaintDevice" [arrowsize=0.5,style="setlinewidth(0.5)"]; "QWidget" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded]; "QObject" -> "QWidget" [arrowsize=0.5,style="setlinewidth(0.5)"]; "QPaintDevice" -> "QWidget" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TaurusBaseComponent" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="A generic Taurus component."]; "TaurusListener" -> "TaurusBaseComponent" [arrowsize=0.5,style="setlinewidth(0.5)"]; "BaseConfigurableClass" -> "TaurusBaseComponent" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TaurusBaseWidget" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="The base class for all Qt Taurus widgets."]; "TaurusBaseComponent" -> "TaurusBaseWidget" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TaurusListener" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="TaurusListener Interface"]; "Logger" -> "TaurusListener" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TaurusTrend2DDialog" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="This is a widget for displaying trends from 1D Taurus attributes (i.e.,"]; "ImageDialog" -> "TaurusTrend2DDialog" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TaurusBaseWidget" -> "TaurusTrend2DDialog" [arrowsize=0.5,style="setlinewidth(0.5)"]; "simplewrapper" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded]; "wrapper" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded]; "simplewrapper" -> "wrapper" [arrowsize=0.5,style="setlinewidth(0.5)"]; }
class TaurusTrend2DDialog(parent=None, designMode=False, toolbar=True, stackMode='deltatime', buffersize=512, options=None, autoscale='xyz', **kwargs)[source]

Bases: guiqwt.plot.ImageDialog, taurus.qt.qtgui.base.taurusbase.TaurusBaseWidget

This is a widget for displaying trends from 1D Taurus attributes (i.e., representing the variation over time of a 1D array). Sometimes this kind of plots are also known as “spectrograms”.

The widget shows a 3D plot (Z represented with colors) where the values in the 1D array are plotted in the Y-Z plane and are stacked along the X axis.

getMaxDataBufferSize()[source]

returns the maximum number of events that can be plotted in the trend

Return type:int
Returns:
getModel()[source]

reimplemented from TaurusBaseWidget

getModelClass()[source]

reimplemented from TaurusBaseWidget

classmethod getQtDesignerPluginInfo()[source]

reimplemented from TaurusBaseWidget

getStackMode()[source]
getUseArchiving()[source]

whether TaurusTrend is looking for data in the archiver when needed

Return type:bool
Returns:
keyPressEvent(self, QKeyEvent)[source]
maxDataBufferSize

returns the maximum number of events that can be plotted in the trend

Return type:int
Returns:
model

reimplemented from TaurusBaseWidget

modifiableByUser

whether the user can change the contents of the widget

Return type:bool
Returns:True if the user is allowed to modify the look&feel
resetMaxDataBufferSize()[source]

Same as setMaxDataBufferSize(512) (i.e. 512 events)

resetStackMode()[source]
resetUseArchiving()[source]

Same as setUseArchiving(False)

setMaxDataBufferSize(maxSize)[source]

sets the maximum number of events that will be stacked

Parameters:maxSize (int) – the maximum limit

See also

TaurusTrendSet

setModel(model)[source]

reimplemented from TaurusBaseWidget

setModifiableByUser(modifiable)[source]

reimplemented from TaurusBaseWidget

setStackMode(mode)[source]

set the type of stack to be used. This determines how X values are interpreted:

  • as timestamps (‘datetime’)
  • as time deltas (‘timedelta’)
  • as event numbers (‘event’)
Parameters:mode (one of 'datetime', 'timedelta' or 'event') –
setUseArchiving(enable)[source]

enables/disables looking up in the archiver for data stored before the Trend was started

Parameters:enable (bool) – if True, archiving values will be used if available
stackMode
useArchiving

whether TaurusTrend is looking for data in the archiver when needed

Return type:bool
Returns: