main.init_lsl_outlet

passthrough_decoder.main.init_lsl_outlet(cfg)

Initialize an LSL (Lab Streaming Layer) outlet for the passthrough decoder.

This function creates an LSL outlet that streams the data from the passthrough decoder as a single-channel stream.

Parameters

Name Type Description Default
cfg dict Configuration dictionary containing LSL outlet settings. Must include an “lsl_outlet” key with name, type, nominal_freq_hz, and format fields. required

Returns

Name Type Description
pylsl.StreamOutlet The LSL outlet for streaming the controller output.