<div dir="ltr"><div dir="ltr"><div dir="ltr">Dear Bennett and John,<div><br></div><div>Sorry to hear the trouble. I'm interested in replicating the problem. </div><div>Could you please tell me more details to replicate the issue? Let me see if I can fix it. Please make sure you are using EEGLAB 14. Up to ver.13 there was a quite serious bug that is related to handling events.</div><div><br></div>> However, while manually running ASR in the GUI does not result in the loss of events, running ASR from code does (and -1 vs. 'off' yield different numbers of events lost). Is there any way to resolve this issue?</div><div dir="ltr"><br></div><div>I'm not sure about 'event lost' unfortunately, but 'different number of events lost' may be related to this: Every time ASR is performed, it first obtains the available RAM. Try the following code on MATLAB.</div><div><br></div><div>freeRamInMB = java.lang.management.ManagementFactory.getOperatingSystemMXBean().getFreePhysicalMemorySize()/(2^20);</div><div><br></div><div>This tells you how much RAM is available, seen from this command. ASR determines how it divide the continuous data into chunks, which can actually change the final data size (my colleague told me up to 0.3% of jitter was confirmed.) If you are curious, change the code in asr_process line 105 maxmem = XXX (this should be MB*2). This should fix the number of 'rejected events.'</div><div><br></div><div>Now, general discussion... If we want to obtain the complete reproducibility, then we have to hard-code this value. ASR was originally written for real-time BCI application, so this kind of solution was necessary to prevent memory overflow. However, for the offline analysis we may want to use a fixed value. However, the current plugin does not have a structure to pass the value down to this function. I will modify the code with my colleagues' help (hopefully including Christian himself) to address the issue. It may take some time (I learned this thing in last November!), but I want to address it by taking advantage of this momentum!<br></div><div><br></div><div>Makoto</div><div><br></div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 14, 2019 at 9:18 AM Alterman, Bennett L <<a href="mailto:balterman3@gatech.edu">balterman3@gatech.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div id="gmail-m_2175481086893829362divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:"Times New Roman",Times,serif" dir="ltr">
<p style="margin-top:0px;margin-bottom:0px">If using the GUI for ASR, using -1 to turn off an input field yields the loss of event markers (and eventually epochs), but writing off in the fields does not result in this loss. When using eegh to get the code, it returns
a line that uses off, but the code does not run unless 'off' is used. However, while manually running ASR in the GUI does not result in the loss of events, running ASR from code does (and -1 vs. 'off' yield different numbers of events lost). Is there any way
to resolve this issue?</p>
<p style="margin-top:0px;margin-bottom:0px"><br>
</p>
<div id="gmail-m_2175481086893829362Signature">
<div id="gmail-m_2175481086893829362divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p style="margin-top:0px;margin-bottom:0px"></p>
<div id="gmail-m_2175481086893829362yiv0920812454yui_3_16_0_ym19_1_1534531480670_23104" style="font-family:"times new roman","new york",times,serif;font-size:16px">
<font id="gmail-m_2175481086893829362yui_3_16_0_ym19_1_1534531480670_24873" style="font-size:medium"><span style="font-size:12pt;font-family:"Times New Roman",Times,serif">Sincerely,</span><br clear="none">
<span style="font-size:12pt;font-family:"Times New Roman",Times,serif">Bennett Alterman, M.S.</span><br clear="none">
<span style="font-size:12pt;font-family:"Times New Roman",Times,serif"></span><br clear="none">
<span style="font-size:12pt;font-family:"Times New Roman",Times,serif">--</span></font></div>
<span style="font-size:12pt;font-family:"Times New Roman",Times,serif"></span>
<div id="gmail-m_2175481086893829362yiv0920812454yui_3_16_0_ym19_1_1491499892775_4610" style="font-family:"times new roman","new york",times,serif;font-size:16px;padding:0px">
<span style="font-size:12pt;font-family:"Times New Roman",Times,serif"></span><span id="gmail-m_2175481086893829362yui_3_16_0_ym19_1_1534531480670_24872" style="font-size:12pt;font-family:"Times New Roman",Times,serif">Ph.D. Student, </span><span style="font-size:12pt;font-family:"Times New Roman",Times,serif">Cognitive
Motor Control Laboratory</span></div>
<span style="font-size:12pt;font-family:"Times New Roman",Times,serif"></span>
<div id="gmail-m_2175481086893829362yiv0920812454yui_3_16_0_ym19_1_1491499892775_4610" style="font-family:"times new roman","new york",times,serif;font-size:16px;padding:0px">
<span style="font-size:12pt;font-family:"Times New Roman",Times,serif"></span><span id="gmail-m_2175481086893829362yui_3_16_0_ym19_1_1534531480670_24871" style="font-size:12pt;font-family:"Times New Roman",Times,serif">School of Biological Sciences</span></div>
<span style="font-size:12pt;font-family:"Times New Roman",Times,serif"></span>
<div id="gmail-m_2175481086893829362yiv0920812454yui_3_16_0_ym19_1_1491499892775_4608" style="font-family:"times new roman","new york",times,serif;font-size:16px;padding:0px">
<span style="font-size:12pt;font-family:"Times New Roman",Times,serif"></span><span id="gmail-m_2175481086893829362yui_3_16_0_ym19_1_1534531480670_24870" style="font-size:12pt;font-family:"Times New Roman",Times,serif">Georgia Institute of Technology</span></div>
<span style="font-size:12pt;font-family:"Times New Roman",Times,serif"></span>
<div id="gmail-m_2175481086893829362yiv0920812454yui_3_16_0_ym19_1_1491499892775_4607" style="font-family:"times new roman","new york",times,serif;font-size:16px;padding:0px">
<span style="font-size:12pt;font-family:"Times New Roman",Times,serif"></span><span id="gmail-m_2175481086893829362yui_3_16_0_ym19_1_1534531480670_24869" style="font-size:12pt;font-family:"Times New Roman",Times,serif"><a href="mailto:bennett.alterman@gatech.edu" target="_blank">bennett.alterman@gatech.edu</a></span></div>
<span style="font-size:12pt;font-family:"Times New Roman",Times,serif"></span>
<div id="gmail-m_2175481086893829362yui_3_16_0_ym19_1_1534531480670_24857" style="font-family:"times new roman","new york",times,serif;font-size:16px">
<span style="font-size:12pt;font-family:"Times New Roman",Times,serif"></span><span id="gmail-m_2175481086893829362yui_3_16_0_ym19_1_1534531480670_24856" style="color:rgb(112,172,237);font-size:medium"><a rel="nofollow" shape="rect" href="http://bennettalterman.wixsite.com/neuroimaging" id="gmail-m_2175481086893829362LPNoLP" style="margin:0px;padding:0px;background:transparent;color:rgb(25,106,212);outline:none" target="_blank"><span style="font-size:12pt;font-family:"Times New Roman",Times,serif">http://bennettalterman.wix.com/neuroimaging</span></a></span></div>
<span style="font-size:12pt;font-family:"Times New Roman",Times,serif"></span>
<div id="gmail-m_2175481086893829362yui_3_16_0_ym19_1_1534531480670_24860" style="font-family:"times new roman","new york",times,serif;font-size:16px">
<span style="font-size:12pt;font-family:"Times New Roman",Times,serif"></span><span id="gmail-m_2175481086893829362yui_3_16_0_ym19_1_1534531480670_24859" style="color:rgb(112,172,237);font-size:medium"><a rel="nofollow" shape="rect" href="https://www.linkedin.com/in/bennettalterman/" id="gmail-m_2175481086893829362LPNoLP" style="margin:0px;padding:0px;background:transparent;color:rgb(25,106,212);outline:none" target="_blank"><span style="font-size:12pt;font-family:"Times New Roman",Times,serif">https://www.linkedin.com/in/bennettalterman/</span></a></span></div>
<span style="font-size:12pt;font-family:"Times New Roman",Times,serif"></span>
<div id="gmail-m_2175481086893829362yui_3_16_0_ym19_1_1534531480670_24862" style="font-family:"times new roman","new york",times,serif;font-size:16px">
<span style="font-size:12pt;font-family:"Times New Roman",Times,serif"></span><span id="gmail-m_2175481086893829362yui_3_16_0_ym19_1_1534531480670_24861" style="font-size:12pt;font-family:"Times New Roman",Times,serif">678.485.6318</span></div>
<p></p>
</div>
</div>
</div>
</div>
_______________________________________________<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></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Makoto Miyakoshi<br>Assistant Project Scientist, Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div></div></div></div></div></div>