Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug? in getWaveForms.m #20

Open
chenhongbiao opened this issue Jun 17, 2023 · 0 comments
Open

Bug? in getWaveForms.m #20

chenhongbiao opened this issue Jun 17, 2023 · 0 comments

Comments

@chenhongbiao
Copy link

chenhongbiao commented Jun 17, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant