I have a question regarding a real-time EEG experiment with PsychoPy.
Assume I have access to real-time EEG stream with labstreaminglayer (LSL). Using pylsl I have to be able to access to real-time EEG signals. Then, let’s say I have to process every 500 samples of EEG signals in real-time and do something after. Is it possible to keep in memory the last received 500 samples of EEG in Psychopy and process in real-time? If yes, how?