<html><head><base href="x-msg://1012/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello James,<div><br></div><div>Thank you very much for that. I have a very similar question as Taewon and this seems to work nice. </div><div><br></div><div>However, this code you sent using eeg_regepochs seems to discard previous events created in my EEGLab dataset when I manually selected bad segments of my continuous dataset for deletion (using the standard EEGLab GUI to plot, mark segments and delete). But it is important for me to still know where these events are before, for example, doing FFT on the segmented data</div><div><br></div><div>Do you know how to segment data in EEGLab keeping previous events on the dataset?</div><div><br></div><div>many thanks</div><div><br></div><div>eduardo</div><div><br></div><div><br><div><div>Em 26/11/2013, às 02:08, James Desjardins escreveu:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div ocsi="0" fpstyle="1"><div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt; ">Hi Chung,<br><br>There is no menu item for dividing the data into regular intervals yet, but the eeg_regepochs should do what you want from the command line.<br><br>The following should come pretty close to producing what you described:<br><br><font face="Courier New">EEG=eeg_regepochs(EEG,'recurrence',2,'limits',[-2 0]);<br>EEG=eeg_checkset(EEG);<br>eeglab redraw<br></font><div><br><div style="font-family: Tahoma; font-size: 13px; "><div class="BodyFragment"><font size="2"><span style="font-size: 10pt; "><div class="PlainText">James Desjardins, MA<br>Electrophysiology Technologist<br>Cognitive and Affective Neuroscience Lab, Psychology Department<span class="Apple-converted-space"> </span><br>Jack and Nora Walker Centre for Lifespan Development Research<br>Brock University<br>500 Glenridge Ave.<br>St. Catharines, ON, Canada L2S 3A1<br>905-688-5550 x4676<br>--<br>"'Cause you never can tell What goes on down below!<br>"This pool might be bigger Than you or I know!"<br><br>McElligot's Pool<br>Dr.Seuss 1947</div></span></font></div></div></div><div style="font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 16px; "><hr tabindex="-1"><div id="divRpF252978" style="direction: ltr; "><font size="2" color="#000000" face="Tahoma"><b>From:</b><span class="Apple-converted-space"> </span><a href="mailto:eeglablist-bounces@sccn.ucsd.edu">eeglablist-bounces@sccn.ucsd.edu</a><span class="Apple-converted-space"> </span>[<a href="mailto:eeglablist-bounces@sccn.ucsd.edu">eeglablist-bounces@sccn.ucsd.edu</a>] on behalf of Taewon Chung 정태원 [<a href="mailto:tchung215@gmail.com">tchung215@gmail.com</a>]<br><b>Sent:</b><span class="Apple-converted-space"> </span>November-22-13 3:44 AM<br><b>To:</b><span class="Apple-converted-space"> </span><a href="mailto:eeglablist@sccn.ucsd.edu">eeglablist@sccn.ucsd.edu</a><br><b>Cc:</b><span class="Apple-converted-space"> </span>백연지<br><b>Subject:</b><span class="Apple-converted-space"> </span>[Eeglablist] How to segment this continuous data into a regular time windows?<br></font><br></div><div></div><div><div dir="ltr">Dear all,<div><br></div><div>I have obtained single continuous EEG data,</div><div>and I want to know how to segment this continuous data into a regular time windows from the recording starting point (e.g. 0 ~ 2 sec, 2~ 4, 4 ~ 6, ...) regardless of event markers.</div><div>Is there any applicable menu in EEGLAB or function that I can use in the command line?</div><div>If there is, please let me know how to go about writing an appropriate script. </div><div><br></div><div>Thanks a lot in advance!</div><div><br></div><div>Taewon Chung</div></div></div></div></div>_______________________________________________<br>Eeglablist page:<span class="Apple-converted-space"> </span><a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>To unsubscribe, send an empty email to<span class="Apple-converted-space"> </span><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<span class="Apple-converted-space"> </span><a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a></div></span></blockquote></div><br></div></body></html>