[Eeglablist] inserting event codes

Brittany Alperin balperin07 at gmail.com
Fri Sep 11 16:27:03 PDT 2015


Hello

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.

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).

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).

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.

Any thoughts would be appreciated!
Brittany
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20150911/7b69736a/attachment.html>


More information about the eeglablist mailing list