nnmt.lif.exp._firing_rate_taylor¶
-
nnmt.lif.exp._firing_rate_taylor(V_0_rel, V_th_rel, mu, sigma, tau_m, tau_r, tau_s)[source]¶ Calcs stationary firing rates for exp PSCs using a Taylor expansion.
Calculates the stationary firing rate of a neuron with synaptic filter of time constant tau_s driven by Gaussian noise with mean mu and standard deviation sigma, using Eq. 4.33 in Fourcaud and Brunel [2002] with Taylor expansion around
.Parameters: - V_th_rel[float | np.array]
Relative threshold potential in V.
- V_0_rel[float | np.array]
Relative reset potential in V.
- mu[float | np.array]
Mean neuron activity in V.
- sigma[float | np.array]
Standard deviation of neuron activity in V.
- tau_m[float | 1d array]
Membrane time constant in s.
- tau_r[float | 1d array]
Refractory time in s.
- tau_s[float | 1d array]
Synaptic time constant in s.
Returns: - [float | np.array]
Stationary firing rate in Hz.