Currently the function binspikes only accepts a binWidth parameter. This is useful if you want to bin spikes into fixed width time bins. I think it would also be useful to have it accept a time vector and use that for binning spikes.
This could be a separate function, but that seems unnecessary..
Currently the function
binspikes
only accepts a binWidth parameter. This is useful if you want to bin spikes into fixed width time bins. I think it would also be useful to have it accept a time vector and use that for binning spikes.This could be a separate function, but that seems unnecessary..