<div dir="ltr">Dear Tyler,<div><br></div><div>Sorry for inconvenience.</div><div>To help us to identify what's wrong, could you also test if 'rejection with improbability' also fails with the same data?</div><div>

<br></div><div>Makoto </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 22, 2014 at 4:59 PM, Tyler Grummett <span dir="ltr"><<a href="mailto:tyler.grummett@flinders.edu.au" target="_blank">tyler.grummett@flinders.edu.au</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">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hello eeglabers,<br>
</p>
<p><br>
</p>
<p>When trying to run the following line of code:<br>
</p>
<p><br>
</p>
<div><span style="color:rgb(0,111,201)">EEG = pop_autorej( EEG, 'threshold', 1000, 'startprob', 5, ...</span><br style="color:rgb(0,111,201)">
</div>
<div><span style="color:rgb(0,111,201)">                'maxrej', 5, 'eegplot', plot, 'nogui', 'on');</span><br>
</div>
<div><br>
</div>
<div>I get the following error:<br>
</div>
<div><br>
</div>
<div>
<div><span style="color:rgb(0,111,201)">Running auto-rejection protocol...</span></div>
<div><span style="color:rgb(0,111,201)">119 channel selected</span></div>
<div><span style="color:rgb(0,111,201)">0/10 trials marked for rejection</span></div>
<div><span style="color:rgb(0,111,201)">Computing joint probability for channels...</span></div>
<div><span style="color:rgb(0,111,201)">Warning: Binning failed - could be due to zeroed out channel </span></div>
<div><span style="color:rgb(0,111,201)">> In realproba at 53</span></div>
<div><span style="color:rgb(0,111,201)">  In jointprob at 87</span></div>
<div><span style="color:rgb(0,111,201)">  In pop_jointprob at 156</span></div>
<div><span style="color:rgb(0,111,201)">  In pop_autorej at 154 </span></div>
<div><span style="color:rgb(0,111,201)">Attempted to access sortbox(NaN); index must be a positive integer or logical.</span></div>
<div><br style="color:rgb(0,111,201)">
</div>
<div><span style="color:rgb(0,111,201)">Error in realproba (line 55)</span></div>
<div><span style="white-space:pre-wrap;color:rgb(0,111,201)"></span><span style="color:rgb(0,111,201)">sortbox(data(index)) = sortbox(data(index))+1;</span></div>
<div><br style="color:rgb(0,111,201)">
</div>
<div><span style="color:rgb(0,111,201)">Error in jointprob (line 87)</span></div>
<div><span style="white-space:pre-wrap;color:rgb(0,111,201)"></span><span style="color:rgb(0,111,201)">[ dataProba sortbox ] = realproba( signal(rc, :), discret );</span></div>
<div><br style="color:rgb(0,111,201)">
</div>
<div><span style="color:rgb(0,111,201)">Error in pop_jointprob (line 156)</span></div>
<div><span style="white-space:pre-wrap;color:rgb(0,111,201)"></span><span style="color:rgb(0,111,201)">[ EEG.stats.jpE rejE ] = jointprob( tmpdata, locthresh, EEG.stats.jpE, 1);</span></div>
<div><br style="color:rgb(0,111,201)">
</div>
<div><span style="color:rgb(0,111,201)">Error in pop_autorej (line 154)</span><br style="color:rgb(0,111,201)">
</div>
<div><span style="color:rgb(0,111,201)">    EEG = pop_jointprob(EEG, processdat, complist ,opt.startprob,opt.startprob,0,0);%</span></div>
<div><span style="color:rgb(0,111,201)">    calculate component probabilities</span><br>
</div>
<div><br>
</div>
<div>I havent got a clue what this could be due to, I dont have any NaNs in my data.<br>
</div>
<div><br>
</div>
<div>Tyler<span style="font-size:10pt"></span><br>
</div>
<br>
</div>
<p><br>
</p>
<div>
<p><br>
</p>
<div name="divtagdefaultwrapper">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-size:13px">*************************
<div style="font-family:Tahoma"><br>
</div>
<div><font face="Arial"><i>Tyler Grummett ( BBSc, BSc(Hons I))</i></font></div>
<div><font face="Arial"><i>PhD Candidate</i></font></div>
<div><font face="Arial"><i>Brain Signals Laboratory</i></font></div>
<div><font face="Arial"><i>Flinders University</i></font></div>
<div><font face="Arial"><i>Rm 5A301</i></font></div>
<div><font face="Arial"><i>Ext 66124</i></font></div>
</div>
</div>
</div>
</div>
</div>
</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">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"><div><br></div>

-- <br><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div>
</div>