13     <span class="keyword">if</span> (isfield(spikes, <span class="string">'spiketimes'</span>))  <span class="comment">% if we were given spike times, use them ...</span>
0114         t1 = spikes.spiketimes(assignments == first);
0115         t2 = spikes.spiketimes(assignments == second);    
0116         <span class="keyword">if</span> (debug)
0117             score = sum((diff(sort([t1; t2])) &lt; tref)) ./ (length(t1) + length(t2));
0118             allow = (score &lt; 0.05);
0119             scores =