Skip to content

Bug? in getWaveForms.m #20

Open
Open
@chenhongbiao

Description

@chenhongbiao

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions