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 with mne.io.read_raw()).

  • -c, --chunk_size (optional, default 16): int, number of samples pushed at once.

  • -n, --name (optional, default MNE-LSL-Player): str, name of the LSL stream.

  • --annotations (optional): enable streaming of annotations on a second StreamOutlet.

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.