<div dir="ltr"><div>Yes,</div><div>This is the way by which I also decided to solve this problem.</div><div>Thank you </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 15, 2014 at 2:11 AM, Makoto Miyakoshi <span dir="ltr"><<a href="mailto:mmiyakoshi@ucsd.edu" target="_blank">mmiyakoshi@ucsd.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Shahar,<div><br></div><div>It would be faster to build your own rather than modifying EEGLAB to be able to deal with variable epoch length... simple solution is to use set the epoch length to the longest epoch you have, and let other epochs redundant/meaninless at the end. I actually often do redundant epoch thing since our wavelet transform requires -1 to 2 seconds regardless of actual stimulus onset asynchrony to analyze down to 3 Hz.</div>
<div><br></div><div>Makoto</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-14 2:16 GMT-07:00 shahar <span dir="ltr"><<a href="mailto:shahars10@gmail.com" target="_blank">shahars10@gmail.com</a>></span>:<div>
<div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div dir="ltr"><div>Hi Stephen,</div><div><div>Thank you for your answer. The length of the epochs in our case is not constant. Does anyone know if there is a way to specify eopchs having variable length in EEGLAB ?</div>
<div>
Thank you</div></div><div><br></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 14, 2014 at 8:18 AM, Stephen Politzer-Ahles <span dir="ltr"><<a href="mailto:spa268@nyu.edu" target="_blank">spa268@nyu.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div dir="ltr">Hi Shahar,<div><br></div><div>Would this result in variable length epochs? If so, I don't think EEGLAB can do that (last time I checked), but it would be possible in FieldTrip. If the epoch lengths wouldn't be variable (e.g., if you know that every backward_stop event is exactly 1 second after the preceding backward_start event) then I imagine you would be able to do this with the traditional method (extracting epochs based on just backward_start).</div>
<div><br></div><div>Best,</div><div>Steve</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div><br><br></div>Stephen Politzer-Ahles<br>New York University, Abu Dhabi<br>Neuroscience of Language Lab<br>
<a href="http://www.nyu.edu/projects/politzer-ahles/" target="_blank">http://www.nyu.edu/projects/politzer-ahles/</a><br></div></div>
<br><br><div class="gmail_quote"><div><div>On Tue, May 13, 2014 at 11:40 PM, shahar <span dir="ltr"><<a href="mailto:shahars10@gmail.com" target="_blank">shahars10@gmail.com</a>></span> wrote:<br></div></div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div><div>
<div dir="ltr"><div>Hello,</div><div>As I've seen, there is an option to extract epochs based upon a single event, and in this case one can specify the start & end times of these epochs, relatively to each single event.</div>
<div>I want to specify the epochs differently: I want to use a couple of events to define a single epoch. for instance, if we look at a patient going backwards, I want the epoch to start half a second before the event "backward_start", and end half a second after the next "backward_stop" event. Is it possible to specify epochs in this manner and how ?</div>
<div>Thank you,</div><div><br></div><div>Shahar</div></div>
<br></div></div>_______________________________________________<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" target="_blank">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" target="_blank">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></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" target="_blank">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" target="_blank">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div></div></div><span class="HOEnZb"><font color="#888888"><br>
<br clear="all"><div><br></div>
-- <br><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div>
</font></span></div>
</blockquote></div><br></div>