<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="">
<p style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:"Calibri",sans-serif">
Dear all,</p>
<p style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:"Calibri",sans-serif">
 </p>
<p style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:"Calibri",sans-serif">
I have a question about how to store the ordinal position of rejected epochs in an epoched data set file. The idea is to then make a table of total number of original epochs by participants with each cell containing either the number of rejected or kept epochs.</p>
<div><br>
</div>
<span>Presumably I could save the number of the rejected epoch ("EEG.trial") somewhere between lines 1 and 2 of the following script, right?</span></div>
<div style=""><span>
<div>
<p style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:"Calibri",sans-serif">
<br>
</p>
EEG = pop_autorej(EEG, 'nogui','on','threshold',100,'startprob',3); <br>
EEG = eeg_rejsuperpose( EEG, 1, 1, 1, 1, 1, 1, 1, 1);<br>
EEG = pop_rejepoch( EEG, [],0);</div>
<br>
</span></div>
<div style=""><span>
<p>Is there any way of getting this information? My apologies if the question is too<span> basic, I'm still relatively new to EEGLAB and I cannot figure it out. I am open to using other functions for automatic epoch rejection.</span></p>
</span><br>
</div>
<div style="">Thanks,</div>
<div style=""><br>
<p style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:"Calibri",sans-serif">
<a name="_MailAutoSig"><span style="" lang="FR">Carolina</span></a></p>
<span style=""></span>
<p style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:"Calibri",sans-serif">
 </p>
</div>
</div>
</body>
</html>