Receive an LSL Stream
Receiving an LSL Stream
To receive the EEG data from a real or simulated stream over LSL, you can use some of the example scripts in the getting started repo.
Time-corrected timestamps are streamed as the timestamp associated with each sample sent over LSL.
API Stream Names & Format
Blink: PetalStream_blink
[1 = blink, 0 = no blink]
Eye Movement: PetalStream_eye
[1 = movement, 0 = no movement]
Bandpower: PetalStream_bandpower
[channel1_alpha, channel1_beta, channel1_theta, channel1_delta, channel2_alpha, channel2_beta, channel2_theta, bandpower_ch2_delta, channel3_alpha, channel3_beta, channel3_theta, bandpower_ch3_delta,
channel4_alpha, channel4_beta, channel4_theta, bandpower_ch4_delta]
Artifact Detection: PetalStream_artifact_detect
[channel1 (1 = good, 0 = bad), channel2 (1/0), channel3 (1/0), channel4 (1/0)]
All Metrics: PetalStream_metrics
[blink (0 = no blink, 1 = blink), eye (0 = no movement, 1 = movement), artifact_detect_ch1 (good = 1, bad = 0), artifact_detect_ch2, artifact_detect_ch3, artifact_detect_ch4, bandpower_ch1_alpha (any # = good, nan = bad), channel1_alpha, channel1_beta, channel1_theta, channel1_delta, channel2_alpha, channel2_beta, channel2_theta, bandpower_ch2_delta, channel3_alpha, channel3_beta, channel3_theta, bandpower_ch3_delta,
channel4_alpha, channel4_beta, channel4_theta, bandpower_ch4_delta]
Last updated