[Eeglablist] Is there a list of rejected epochs?

boaz sadeh b.sadeh at berkeley.edu
Wed Apr 30 12:04:06 PDT 2014


Hi Dagfinn

I noticed that this information exists in EEG.history (it may be elsewhere
too, but I didn't see it).
So to get the rejected epochs in an automated way, what I did was:

ind=strfind(EEG.history,'pop_rejepoch');
rej=str2num(EEG.history(ind+19:end-5));

It may not be the most elegant way, but it works.

Best


On Wed, Apr 30, 2014 at 11:18 AM, Dagfinn Matre <Dagfinn.Matre at stami.no>wrote:

>  Hi
>
>  I have an epoched dataset and have rejected epochs that contained
> artifacts. Thereafter I have saved the new dataset. This has been done to a
> bunch of files.
>
>  Now, afterwards, I would like to know which epochs that was deleted. Is
> there a list of rejected in the EEG variable conained in the set-file?
>
>  Best,
> Dagfinn
>
>
>  Dagfinn Matre, PhD
> Forsker/Research scientist
> Statens arbeidsmiljøinstitutt/Nat Inst of Occupational Health
> P.O. Box 8149 Dep.
> N-0033 Oslo, Norway
> T: +47 23 19 52 15/F: +47 23 19 52 04/M: +47 47 23 60 47
> E: dagfinn at stami.no
>
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to
> eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu
>



-- 
Boaz Sadeh, PhD
Postdoctoral Researcher
The Knight Cognitive Neuroscience lab
Helen Wills Neuroscience Institute
210C Barker Hall
UC Berkeley, CA 94720-3190
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20140430/26ec306e/attachment.html>


More information about the eeglablist mailing list