<div dir="ltr">Hello<div><br></div><div>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. </div><div><br></div><div>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).</div><div><br></div><div>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).</div><div><br></div><div>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. </div><div><br></div><div>Any thoughts would be appreciated!<br>Brittany</div></div>