One way to deal with this can be: <div><div>-Short-epoch the first long epoch</div><div>-Then delete the short epochs indexed bigger than one (keep the first epoch EEG.epoch(1,1))</div><div>-Then create a new EEG set with this short epoch, and delete the initial long epoch</div>
<div>-Recursively short-epoch the other long epochs and</div><div>-Append the first epochs of these long epochs to make a longer EEG set (there is append function, works well)</div><div><br></div><div>for each long epoch</div>
<div>do short-epoch </div><div>save first short-epoch</div><div>delete other epochs</div><div>append the short epoch</div><div>go the the next long epoch</div><div><br></div><div><br></div><div>I hope this helps,</div><div>
Baris</div><div><br></div><div> <br><div class="gmail_quote">On Tue, May 3, 2011 at 6:18 PM, Cockburn, Jeffrey <span dir="ltr"><<a href="mailto:jeffrey_cockburn@brown.edu">jeffrey_cockburn@brown.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Greetings.<div><br></div><div>I like to take long epoch durations to give ICA a little more data to work with (about 5 seconds from start to finish surrounding my events of interest). After running ICA and extracting the components I need, I would like to reduce the epoch duration around the events of interest (about 1 second from start to finish). I can't use the 'extract epochs' function because this produces duplicate events since the original 5 second epoch window captures more than one event of interest in each epoch. I've also tried manually reshaping EEG.data and EEG.times, but this seems to confuse EEGlab as to when events occur in relation to the raw EEG data. Is there an easier way to do this?</div>

<div><br></div><div>Thanks</div>
<br>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div><br><br clear="all"><br>-- <br>SB Demiral, PhD.<br>
Department of Psychology <br>7 George Square<br>The University of Edinburgh<br>Edinburgh, EH8 9JZ<br>UK<br>Phone: +44 (0131) 6503063<br>
</div></div>