spikes
spikes copied to clipboard
Bug? in getWaveForms.m
Hi, thanks for this useful toolbox. When I tried to get waveforms by using getWaveForms.m
with input like gwfparams.spikeTimes = [2,3,5,7,8,9], it only returned one spike.
I check the code inside, and think it maybe better to replace line50 curUnitnSpikes = size(curSpikeTimes,1);
with curUnitnSpikes = numel(curSpikeTimes);
. So it will not assume the input spikeTimes is a column vector.