TaurusTrend2DItem

Inheritance diagram of TaurusTrend2DItem
class TaurusTrend2DItem(param=None, buffersize=512, stackMode='datetime')[source]

A XYImageItem that is constructed by stacking 1D arrays from events from a Taurus 1D attribute

Import from taurus.qt.qtgui.extra_guiqwt.image as:

from taurus.qt.qtgui.extra_guiqwt.image import TaurusTrend2DItem
property dataChanged

Base signal dataChanged

handleEvent(evt_src, evt_type, evt_value)[source]

Event handling. Default implementation does nothing. Reimplement as necessary

Parameters:
  • evt_src (object or None) – object that triggered the event

  • evt_type (taurus.core.taurusbasetypes.TaurusEventType or None) – type of event

  • evt_value (object or None) – event value

property scrollRequested

Base signal scrollRequested

setBufferSize(buffersize)[source]

sets the size of the stack

Parameters:

buffersize (int) – size of the stack

setModel(model, **kwargs)[source]

Sets/unsets the model name for the given key. If key is MLIST, a model is set for each name in the model sequence, new model keys are automatically added to the object’s modelList attribute and the corresponding models are attached using those keys. The new keys are of the form (MLIST, i) where i is the index of the corresponding model name in the model sequence.

Parameters:
  • model (str (or sequence of str if key is MLIST)) – the new model name. If key is MLIST, model is expected to be a sequence of model names.

  • key (object) – the model key. Defaults to first element of .modelKeys