Command line🔗
A Player
, or the legacy StreamViewer
, can be
called from the command line. For each command, the flag -h
or --help
provides
additional information.
Player🔗
An MNE readable file can be streamed with a PlayerLSL
with the command:
$ mne_lsl_player file
With the arguments:
file
(mandatory): file-like, file to stream (must be (readable withmne.io.read_raw()
).-c
,--chunk_size
(optional, default16
):int
, number of samples pushed at once.-n
,--name
(optional, defaultMNE-LSL-Player
):str
, name of the LSL stream.--annotations
(optional): enable streaming of annotations on a secondStreamOutlet
.
StreamViewer🔗
A legacy StreamViewer
can be opened with the command:
$ mne_lsl_stream_viewer
With the arguments:
-s
,--stream_name
(optional):str
, name of the stream to connect to.
Note
If stream_name
is not provided, a prompt is displayed to select a stream among
the available ones.
The StreamViewer
opens 2 windows:
A controller to select the channels to plot and set different plotting parameters.
A plotting window using the
pyqtgraph
backend displaying the signal in real-time.