nnmt.lif.exp._transfer_function

nnmt.lif.exp._transfer_function(mu, sigma, tau_m, tau_s, tau_r, V_th_rel, V_0_rel, omegas, method='shift', synaptic_filter=True)[source]

Calculates the transfer function at given angular frequencies omegas.

Either nnmt.lif.exp._transfer_function_shift() (default) or nnmt.lif.exp._transfer_function_taylor() is used.

Parameters:
mu[float | np.array]

Mean neuron activity of one population in V.

sigma[float | np.array]

Standard deviation of neuron activity of one population in V.

tau_m[float | np.array]

Membrane time constant of post-synatic neuron in s.

tau_sfloat

Pre-synaptic time constant in s.

tau_r[float | np.array]

Refractory time in s.

V_th_rel[float | np.array]

Relative threshold potential in V.

V_0_rel[float | np.array]

Relative reset potential in V.

omegas[float | np.array]

Input angular frequency to population in Hz.

method{‘shift’, ‘taylor’}, optional

Method used to integrate the adapted Siegert function. Default is ‘shift’.

synaptic_filterbool

Whether an additional synaptic low pass filter is to be used or not. Default is True.

Returns:
[float | np.array]

Transfer function in Hz/V.