REGATE(SPIKES, 0);</span>
0042 <span class="comment">%</span>
0043 <span class="comment">% References:</span>
0044 <span class="comment">%     Fee MS et al (1996).  J. Neurosci Methods (69): 175-88</span>
0045 
0046 debug = 1;
0047 
0048 starttime = clock;
0049 
0050 cutoff = 0.01;   <span class="comment">% arbitrarily stop aggregation when overlap density is &lt; 1% of main cluster density</span>
0051 
0052 s = warning(<span class="string">'off'</span>, <span class="string">'MATLAB:divideByZero'</span>);
0