brainaccess_board.stream#

Classes#

Stimulation

Initialize LSL marker device.

Module Contents#

class brainaccess_board.stream.Stimulation(name='BrainAccessMarkers', source_id='BrainAccessMarkers')[source]#

Initialize LSL marker device.

Parameters:
  • name (str, optional) – Name of the LSL stream, by default “BrainAccessMarkers”

  • source_id (str, optional) – Source ID of the LSL stream, by default “BrainAccessMarkers”

annotate(msg)[source]#

Send a marker to the LSL stream

Parameters:

msg (str) – Marker message to send to the LSL stream.

Return type:

None

have_consumers()[source]#

Check if there are any consumers connected to the LSL stream

Returns:

True if there are consumers connected to the LSL stream, False otherwise.

Return type:

bool