Documentation for the mockup_streamer
Lightweight Random Streamer
Tip
For fast startup when streaming random data, use the lightweight random_streamer module. This module avoids heavy imports (mne, scipy) and starts in ~0.2s instead of ~1.5s.
The github repository for this module is located at: https://github.com/bsdlab/dp-mockup-streamer
| random_streamer.RandomStreamConfig | Configuration for a random data stream. |
| random_streamer.RandomStreamer | Lightweight random data streamer. |
| random_streamer.run_random_stream | Run a random data stream. |
| random_streamer.run_random_stream_thread | Run random streaming in a separate thread. |
File-based Streamer
Note
The file-based streamer requires additional dependencies (mne, pyxdf). Install with: pip install dp-mockup-streamer[files]
| main.MockupStream | A mockup streamer class to represent data from one source |
| main.run_stream | |
| main.run_mockup_streamer_thread | Run the streaming within a separate thread and have a stop_event |