ezmsg.panel.scrollinglineplot#

Classes

ScrollingLinePlot(*args[, settings])

ScrollingLinePlotSettings([name, time_axis, ...])

ScrollingLinePlotState()

class ScrollingLinePlotSettings(name='Scrolling Line Plot', time_axis=None, initial_gain=1.0, downsample_factor=1)[source]#

Bases: Settings

Parameters:
  • name (str)

  • time_axis (str | None)

  • initial_gain (float)

  • downsample_factor (int)

name: str = 'Scrolling Line Plot'#
time_axis: Optional[str] = None#
initial_gain: float = 1.0#
downsample_factor: int = 1#
__init__(name='Scrolling Line Plot', time_axis=None, initial_gain=1.0, downsample_factor=1)#
Parameters:
  • name (str)

  • time_axis (str | None)

  • initial_gain (float)

  • downsample_factor (int)

Return type:

None

class ScrollingLinePlotState[source]#

Bases: State

queues: Set[Queue[Dict[str, ndarray]]]#
cur_t: float = 0.0#
cur_fs: float = 1.0#
channelize: Checkbox#
gain: FloatInput#
duration: FloatInput#
downsample: IntInput#
fs: Number#
n_time: Number#
downsampler: Generator[AxisArray, AxisArray, None]#
class ScrollingLinePlot(*args, settings=None, **kwargs)[source]#

Bases: Unit, Tab

Parameters:

settings (Settings | None)

SETTINGS#

alias of ScrollingLinePlotSettings

STATE#

alias of ScrollingLinePlotState

INPUT_SIGNAL = InputStream:unlocated[<class 'ezmsg.util.messages.axisarray.AxisArray'>]()#
async initialize()[source]#

Runs when the Unit is instantiated. This is called from within the same process this unit will live. This lifecycle hook can be overridden. It can be run as async functions by simply adding the async keyword when overriding.

Return type:

None

plot()[source]#
Return type:

Viewable

property title: str#
content()[source]#
Return type:

Viewable

sidebar()[source]#
Return type:

Viewable

panel()[source]#
Return type:

Viewable

async on_signal(msg)[source]#
Return type:

None

Parameters:

msg (AxisArray)