tliers = 1;  <span class="keyword">end</span>
0066 
0067 tmin = size(spikes.waveforms,2)./spikes.Fs;  <span class="comment">% minimum possible time btw spikes</span>
0068 <span class="keyword">if</span> (isfield(spikes, <span class="string">'options'</span>) &amp;&amp; isfield(spikes.options, <span class="string">'refractory_period'</span>))
0069     tref = spikes.options.refractory_period;
0070 <span class="keyword">else</span>
0071     tref = max(0.002, tmin*1.5);                 <span class="comment">% c