THE AUDITORY MODELING TOOLBOX

Applies to version: 1.0.0

View the code

Go to function

KELVASA2015_ANBINNING - AN and time binning from Kelvasa and Dietz 2015 binaural model

Usage

[spikeRatePerNeuron,spikeRatePerBin] = ...
kelvasa2015_anbinning(APvec,sigLengthSec);

Input parameters

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

Output parameters

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.

Description

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))

References:

D. Kelvasa and M. Dietz. Auditory model-based sound direction estimation with bilateral cochlear implants. Trends in Hearing, 19:2331216515616378, 2015. [ DOI ]