[Eeglablist] output file with epoch information included

Angel Tabullo angeltabullo at yahoo.com
Tue Jan 3 05:45:59 PST 2012


Hi there! I'm Angel Tabullo from Argentina, and I'm new to the list. I wanted to ask if anyone knows how can I export EEG and epoch data from EGGLAB to the same text file. EEGLAB generates a file with the following structure: 

       FPz EOG1 F3 Fz F4 EOG2 FC5 FC1 ...

−1000.0000 −1.1091 2.0509 0.1600 −0.1632 −0.4848 −1.3799 −0.0254 −0.4788 ...
−992.1880 0.6599 1.7894 0.3616 0.6354 0.8656 −2.9291 −0.0486 −0.4564 ...
−984.3761 1.8912 1.3653 −0.6887 −0.0437 0.2176 −0.9767 −0.6973 −1.5856 ...
−976.5641 0.5129 −0.5399 −1.4076 −1.2616 −0.8667 −3.5189 −1.5411 −1.9671 ...

But I need to create a text file that contains both epoch information (from individual trials) and EEG channel data and time:

   Trial NTypeFPz EOG1 F3 Fz   F4EOG2 FC5 FC1 ...
-100.000         1Target −1.1091 2.0509 0.1600 −0.1632 −0.4848 −1.3799 −0.0254 −0.4788 ...
-992.18891Target 0.6599 1.7894 0.3616  0.6354 0.8656 −2.9291 −0.0486 −0.4564 ...
−984.37611Target 1.8912 1.3653 −0.6887 −0.0437 0.2176 −0.9767 −0.6973 −1.5856 ... 

...
-100.0002Foil 1.8912 1.3653 −0.6887 −0.0437 0.2176 −0.9767 −0.6973 −1.5856 ...
−992.18802Foil −984.33 1.8912 1.3653 −0.6887 −0.0437 0.2176 −0.9767 −0.6973 −1.5856 ... 



I guess I should be able to do it with a script, but I can't figure out how. Please excuse me if the question is too basic for the mailing list, but I've been reading the tutorial and help files and still can't figure out what commands functions to use. Thank you for your attention!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20120103/024d7d74/attachment.html>


More information about the eeglablist mailing list