nnmt.lif.delta._firing_rates_for_given_input¶
-
nnmt.lif.delta.
_firing_rates_for_given_input
(mu, sigma, V_0_rel, V_th_rel, tau_m, tau_r)[source]¶ Calculates stationary firing rate for delta shaped PSCs.
Implementation of formula by Siegert for the mean-first-passage time [Siegert, 1951], found for example in Appendix A, Eq. A7 of Amit and Brunel [1997].
The implementation is explained in Layer et al. [2022], Appendix A.1.
And alternative but less stable way of implementing the Siegert function can be found in Hahne et al. [2017], Appendix A.1.
Parameters: - mu[float | 1d array]
Mean input to population of neurons.
- sigma[float | 1d array]
Standard deviation of input to population of neurons.
- V_0_rel[float | 1d array]
Relative reset potential in V.
- V_th_rel[float | 1d array]
Relative threshold potential in V.
- tau_m[float | 1d array]
Membrane time constant of post-synatic neuron in s.
- tau_r[float | 1d array]
Refractory time in s.
Returns: - [float | np.array]
Firing rates in Hz.