main.connect_stream_watcher

threshold_controller.main.connect_stream_watcher(config)

Connect to and configure the input stream watcher.

This function initializes a StreamWatcher to monitor an input LSL stream. If the outlet frequency is set to “derive”, the frequency is set equal to the nominal sampling rate of the input stream.

Parameters

Name Type Description Default
config dict Configuration dictionary containing stream connection settings. required

Returns

Name Type Description
StreamWatcher Connected StreamWatcher instance ready for data monitoring.