conntextual.ui.channel.selected
index
/home/vkottler/src/vkottler/workspace/conntextual/conntextual/ui/channel/selected.py

A module implementing an interface for channel selection.

 
Classes
       
builtins.object
SelectedChannel

 
class SelectedChannel(builtins.object)
    SelectedChannel(name: str, channel: tuple[typing.Union[runtimepy.channel.Channel[runtimepy.primitives.int.Int8Primitive], runtimepy.channel.Channel[runtimepy.primitives.int.Int16Primitive], runtimepy.channel.Channel[runtimepy.primitives.int.Int32Primitive], runtimepy.channel.Channel[runtimepy.primitives.int.Int64Primitive], runtimepy.channel.Channel[runtimepy.primitives.int.Uint8Primitive], runtimepy.channel.Channel[runtimepy.primitives.int.Uint16Primitive], runtimepy.channel.Channel[runtimepy.primitives.int.Uint32Primitive], runtimepy.channel.Channel[runtimepy.primitives.int.Uint64Primitive], runtimepy.channel.Channel[runtimepy.primitives.float.FloatPrimitive], runtimepy.channel.Channel[runtimepy.primitives.float.DoublePrimitive], runtimepy.channel.Channel[runtimepy.primitives.bool.BooleanPrimitive]], typing.Optional[runtimepy.enum.RuntimeEnum]], timestamps: List[float], values: List[Union[float, int, bool]], start_ns: int) -> None
 
A container for selected-channel information.
 
  Methods defined here:
__eq__(self, other)
Return self==value.
__init__(self, name: str, channel: tuple[typing.Union[runtimepy.channel.Channel[runtimepy.primitives.int.Int8Primitive], runtimepy.channel.Channel[runtimepy.primitives.int.Int16Primitive], runtimepy.channel.Channel[runtimepy.primitives.int.Int32Primitive], runtimepy.channel.Channel[runtimepy.primitives.int.Int64Primitive], runtimepy.channel.Channel[runtimepy.primitives.int.Uint8Primitive], runtimepy.channel.Channel[runtimepy.primitives.int.Uint16Primitive], runtimepy.channel.Channel[runtimepy.primitives.int.Uint32Primitive], runtimepy.channel.Channel[runtimepy.primitives.int.Uint64Primitive], runtimepy.channel.Channel[runtimepy.primitives.float.FloatPrimitive], runtimepy.channel.Channel[runtimepy.primitives.float.DoublePrimitive], runtimepy.channel.Channel[runtimepy.primitives.bool.BooleanPrimitive]], typing.Optional[runtimepy.enum.RuntimeEnum]], timestamps: List[float], values: List[Union[float, int, bool]], start_ns: int) -> None
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self)
Return repr(self).
poll(self, max_plot_samples: int) -> None
Poll the underlying channel.
reset(self) -> None
Reset this channel's start time.

Static methods defined here:
create(name: str, channel: tuple[typing.Union[runtimepy.channel.Channel[runtimepy.primitives.int.Int8Primitive], runtimepy.channel.Channel[runtimepy.primitives.int.Int16Primitive], runtimepy.channel.Channel[runtimepy.primitives.int.Int32Primitive], runtimepy.channel.Channel[runtimepy.primitives.int.Int64Primitive], runtimepy.channel.Channel[runtimepy.primitives.int.Uint8Primitive], runtimepy.channel.Channel[runtimepy.primitives.int.Uint16Primitive], runtimepy.channel.Channel[runtimepy.primitives.int.Uint32Primitive], runtimepy.channel.Channel[runtimepy.primitives.int.Uint64Primitive], runtimepy.channel.Channel[runtimepy.primitives.float.FloatPrimitive], runtimepy.channel.Channel[runtimepy.primitives.float.DoublePrimitive], runtimepy.channel.Channel[runtimepy.primitives.bool.BooleanPrimitive]], typing.Optional[runtimepy.enum.RuntimeEnum]]) -> 'SelectedChannel'
Create a selected-channel instance.

Data descriptors defined here:
__dict__
dictionary for instance variables
__weakref__
list of weak references to the object

Data and other attributes defined here:
__annotations__ = {'channel': tuple[typing.Union[runtimepy.channel.Channel[run...e]], typing.Optional[runtimepy.enum.RuntimeEnum]], 'name': <class 'str'>, 'start_ns': <class 'int'>, 'timestamps': typing.List[float], 'values': typing.List[typing.Union[float, int, bool]]}
__dataclass_fields__ = {'channel': Field(name='channel',type=tuple[typing.Union[run...appingproxy({}),kw_only=False,_field_type=_FIELD), 'name': Field(name='name',type=<class 'str'>,default=<da...appingproxy({}),kw_only=False,_field_type=_FIELD), 'start_ns': Field(name='start_ns',type=<class 'int'>,default...appingproxy({}),kw_only=False,_field_type=_FIELD), 'timestamps': Field(name='timestamps',type=typing.List[float],...appingproxy({}),kw_only=False,_field_type=_FIELD), 'values': Field(name='values',type=typing.List[typing.Unio...appingproxy({}),kw_only=False,_field_type=_FIELD)}
__dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,ord...rue,kw_only=False,slots=False,weakref_slot=False)
__hash__ = None
__match_args__ = ('name', 'channel', 'timestamps', 'values', 'start_ns')

 
Data
        ChannelResult = tuple[typing.Union[runtimepy.channel.Channel[run...e]], typing.Optional[runtimepy.enum.RuntimeEnum]]
List = typing.List
Union = typing.Union