mne_realtime.MockLSLStream#

class mne_realtime.MockLSLStream(host, raw, ch_type, time_dilation=1, status=False)[source]#

Mock LSL Stream.

Parameters:
hoststr

The LSL identifier of the server.

rawinstance of Raw object

An instance of Raw object to be streamed.

ch_typestr

The type of data that is being streamed.

time_dilationint

A scale factor to speed up or slow down the rate of the data being streamed.

statusbool

If True, give status updates every sfreq samples.

start()[source]#

Start a mock LSL stream.

stop()[source]#

Stop a mock LSL stream.

Examples using mne_realtime.MockLSLStream#

Plot real-time epoch data with LSL client

Plot real-time epoch data with LSL client