Scope
- class gpype.frontend.widgets.base.scope.Scope[source]
-
Base class for oscilloscope-style visualization widgets.
Combines INode data processing with Widget visualization for real-time plotting of BCI signals. Uses PyQtGraph for high-performance plotting with configurable appearance and multiple curve support. Note that subclasses must implement the _update() method.
- __init__(input_ports=None, update_rule=None, line_color=None, axis_color=None, name='Scope', **kwargs)[source]
Initialize the Scope widget with plot setup and color configuration.
- Parameters:
input_ports (list[IPort.Configuration], optional) – Input port configurations for pipeline connections.
update_rule (INode.UpdateRule, optional) – Node update rule.
line_color (tuple[int, int, int], optional) – RGB values for plot line color. Uses system text color if None.
axis_color (tuple[int, int, int], optional) – RGB values for plot background color. Uses system window color if None.
name (str) – Widget group box title.
**kwargs – Additional configuration passed to parent classes.