THE AUDITORY MODELING TOOLBOX

Applies to version: 1.6.0

View the code

Go to function

felsheim2024_spikeprobability
Instantaneous spike probability from the aLIFP-model distributions

Usage:

values = felsheim2024_spikeprobability(dists);
values = felsheim2024_spikeprobability(dists, max_time);
values = felsheim2024_spikeprobability(dists, max_time, fs);
values = felsheim2024_spikeprobability(dists, max_time, fs, mode);

Input parameters:

dists Structure array describing the spike distributions as returned by the aLIFP model felsheim2024.
max_time Optional maximum point in time (in s) for which the instantaneous spike probability will be obtained. Default: The largest mean of the Gaussian mixtures plus 5-fold largest standard deviation of the Gaussian mixtures.
fs Optional sampling frequency of the instantaneous spike probability. Default: 1 MHz.
mode

Optional flag for speeding up the calculations:

  • 'accurate': Evalute each Gaussian distribution for the whole time of interest. This is more accurate, but might take a long to calculate. Default.
  • 'fast': Distributions are only evaluated up to six times their standard deviation. This can reduce the computational time massively, but might be slightly less accurate.

Description:

felsheim2024_spikeprobability(..) obtains the instantaneous spike probability in each sampled time point by evaluating the Gaussian mixtures described by the structure dists.

References:

R. C. Felsheim and M. Dietz. An adaptive leaky integrate and firing probability model of an electrically stimulated auditory nerve fiber. Trends in Heaaring, 2024. submitted.