<div dir="ltr"><div class="gmail_default"><font color="#000000">Hi Brittany, hope the below helps a bit, Cheers!</font></div><div class="gmail_default"><font color="#000000"><br></font></div><div class="gmail_default"><font color="#000000"><br></font></div><div class="gmail_default"><font color="#000000"><br></font></div><div class="gmail_default"><font color="#000000">Please first try the following steps if you haven't had a chance to yet. </font></div><div class="gmail_default"><font color="#000000"><br></font></div><div class="gmail_default"><font color="#000000">Typing "eeglablist add events" into google, first result is a recent eeglablist discussion that should help you. This search is recommended as a first step for most questions. </font><span style="color:rgb(0,0,0)">The name of the link with the discussion was  </span><b style="color:rgb(0,0,0)">"<span style="white-space:nowrap">[Eeglablist] add events to the EEG data". </span></b></div><div class="gmail_default"><font color="#000000"><br></font></div><div class="gmail_default"><font color="#000000">If the google search does not work for you, you can search for that discussion at the eeglablist archive for 2015 at  </font><span style="color:rgb(0,0,0)"><a href="http://sccn.ucsd.edu/pipermail/eeglablist/">http://sccn.ucsd.edu/pipermail/eeglablist/</a></span></div><div class="gmail_default"><span style="color:rgb(0,0,0)"><br></span></div><div class="gmail_default"><span style="color:rgb(0,0,0)">Please also first review the next few results that come up when googling "</span><span style="color:rgb(0,0,0)">eeglablist add events"</span><span style="color:rgb(0,0,0)">, including  "Chapter 3 event processing" , "eeglab event tutorial", "importing event info", etc...</span></div><div class="gmail_default"><font color="#000000"><br></font></div><div class="gmail_default"><font color="#000000">*Some extra thoughts/points</font></div><div class="gmail_default"><font color="#000000">In general there are many ways to add eeg events. In brief, you can learn how to add events on your own by doing so manually from the GUI, and then typing eegh to see the command that was sent (the "add events" command), and then building a script with that command to loop through your epochs or codes of interest. </font><span style="color:rgb(0,0,0)">Overall, one wants to find the specific time in the epoch where you want to put the event, then insert the event, and that should be it. In your case, you would find the exact time of that epoch where the 4 code is, then add 120 seconds to that time, and then insert the event at that time. You could also make sure that you when you are inserting the event you do no go past the time at which the 5 code is. Another method is to import a list of times. Another methods is first insert all the events into the continuous data and then epoch as needed. </span></div><div class="gmail_default"><font color="#000000"><br></font></div><div class="gmail_default"><font color="#000000"><br></font></div><div class="gmail_default" style="color:rgb(51,51,153)"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 11, 2015 at 7:27 PM, Brittany Alperin <span dir="ltr"><<a href="mailto:balperin07@gmail.com" target="_blank">balperin07@gmail.com</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">Hello<div><br></div><div>I have resting state data with codes at the beginning (4 marks the beginning of eyes open and 6 marks the beginning of eyes closed) and end (5 marks the end of eyes open and 7 marks the end of eyes closed) of each trial. </div><div><br></div><div>Between each trial is a break/reminder of what the child is to do so the codes aren't all back to back and the time between trials is different for each subject (which makes it difficult to base things off of time).</div><div><br></div><div>What I would like to do is add a code every two seconds between the codes I already have. I want to insert a 1 every two seconds between the 4 and 5 code (or for 120 seconds after the 4 code) and a 2 every two seconds between the 6 and 7 code (or for 120 seconds after the 6 code).</div><div><br></div><div>I first epoched my data to just include the 6 and the 4 codes (marking the beginning of eyes open or eyes closed trials) which left me with four two minute epochs. I'm now not sure how to insert my 1 or 2 codes systematically. </div><div><br></div><div>Any thoughts would be appreciated!<span class="HOEnZb"><font color="#888888"><br>Brittany</font></span></div></div>
<br>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" 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></div>