diff --git a/LLspikedetector.m b/LLspikedetector.m index c7c5456..a1cf6ef 100644 --- a/LLspikedetector.m +++ b/LLspikedetector.m @@ -88,7 +88,7 @@ ets(indx,:)=[]; ech(indx,:)=[]; % remove merged instances % Lastly, impose minimum total spike event detection duration -minL=.025; %default 250ms (adjust per preference) +minL=.025; %default 25ms (adjust per preference) tooshort=diff(ets,1,2)<(sfx*minL); ets(tooshort,:)=[]; ech(tooshort,:)=[]; clear tooshort