I have a set of files in BCI2000 file format and I need them converted to EEGLAB format. To do this, there is a matlab script, but it is not converting all of the events that I need. There is a forum post relating to the issue here: [url removed, login to view]
Beyond that, I have eyetracking data that I need aligned with the previous EEG data.
Doing the work will require you to have installed Matlab R2011b or later, EEGLAB (ftp://[url removed, login to view]), and the eye-eeg plugin (accessible from the EEGLAB menus under file->manage eeglabextensions -> data processing extensions. EYE-EEG is on page two), and the BCI2000import extension (as above, but on the first data import extensions page.)
There is a .m file in BCI2000import called pop_loadbci2000.m which is where the event loop is processed. At each StimulusType transition the current state of that vector should be added as a field to the StimulusBegin event. To be clear, each StimulusBegin event should possess a StimulusType field with a 1 or a 0 in it.
The second problem is in aligning the eyetracking data. There is a .m file in the EYE-EEG project which does this, but it does not find events to align to the EEG data. The events in the eyetracker data such as "MSG 15472754 non-target" correspond to the StimulusType transitions to 0 (at StimulusBegin) and those such as "MSG 15473128 target" to the StimulusType transitions to 1.
I have attached one pair of files, I have other examples to test on. Deliverables will be a pair of .m files - modifications to the load functions in EYE-EEG and BCI2000import. Or, alternatively, a standalone conversion .m file to appropriately modify the originating .dat file to hold everything needed.
There will be many of these files, so something that can be batch processed for analysis is ideal.