main.run_random
mockup_streamer.main.run_random(
stop_event,
n_channels=10,
sfreq=100,
pre_buffer_s=300,
stream_name='mockup_random',
markers_t_s=1,
marker_values=['a', 'b', 'c'],
)A simple CLI to spawn an LSL mockup stream with random data
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| stop_event | threading.Event | event used to stop the streaming | required |
| n_channels | int | number of channels | 10 |
| sfreq | int | sampling frequency | 100 |
| pre_buffer_s | int | number of samples to be pre-generated, after streaming, another set will be generated | 300 |
| stream_name | str | name of the stream | 'mockup_random' |
| markers_t_s | int | time interval of markers | 1 |
| marker_values | list | values of markers | ['a', 'b', 'c'] |