<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Thanks, Boaz, I will test this solution!
<div><br>
</div>
<div>Dagfinn<br>
<div><br>
<div class="BodyFragment"><font size="2">
<div class="PlainText">Dagfinn Matre, PhD<br>
Forsker/Research scientist<br>
Statens arbeidsmiljøinstitutt/Nat Inst of Occupational Health<br>
P.O. Box 8149 Dep.<br>
N-0033 Oslo, Norway<br>
T: +47 23 19 52 15/F: +47 23 19 52 04/M: +47 47 23 60 47<br>
E: dagfinn@stami.no</div>
</font></div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF58783" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>Fra:</b> boazsadeh@gmail.com [boazsadeh@gmail.com] på vegne av boaz sadeh [b.sadeh@berkeley.edu]<br>
<b>Sendt:</b> 30. april 2014 21:04<br>
<b>Til:</b> Dagfinn Matre<br>
<b>Kopi:</b> eeglablist@sccn.ucsd.edu<br>
<b>Emne:</b> Re: [Eeglablist] Is there a list of rejected epochs?<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Hi Dagfinn
<div><br>
<div>I noticed that this information exists in EEG.history (it may be elsewhere too, but I didn't see it).
<div>So to get the rejected epochs in an automated way, what I did was:</div>
<div><br>
</div>
<div>ind=strfind(EEG.history,'pop_rejepoch');</div>
<div>rej=str2num(EEG.history(ind+19:end-5));</div>
<div><br>
</div>
<div>It may not be the most elegant way, but it works.  </div>
</div>
</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Best</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Apr 30, 2014 at 11:18 AM, Dagfinn Matre <span dir="ltr">
<<a href="mailto:Dagfinn.Matre@stami.no" target="_blank">Dagfinn.Matre@stami.no</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-size:10pt; font-family:Tahoma">Hi
<div><br>
</div>
<div>I have an epoched dataset and have <span style="font-size:10pt">rejected epochs that contained artifacts. Thereafter I have saved the new dataset. This has been done to a bunch of files. </span></div>
<div><span style="font-size:10pt"><br>
</span></div>
<div><span style="font-size:10pt">Now, afterwards, I would like to know which epochs that was deleted. </span><span style="font-size:10pt">Is there a list of rejected in the EEG variable conained in the set-file?</span></div>
<div><span style="font-size:10pt"><br>
</span></div>
<div><span style="font-size:10pt">Best,</span></div>
<div><span style="font-size:10pt">Dagfinn</span></div>
<div><span style="font-size:10pt"> </span></div>
<div>
<div><br>
<div><font>
<div>Dagfinn Matre, PhD<br>
Forsker/Research scientist<br>
Statens arbeidsmiljøinstitutt/Nat Inst of Occupational Health<br>
P.O. Box 8149 Dep.<br>
N-0033 Oslo, Norway<br>
T: <a href="tel:%2B47%2023%2019%2052%2015" value="+4723195215" target="_blank">+47 23 19 52 15</a>/F:
<a href="tel:%2B47%2023%2019%2052%2004" value="+4723195204" target="_blank">+47 23 19 52 04</a>/M:
<a href="tel:%2B47%2047%2023%2060%2047" value="+4747236047" target="_blank">+47 47 23 60 47</a><br>
E: <a href="mailto:dagfinn@stami.no" target="_blank">dagfinn@stami.no</a></div>
</font></div>
</div>
</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>
<br>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr"><span style=""><font color="#000000">Boaz Sadeh, PhD<br>
Postdoctoral Researcher </font></span>
<div><span style=""><font color="#000000">The Knight Cognitive Neuroscience lab<br>
Helen Wills Neuroscience Institute<br>
210C Barker Hall<br>
UC Berkeley, CA 94720-3190</font></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>