samples = felsheim2024_sampledistribution(spike_struct, num_samples)
dists | Structure array describing the spike distributions as returned by the aLIFP model felsheim2024. |
num_samples | Number of samples to be drawn from each distribution. |
samples | Time points of the spikes samples from the distributions |
felsheim2024_sampledistribution(..) samples each distribution (in dists) num_samples times. The interdependencies between facilitation and refractory periods of subsequent pulses is not considered. Therefore, sampling from the distribution is only meaningful for a large number of samples. A discussion on this can be found in Felsheim et al. (2024).
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.