I need to plot my raw EEG signal coming over the LSL server. I could connect to LSL with mne_realtime.LSLClient but couldn’t get the raw data. I could only find mne_realtime.LSLClient.get_data_as_epoch in the doc. Since my signals don’t contain event information, i couldn’t make use of it.
With the LSLClient in mne_realtime, you should be able to access the data, epoch by epoch.
You can use one of the many viewer to visualize the data stream in real-time: Viewers — Labstreaminglayer 1.13 documentation
Or you can use BSL, which can both access the data window by window (epoch) and has a viewer: https://bsl-tools.github.io/ Note: I am refactoring this library and the python-binding for LSL, thus the API will change soon. Version 1.0 will not be backward compatible with version 0.5.
Basically, I have written my code using MNE python and the whole point of mine is to do motor imagery classification in real-time. So, I need a continuous raw signal (please correct me if I am wrong) for detecting online.
Or could you please share any reference material for the online detection of motor imagery?
NeuroDecode was design specifically for Motor Imagery. It is a couple years old, and it is not maintained, but it was performant on motor imagery task.