<div dir="ltr">Dear Victor,<div><br></div><div>Sorry for belated response.</div><div>I checked the screenshots you shared, but I could not find what was wrong immediately.</div><div>I suggest you import the events at least once from GUI, check if it was successfully done, then type 'eegh' to obtain code executed. Probably there is some error in how you used the function... That's my best guess.</div><div><br></div><div>Makoto</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 22, 2017 at 10:29 PM, Victor Flores Benites <span dir="ltr"><<a href="mailto:suryavf@gmail.com" target="_blank">suryavf@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-size:12.8px">Dear all,</span><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div style="font-size:12.8px"><span style="font-size:12.8px">I'm importing event and epoch information.</span><br></div><div style="font-size:12.8px"><span style="font-size:12.8px">I use the function pop_importevent:</span><br></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><blockquote style="font-size:12.8px;margin:0px 0px 0px 40px;border:none;padding:0px"><div><span style="font-size:12.8px">% Event</span></div><div><span style="font-size:12.8px">fields = {'latency','type','number','re<wbr>pettion'};</span></div><div><span style="font-size:12.8px">event  = [latency type  number repettion];</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">% Star import</span></div><div><span style="font-size:12.8px">EEG = pop_importevent(EEG,'event',ev<wbr>ent,'fields',fields,'align', 0,...</span></div><div><span style="font-size:12.8px">                         'timeunit',1);</span></div></blockquote><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div style="font-size:12.8px"><span style="font-size:12.8px">The contents of the cells <i>event </i>and <i>fields </i>are shown in the figures:</span><br></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><a href="https://www.dropbox.com/s/q8oh025nxv3nliy/event.png?dl=0" target="_blank">https://www.dropbox.com/s/<wbr>q8oh025nxv3nliy/event.png?dl=0</a></span><br></div><div><a href="https://www.dropbox.com/s/tm9iimveyq0rwrc/fields.png?dl=0" target="_blank">https://www.dropbox.com/s/<wbr>tm9iimveyq0rwrc/fields.png?dl=<wbr>0</a><br></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div><div style="font-size:12.8px"><span style="font-size:12.8px">After running the code, the result is not as expected.</span></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><a href="http://goog_511321937" target="_blank"><br></a></div><div><span style="font-size:12.8px"><a href="https://www.dropbox.com/s/q23cjw3qg8nd6fm/EEGevent.png?dl=0" target="_blank">https://www.dropbox.com/s/<wbr>q23cjw3qg8nd6fm/EEGevent.png?<wbr>dl=0</a></span><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><span style="font-size:12.8px">The latencies are different from the values indicated in the input cell </span><span style="font-size:12.8px"><i>event</i></span><span style="font-size:12.8px">.</span></div></div><div style="font-size:12.8px"><div><span style="font-size:12.8px">The latency values are loaded in the column <i>init_time.</i></span></div><div><span style="font-size:12.8px"><i><br></i></span></div></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div style="font-size:12.8px"><span style="font-size:12.8px">How to correctly define latencies?</span><br></div><div style="font-size:12.8px"><span style="font-size:12.8px">What is <i>init_time</i>?</span></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div style="font-size:12.8px"><span style="font-size:12.8px">Thanks for your help!</span></div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_-4744902031284004591gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px">Victor Flores Benites</div><div style="font-size:12.8px">Bachiller en Ingeniería Electrónica - UNI</div><div style="font-size:12.8px">Investigador - Universidad de Lima</div><div style="font-size:12.8px"><a href="tel:+51%20975%20712%20054" value="+51975712054" target="_blank">+(51) 975712054</a> - RPM: #<span style="font-size:12.8px">975712054</span></div><div style="font-size:12.8px"><a href="mailto:suryavf@gmail.com" target="_blank">suryavf@gmail.com</a> | <a href="mailto:vfloresb@uni.pe" style="font-size:12.8px" target="_blank">vfloresb@<wbr>uni.pe</a></div></div></div></div></div></div></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" target="_blank">http://sccn.ucsd.edu/eeglab/<wbr>eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.<wbr>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.<wbr>edu</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div 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>
</div>