ng">'not yet implemented'</span>)
0004 
0005 <span class="comment">%[idx,n_clipped]=nt_find_clipped_trials(x,threshold,bounds) - find clipped trials</span>
0006 <span class="comment">%</span>
0007 <span class="comment">%  idx: indices of trials to keep</span>
0008 <span class="comment">%  n_clipped: number of clipped samples per trial</span>
0009 <span class="comment">%</span>
0010 <span class="comment">%  x: data (time * channels * trials)</span>
0011 <span class="comment">%  threshold: admissible proporti