All - When changing or adding event codes, be aware of the importance of also retaining full event information in the <i>EEG.urevent</i> structure.  'Ur' (German) means 'original' -- this structure should accumulate a record of ALL the events known to have occurred during the experiment -- and this information remains with the data even in highly selective epoched datasets derived from the original session data. <div>
<br></div><div>EEGLAB event editing functions see that the urevent structure is maintained. <div><br></div><div>Information in the urevent structure is used, for example, by eeg_context() to retrieve sets of events of designated ('target') types and information about selected ('neighbor') types of events that preceded and/or followed them. You may use this function in scripts to get information about or select (sub)sets of epochs time locked to certain types of events, for example <i>all 'button press' events following two 'incorrect'  feedback events in previous trials with latency from the last 'stimulus' event (i.e., RT) less than 500 ms</i> .... (or etc).</div>
<div><br></div><div>Scott Makeig<br><br><div class="gmail_quote">On Thu, Jun 2, 2011 at 12:31 AM, Tarik S Bel-Bahar <span dir="ltr"><<a href="mailto:tarikbelbahar@gmail.com">tarikbelbahar@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br clear="all">
<div>use the import event info functions from the gui or the command line. see help on the eeglab wiki, and help on eeglab functions</div>
<div>you can script a loop through your existing labels and change the EEG.events fields to contain the event values or strings you want.<br></div>
<div>examine the EEG.events and EEG.urevents structure and documentation. Good luck!</div><br><br><br>
<div class="gmail_quote">On Wed, Mar 23, 2011 at 9:32 AM, Aleksandra Vuckovic <span dir="ltr"><<a href="mailto:Aleksandra.Vuckovic@glasgow.ac.uk" target="_blank">Aleksandra.Vuckovic@glasgow.ac.uk</a>></span> wrote:<br>

<blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote">
<div>
<div style="font-family:Tahoma;direction:ltr;color:#000000;font-size:x-small">
<div></div>
<div dir="ltr"><font color="#000000" size="2" face="Tahoma">Dear all</font><font color="#000000" size="2" face="Tahoma">,</font></div>
<div dir="ltr"><font face="tahoma">I've recorded some data with Neuroscan<a></a><a></a> and have assigned event numbers which do not match the default<a></a> Biosig<a></a><a></a> event code (arrows sowing left right etc). Now I would like to use Biosig<a></a><a></a> function ShowERDS<a></a><a></a> but do not have the right events coding. I could theoretically use 'sload<a></a><a></a>' function to separate data and header and change header.evenets.type<a></a><a></a> but do not know who to merge modified header with the data (would it work)? Or somebody can suggest me some more elegant way to change the event coding?</font></div>


<div dir="ltr"><font face="tahoma"></font> </div>
<div dir="ltr"><font face="tahoma">Many thanks!</font></div>
<div dir="ltr"><font face="tahoma">Aleksandra Vuckovic<a></a><a></a></font></div>
<div dir="ltr"><font face="tahoma"></font> </div>
<div dir="ltr"><font face="tahoma"></font> </div></div></div><br>_______________________________________________<br>Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>

To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a><br>

</blockquote></div><br>
<br>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div><br><br clear="all"><br>-- <br>Scott Makeig, Research Scientist and Director, Swartz Center for Computational Neuroscience, Institute for Neural Computation & Adj. Prof. of Neurosciences, University of California San Diego, La Jolla CA 92093-0559, <a href="http://sccn.ucsd.edu/~scott" target="_blank">http://sccn.ucsd.edu/~scott</a><br>

</div></div>