Page 1 of 1
Convert data .dat to .gdf
Posted: 12 Feb 2013, 11:45
by liib
Hello,
I am trying to convert BCI2000 EEG data which are .dat to gdf. files,
how should I do it?
Thank you!
Re: Convert data .dat to .gdf
Posted: 13 Feb 2013, 04:26
by boulay
You can use EEGLAB for Matlab. It has a function to import BCI2000 data and a function to export data to GDF.
If you don't have Matlab, these things can be done in Python but the explanation on how to do so is substantially longer. I'd be happy to tell you how but I'll wait to see if you make such a request.
-Chad
Re: Convert data .dat to .gdf
Posted: 13 Feb 2013, 04:27
by boulay
Also, in case you are still actively collecting BCI2000 data, it is possible to save data to GDF directly from BCI2000, simply add
after your call to the signal source module.
http://www.bci2000.org/wiki/index.php/U ... le_Formats
Re: Convert data .dat to .gdf
Posted: 13 Feb 2013, 19:14
by liib
Thank you both!
You are helpfull!
I have Matlab so I will work on it!
Re: Convert data .dat to .gdf
Posted: 05 Mar 2013, 02:04
by ashwini
hi,
we would like to know how to convert eeg data which is in the HDF5 and gdf format to the bci .dat format so it can be viewed using the BCI2000 viewer tool.
we are new to eeglab and hence dont know how to go about it.
ashwini.
Re: Convert data .dat to .gdf
Posted: 05 Mar 2013, 02:22
by boulay
ashwini,
Are you saying you want to use the BCI2000 viewer tool because you don't know how to use EEGLAB?
I think that the time it will take to convert your data from GDF to .dat will be much greater than the time it will take to learn how to import GDF files into EEGLAB (which can be done natively using the EEGLAB GUI). Furthermore, BCI2000 viewer tool is not terribly useful beyond taking a quick peek at your data (it is very useful for that purpose).
If you don't like EEGLAB, there are other programs out there to read GDF data, even in Python.
-Chad
Re: Convert data .dat to .gdf
Posted: 11 Mar 2013, 06:16
by ashwini
thank you chad
cheers
ashwini