Description Usage Arguments Value Author(s) References Examples
FPTsimul
generates M spikes (times of first boundary crossing) for the Gaussian Diffusion proces X(t) by implementing the Hazard Rate Method, based on the instantaneous firing rate, defined as the ratio between the probability density function and the survival function of the process.
The asymptotic firing rate is also estimated to shorten computations.
histplot
then produced an histogram of the simulated times and plot it against the approximated FPT density as obtained by FPTdensity_byint
1 2 |
obj |
An “FPTdensity” class object yielding the numerical approximation of the FPT density and the FPT distribution on a given timegrid |
M |
The number of crossing times to be simulated |
obj1 |
A vector of simulated crossing times as obtained by a call to |
FPTsimul
returns a vector containing the simulated crossing times;
histplot
produces an histogram plot of these crossing times with the approximated FPT density superimposed
A. Buonocore, M.F. Carfora
A. Buonocore, L. Caputo, E. Pirozzi, M.F. Carfora, A Simple Algorithm to Generate Firing Times for Leaky Integrate-and-Fire Neuronal Model, Math Biosci Eng,11, 1-10 (2014).
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.