Commit b01da5db authored by Marios Fanourakis's avatar Marios Fanourakis

updated description

parent bb34643c
#!/usr/bin/env python
"""
ReceiveAndPlot example for LSL
""" Lists and plots LSL streams
A basic QT interface to list available inlets and select the ones to plot.
Will plot all channels of a given data inlet in a separate plot.
All Marker Inlets are plotted on one plot.
Interface includes a button to update the inlet list.
This example shows data from all found outlets in realtime.
It illustrates the following use cases:
- efficiently pulling data, re-using buffers
- automatically discarding older samples
- online postprocessing
This code has been edited from:
ReceiveAndPlot example available at
https://github.com/labstreaminglayer/liblsl-Python/tree/master/pylsl/examples
"""
import sys
from typing import List
import math
import numpy as np
import math
import pylsl
import pyqtgraph as pg
from pyqtgraph.Qt import QtCore, QtGui, uic, QtWidgets
from typing import List
import sys
from pyqtgraph.Qt import QtCore, QtGui, QtWidgets
__author__ = "Marios Fanourakis"
# Basic parameters for the plotting window
plot_duration = 10 # how many seconds of data to show
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment