Petal Docs
  • Introduction
  • Connect to muse (Free)
    • Connect muse & Stream Raw Data
      • Connect muse to Mac
      • Connect muse to Windows
  • Receive Data Streams (Free)
    • Receive an LSL Stream
      • Python Examples
      • Node Examples
    • Receive an OSC Stream
      • Python Examples
      • Node Examples
    • Receive Webhooks
      • Python Examples
      • Node Examples
  • Log Data (Free)
    • Logging Data
  • Metrics API (Maker Plan)
    • API Integration
    • Make Metrics API calls
      • Python Examples
      • Node.js Examples
  • Receive Data Streams (Maker Plan)
    • Receive an LSL Stream
      • Python Examples
      • Node Examples
    • Receive an OSC Stream
      • Python Examples
      • Node Examples
    • Receive Webhooks
      • Python Examples
      • Node Examples
  • Glossary of Terms
    • Glossary of Terms
  • 🧪Markers
    • 🧪Markers User Guide
Powered by GitBook
On this page
  • Receiving an LSL Stream
  • API Stream Names & Format

Was this helpful?

  1. Receive Data Streams (Maker Plan)

Receive an LSL Stream

PreviousNode.js ExamplesNextPython Examples

Last updated 3 years ago

Was this helpful?

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 .

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]

getting started repo