Annotations

class bci_framework.framework.widgets.annotations.Annotations(parent, core)[source]

Widget connected with Kafka to stream messages.

__init__(parent, core)[source]

Constructor

add_annotation(onset, duration: str, description: str, action: Optional[bool] = True) None[source]

Write the annotation in the GUI.

add_command(onset: str, command: str) None[source]

Write the command in the GUI.

add_marker(onset: str, marker: str, timestamp: Optional[bool] = True) None[source]

Write the marker in the GUI.

connect() None[source]

Connect events.

save_annotation() None[source]

Write the annotation in the streaming.

save_command() None[source]

Write the command in the streaming.

save_marker() None[source]

Write the marker in the streaming.