<div dir="ltr">Hi Nive,<div><br></div><div>You could do this using programmatically within MATLAB (i.e. by writing a loop that goes through and finds spots within a certain distance of your stimulus triggers where the signal exceeds some threshold; the details of the code might depend a bit on the format of your EEG.event structure), but in my experience doing this you I would still catch false positives (picking up other task-irrelevant noise or movement that the participant made) and misses (if the motion--which in my experiment was speech articulation--doesn't cause MEG to go over the threshhold for some reason). So I still had to go through by hand anyway and mark which trials were actually good.</div>
<div><br></div><div>Best,</div><div>Steve</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div><br></div><div><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">On Tue, Jan 28, 2014 at 6:01 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 Nivethida,<div><br></div><div>I've heard there is a peak detector a while ago. Now I checked EEGLAB main GUI, but could not find such option.</div><div><br></div><div>Makoto</div></div><div class="gmail_extra">


<br><br><div class="gmail_quote">2014-01-24 nivethida t <span dir="ltr"><<a href="mailto:dr.nivethida@gmail.com" target="_blank">dr.nivethida@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div dir="ltr"><div><div><div><div>Hi all,<br></div>I am trying to obtain the 
Bereitschaftspotential from 90 minutes of continuous EMG and EEG data 
that have been collected from patients. I will have to mark the 
onset of EMG activity, epoch the data 3s before the onset and then 
average the epochs. Is there a way to automate adding event markers at 
EMG onset on eeglab?<br></div>
<br></div>Thanks,<br></div>Nive<span><font color="#888888"><br clear="all"><br>-- <br>Dr.Nivethida Thirugnanasambandam,<br>Postdoctoral Visiting Fellow,<br>Human Motor Control Section,<br>National Institute of Neurological Disorders and Stroke,<br>



National Institutes of Health,<br>Building 10, 7D42, <br>10 Center Drive, MSC 1428<br>Bethesda, MD 20892 - 1428<br>Ph: <a href="tel:%2B1-301-402-6231" value="+13014026231" target="_blank">+1-301-402-6231</a><br>
</font></span></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><span class="HOEnZb"><font color="#888888"><br>
</font></span></blockquote></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>
<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></div>