bsl.triggers.MockTrigger

class bsl.triggers.MockTrigger[source]

Mock trigger class.

Delivered triggers are logged at the ‘INFO’ level.

Methods

signal(value)

Send a trigger value.

signal(value)[source]

Send a trigger value.

Parameters:
valueint

Value of the trigger, between 1 and 255.

Examples using bsl.triggers.MockTrigger

StreamRecorder: resting-state recording

StreamRecorder: resting-state recording

StreamReceiver: real-time alpha band power

StreamReceiver: real-time alpha band power