<div dir="ltr">Sure Rhonda, let me take care of it. Hope to see/hear you somewhere again!<div><br></div><div>Makoto</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jul 17, 2018 at 5:12 PM RHONDA MUDRY <<a href="mailto:rxm390@psu.edu">rxm390@psu.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt;color:#000000"><div>Can I please be removed from this listserv?</div><div><br></div><hr id="m_4527089861048826921zwchr"><div><b>From: </b>"Makoto Miyakoshi" <<a href="mailto:mmiyakoshi@ucsd.edu" target="_blank">mmiyakoshi@ucsd.edu</a>><br><b>To: </b>"E. Sijyeniyo" <<a href="mailto:e.sijyeniyo@student.rug.nl" target="_blank">e.sijyeniyo@student.rug.nl</a>><br><b>Cc: </b>"EEGLAB List" <<a href="mailto:eeglablist@sccn.ucsd.edu" target="_blank">eeglablist@sccn.ucsd.edu</a>><br><b>Sent: </b>Tuesday, July 17, 2018 5:59:16 PM<br><b>Subject: </b>Re: [Eeglablist] Changing event markers in dataset<br></div><br><div><div dir="ltr">Dear Edwige,<br><div>The first line of your table in Excel sheet must be the names of the columns, and at least 'type' and 'latency' must be present because these are preserved words in EEGLAB and are expected to be detected. Try it again, it should work. I've done it many times (in 2004).</div><br><div>Makoto</div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jul 17, 2018 at 5:34 AM E. Sijyeniyo <<a href="mailto:e.sijyeniyo@student.rug.nl" target="_blank">e.sijyeniyo@student.rug.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Dear Makoto, <br><div>I tried re-importing my event information after exporting it to Microsoft excel but it doesn’t work for some reason. I thought it would be pretty straightforward, but unfortunately not….</div><br><div>I get the error:</div><div><br><div><b>EEGLAB error in function import event() at line 181:</b></div><div><b><br></b></div><div><b>Reference to non-existent field ‘latency’. </b></div><br><br></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><br><div>If I type the following into “input field (column) names” <i>type latency </i>and I change "Number of file header lines" into <i>1, </i>then I get the latencies as new event markers. </div><br><div>I do not understand how this may be, because I only modified the type (event markers) and for some reason the new event values are not imported and replaced. </div><br><div>Attached you can see how my new .csv file looks like, when I try to import this, I get an error and I do not know why…</div><br><div>I even changed my initial triggers from e.g. <i>S 40</i> to <i>40</i> because I read that EEGlab cannot read type when strings and integers are combined (<a href="https://sccn.ucsd.edu/wiki/Chapter_03:_Event_Processing" target="_blank">https://sccn.ucsd.edu/wiki/Chapter_03:_Event_Processing</a>)</div><br><div>Can you provide me with some detailed information about how to import my changed event markers? </div><br><div>The data was recorded with BrainVision Recorder and I am using Matlab 2017b version. </div><br><div>I could really use your help and expertise with this...</div><br><div>Best, </div><div>Edwige</div><div><br><blockquote><div>Op 16 jul. 2018, om 20:13 heeft Makoto Miyakoshi <<a href="mailto:mmiyakoshi@ucsd.edu" target="_blank">mmiyakoshi@ucsd.edu</a>> het volgende geschreven:</div><br class="m_4527089861048826921m_8447382954191682041Apple-interchange-newline"><div><div dir="ltr">Dear Edwige,<br><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">> I am wondering whether I can change the other triggers so that they are distinguishable too. In this way, I can compare, for example, the target words in one particular condition with each other because they would have different event markers. For instance, in the active condition, the target word is marked with 17 in the prime sentence as well as in the target sentence, I am not sure if Matlab would be able to distinguish them (I assume not).</span><br></div><br><div>I did not understand your question here. However,</div><br><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">> Does anyone know how I can change event markers in my dataset?<span> </span></span><br style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br></div><div>You can swap existing event marker types with other ones, if that solves your problem. See this page. Note that this coding is done outside EEGLAB so be careful.</div><div><a href="https://sccn.ucsd.edu/wiki/Makoto%27s_useful_EEGLAB_code#Event_types" target="_blank">https://sccn.ucsd.edu/wiki/Makoto%27s_useful_EEGLAB_code#Event_types</a><br></div><br><div>If you want to do it more intuitively, you may want to consider exporting the existing event structure to Microsoft Excel (or equivalent) and modify it visually and manually. Then re-import the event file.</div><br><div>Makoto</div><br><br><div class="gmail_quote"><div dir="ltr">On Sun, Jul 15, 2018 at 9:08 PM E. Sijyeniyo <<a href="mailto:e.sijyeniyo@student.rug.nl" target="_blank">e.sijyeniyo@student.rug.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear EEGlab users,<br>
<br>
I have a question regarding changing event markers in my dataset. <br>
<br>
Initially, I recorded my data with the following markers:<br>
<br>
Active condition:<br>
Prime sentence: 40, 9, 13, 17, 21, 25, 29 <br>
Target sentence: 45, 9, 13, 17, 21, 25, 29 <br>
<br>
<br>
Passive condition<br>
Prime sentence: 40, 8, 12, 16, 20, 24, 30 <br>
Target sentence: 45, 8, 12, 16, 20, 24, 30<br>
<br>
<br>
However, only the first trigger distinguishes both sentences, so only 40 and 45. I am wondering whether I can change the other triggers so that they are distinguishable too. In this way, I can compare, for example, the target words in one particular condition with each other because they would have different event markers. For instance, in the active condition, the target word is marked with 17 in the prime sentence as well as in the target sentence, I am not sure if Matlab would be able to distinguish them (I assume not).<br>
<br>
So I would want to change them into something like:<br>
<br>
Active condition:<br>
Prime sentence: 40, 9, 13, 17, 21, 25, 29 <br>
Target sentence: 45, 23, 33, 43, 53, 63, 73<br>
<br>
Passive condition:<br>
Prime sentence: 55, 8, 12, 16, 20, 24, 30<br>
Target sentence: 60, 26, 36, 46, 56, 66, 76<br>
<br>
Does anyone know how I can change event markers in my dataset? <br>
<br>
Thank you so much for anyone who responds!<br>
<br>
Best<br>
Edwige<br>
P.s As I am a master student, this is my first ever EEG study and during the design of my experiment these differences between triggers coding did not occur to me...<br>
_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" 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 clear="all"><br>-- <br><div dir="ltr" class="m_4527089861048826921m_8447382954191682041gmail_signature"><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div></div></div>
</div></blockquote></div><br></div></div></blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="m_4527089861048826921gmail_signature"><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></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></div></div></div></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div></div>