16.11.2012 Views

Brain–Computer Interfaces - Index of

Brain–Computer Interfaces - Index of

Brain–Computer Interfaces - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Using BCI2000 in BCI Research 267<br />

Source<br />

Storage<br />

Data Formats<br />

Export/Import<br />

brain signals<br />

event markers<br />

event markers<br />

Scripting<br />

Operator<br />

system configuration visualization<br />

Signal<br />

Processing<br />

Matlab<br />

processing<br />

control signals<br />

event markers<br />

event markers<br />

User<br />

Application<br />

Online data<br />

exchange<br />

Fig. 6 BCI2000 interfaces to external programs are indicated with large arrows<br />

Source module. Thus, further file formats may be added by creating new components;<br />

the effort <strong>of</strong> writing such a component is limited to implementing the output<br />

format itself, by providing code that writes incoming data into an output stream.<br />

2.3.2 Data Exchange<br />

BCI2000 provides a MatlabTM extension (i.e., a “mex file”) that supports reading<br />

recorded BCI2000 data files directly into Matlab. Using this component, data from<br />

multiple files may be concatenated, and restricted to a range <strong>of</strong> samples within files.<br />

Parameters and states are mapped to Matlab variables, allowing to access parameter<br />

and state values by name, which results in well-understandable Matlab code.<br />

Building on that mex file, BCI2000 provides an EEGlab extension [8] that enables<br />

EEGlab to directly operate on BCI2000 data files. Other data exchange components<br />

include an export tool that translates BCI2000 data files into ASCII data, or<br />

into binary format suited for import into BrainProductsTM BrainVision Analyzer. In<br />

addition to the components provided by BCI2000 itself, the BIOSIG toolbox [30]<br />

also includes support for BCI2000 data files.<br />

2.3.3 Matlab Filter Scripts<br />

As an alternative to writing filter code in C++, online processing <strong>of</strong> brain signals<br />

may be done using Matlab code. BCI2000 comes with a “MatlabFilter” that exposes<br />

BCI2000’s full signal processing filter interface to Matlab TM . Thus, a new signal

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!