ezmsg.panel.lineplot#

Classes

LinePlot(*args[, settings])

LinePlotSettings([name, x_axis, ...])

LinePlotState()

class LinePlotSettings(name='LinePlot', x_axis=None, x_axis_scale=AxisScale.LINEAR, y_axis_scale=AxisScale.LINEAR, y_axis_label=None, x_axis_label=None)[source]#

Bases: Settings

Parameters:
name: str = 'LinePlot'#
x_axis: Optional[str] = None#
x_axis_scale: AxisScale = 1#
y_axis_scale: AxisScale = 1#
y_axis_label: Optional[str] = None#
x_axis_label: Optional[str] = None#
__init__(name='LinePlot', x_axis=None, x_axis_scale=AxisScale.LINEAR, y_axis_scale=AxisScale.LINEAR, y_axis_label=None, x_axis_label=None)#
Parameters:
Return type:

None

class LinePlotState[source]#

Bases: State

x_data: ndarray[tuple[Any, ...], dtype[TypeVar(_ScalarT, bound= generic)]]#
cds_data: Dict[str, ndarray[tuple[Any, ...], dtype[TypeVar(_ScalarT, bound= generic)]]]#
channelize: Checkbox#
gain: FloatInput#
update_ev: Event#
cur_signal: Optional[AxisArray]#
class LinePlot(*args, settings=None, **kwargs)[source]#

Bases: Unit

Parameters:

settings (Settings | None)

SETTINGS#

alias of LinePlotSettings

STATE#

alias of LinePlotState

INPUT_SIGNAL = InputStream:unlocated[typing.Optional[ezmsg.util.messages.axisarray.AxisArray]]()#
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 controls: List[Viewable]#
panel()[source]#
Return type:

Viewable

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

None

Parameters:

msg (AxisArray | None)

async update_data()[source]#
Return type:

None