Real Time BCI frameworks using Python, Wyrm, Matlab, BCILAB, etc.

edited July 2016 in Research
Hi there,

I am performing real time auditory stimulation in phase to an EEG using the OpenBCI. Right now I have the necesary script written in matlab within a loop.

What I need is the latest EEG Value and Timestamp set to a variable at the beginning of each loop. My script relies on a simple threshold, so I simply need to see when the EEG is of a certain value.

The EEG needs to be bandpass filtered between .25 and 4 Hz in real time.

Prior to this, I've been using OpenVibe to filter the data, which I would then open in python to give feedback in real time to the eeg. However when trying this with Matlab, I realize this approach may not be fast enough, as the data jumps in half second intervals. I would think my code is at fault, but these jumps are perfectly in time to the openvibe graph lag, so I think its just a limitation of the software (unless someone can suggest otherwise).

I figured it'd be best for me to directly access the data in matlab, and it seems I'll be using BCIlab and lab streaming layer. Before I begin, I just wanted to see if anyone had performed a similar feat. I know real time filtering can be a tricky issue, so I'm hoping BCIlab might have the ability similar to programs like openvibe. Thanks for any help!

Alec

Comments

Sign In or Register to comment.