[Eeglablist] The same number epochs and events: solution

Pawel B. pbodera at gmail.com
Sat Sep 19 06:50:09 PDT 2015


Hello,

Please find enclosed  'ready to use' solution to convert edf files which
have the same number epochs as events.

First have your eeglab data in memory then type:

EEG = eeg_epoch2continuous(EEG)

the new EEG file will be saved as 'set' file using the following code:

EEG = pop_saveset( EEG,EEG.filename,'filepath', EEG.filepath);
                [ALLEEG, EEG, CURRENTSET] = eeg_store( ALLEEG, EEG, 1);
eeglab redraw

Regards, Pawel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20150919/76ccf9a1/attachment.html>


More information about the eeglablist mailing list