[spikeRatePerNeuron,spikeRatePerBin] = ... kelvasa2015_anbinning(APvec,sigLengthSec);
APvec | N x 2 matrix of AN spikes with Nx1 holding indices of the spiking neuron and Nx2 holding corresponding spike time in seconds. |
sigLengthSec | length of input signal in seconds |
spikeRatePerNeuron | |
N x M matrix of AN spike rates in spikes/second with N being the number of user defined AN fibers and M being the number of time windows. | |
spikeRatePerBin | N x M matrix of AN spike rates in spikes/second with N being the number of user defined AN fibe bands and M being the number of time windows. |
KELVASA2015_anbinning(APvec,sigLengthSec,varargin) bins auditory nerve spike times over a given population of AN fibers into user defined AN frequency bands and time bins as detailed in (Kelvasa & Dietz (2015))
D. Kelvasa and M. Dietz. Auditory model-based sound direction estimation with bilateral cochlear implants. Trends in Hearing, 19:2331216515616378, 2015. [ DOI ]