Categories
Science Technology

OpenBCI now supported with FieldTrip and MATLAB

Yesterday my 32-bit OpenBCI board arrived. Today I have been working most of the day to get it to work with FieldTrip, which is my preferred rapid application development and data analysis platform based on MATLAB.

OpenBCI comes with some example software. I was able to get the Processing example application up and running in 5 minutes. I also tried the Python example application, but did not manage to get that running on my Mac. Although it would have been possible to take the Processing (Java) interface or the Python interface and extend either one of those with the FieldTrip buffer, I decided to make a small stand-alone command-line application in native C. In my experience it is easier to port and maintain it for the different platforms (Windows, Linux, Mac, Raspberry Pi, etc).

The source code for the openbci2ft application can be found on the FieldTrip github page. The documentation is on the FieldTrip wiki.

Leave a Reply

Your email address will not be published. Required fields are marked *