Convert EEG from gdf to BCI2000 dat format for analysis

Locked
sumits
Posts: 18
Joined: 15 Nov 2011, 06:25

Convert EEG from gdf to BCI2000 dat format for analysis

Post by sumits » 24 Dec 2012, 00:30

Hi,

I am trying to run the BCI2000 mu-rhythm offline analysis tool on datasets that have been recorded using the Emotiv Neuroheadset and OpenVibe Acquisition Server.

The data is available in .gdf format. However, the offline analysis tool allows to add only files in BCI2000 .dat format.

How can I convert the file in .gdf format to .dat format?

Thanks

boulay
Posts: 382
Joined: 25 Dec 2011, 21:14

Re: Convert EEG from gdf to BCI2000 dat format for analysis

Post by boulay » 24 Dec 2012, 07:05

Getting your data into the the right format for use by the mu-rhythm analysis tool can be done with MATLAB. First you should load it into MATLAB using the BIOSIG toolbox. Then, restructure your data and states with custom MATLAB code. Finally, use BCI2000\tools\mex\save_bcidat.m to save the data in BCI2000.dat format.

However, since this method requires MATLAB and the BIOSIG toolbox anyway, I think you might be better off simply installing the EEGLAB toolbox for MATLAB http://sccn.ucsd.edu/eeglab/ and using that (or one of its many plugins) for your analysis. EEGLAB uses the BIOSIG toolbox and can import GDF files natively. Also, check out BCILAB http://sccn.ucsd.edu/wiki/BCILAB. I've never used it myself but it looks interesting.

If you can give more information about what you hope to achieve with your analysis then I might be able to provide you with more specific instructions.

-Chad

sumits
Posts: 18
Joined: 15 Nov 2011, 06:25

Re: Convert EEG from gdf to BCI2000 dat format for analysis

Post by sumits » 24 Dec 2012, 11:16

Thanks for the quick help!

Locked

Who is online

Users browsing this forum: No registered users and 0 guests