<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Dear Arti,<br>
<br>
After you have epoched, your trigger data is stored in
EEG.event(i).type, where i denotes the ith epoch, and which place in
the sequence of triggers it had is stored in EEG.event(i).urevent.
EEG.urevent contains all of the triggers with their respective
latencies used in your experiment. One solution to your problem
would be to epoch with 32 as the event, and then run this code:<br>
<br>
for i = 1:length(EEG.event) <br>
EEG.event(i).cond = EEG.urevent(EEG.event(i).urevent-1).type<br>
end<br>
<br>
This code should iterate through all your epochs, and assign the
value of the trigger preceding your epoch trigger (32) to
EEG.event(i).cond. When you subsequently do your ERPs or time-freq
analysis, just make sure you group your data according to the
EEG.event(i).cond. <br>
<br>
Best,<br>
Sid<br>
<br>
On 03/07/13 07:01, Arti Abhishek wrote:
<blockquote
cite="mid:CABXeXmP-fBv2pJr6a_KaArFuOoq1iyCGz6LY59S3aOBoLne8ow@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div dir="ltr">
<div>Dear list,</div>
<div> </div>
<div>I have the EEG data recorded from the 128 channel EGI
system for an auditory experiment. The data contains triggers
for the 4 conditions (trigger numbers 1,2,3,4) as well as a
trigger from the AV tester (trigger 32). I would like to epoch
based on the AV tester trigger. Is there a way to create new
events from the existing events (eg: if the trigger 32 is
preceded by trigger 1 then the condition is 1 etc..)</div>
<div> </div>
<div>Many thanks,</div>
<div>Arti</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Eeglablist page: <a class="moz-txt-link-freetext" href="http://sccn.ucsd.edu/eeglab/eeglabmail.html">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a>
To unsubscribe, send an empty email to <a class="moz-txt-link-abbreviated" href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a>
For digest mode, send an email with the subject "set digest mime" to <a class="moz-txt-link-abbreviated" href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a></pre>
</blockquote>
</body>
</html>