nnmt.lif.exp

Collection of functions for LIF neurons with exponential synapses.

Network Functions

firing_rates(network[, method]) Calculates stationary firing rates for exp PSCs.
mean_input(network) Calc mean inputs to populations as function of firing rates of populations.
std_input(network) Calculates standard deviation of inputs to populations.
working_point(network[, method]) Calculates working point (rates, mean, and std input) for exp PSCs.
transfer_function(network[, freqs, method, ...]) Calculates the transfer function for each population for given frequencies.
fit_transfer_function(network) Fits the transfer function (tf) of a low-pass filter to the passed tf.
effective_connectivity(network) Effective connectivity for different frequencies.
propagator(network) Propagator for different frequencies as in Eq.
sensitivity_measure(network, frequency[, ...]) Calculates sensitivity measure as in Eq.
sensitivity_measure_all_eigenmodes(network) Calculates the _sensitivity_measure() for each eigenmode.
power_spectra(network) Calcs vector of power spectra for all populations at given frequencies.
external_rates_for_fixed_input(network, ...) Calculate external rates needed to get fixed mean and std input.
cvs(network) Coefficient of variation of interspike intervals for multiple populations.
pairwise_effective_connectivity(network) Calcs the pairwise effective connectivity matrix in linear response theory.
spectral_bound(network) Calcs upper bound of eval spectrum of pairwise effective connectivity.
pairwise_covariances(network) Calculates the pairwise covariances in linear response theory.

Parameter Functions

_firing_rates(J, K, V_0_rel, V_th_rel, ...) Calculates stationary firing rates for exp PSCs.
_firing_rate_shift(mu, sigma, V_0_rel, ...) Calculates stationary mean firing rates including synaptic filtering.
_firing_rate_taylor(mu, sigma, V_0_rel, ...) Calcs stationary mean firing rates including synaptic filtering.
_firing_rates_for_given_input(mu, sigma, ...) Calculates stationary mean firing rates including synaptic filtering.
_mean_input(*args, **kwargs) Calc mean input for lif neurons in fixed in-degree connectivity network.
_std_input(*args, **kwargs) Plain calculation of standard deviation of neuronal input.
_transfer_function(mu, sigma, tau_m, tau_s, ...) Calculates the transfer function at given angular frequencies omegas.
_transfer_function_shift(mu, sigma, tau_m, ...) Calcs value of transfer func for one population at given frequency omega.
_transfer_function_taylor(mu, sigma, tau_m, ...) Calcs value of transfer func for one population at given frequency omega.
_fit_transfer_function(transfer_function, ...) Fits the transfer function (tf) of a low-pass filter to the passed tf.
_derivative_of_firing_rates_wrt_mean_input(mu, ...) Derivative of the stationary firing rates with respect to the mean input.
_derivative_of_firing_rates_wrt_input_rate(mu, ...) Derivative of the stationary firing rates with respect to input rate.
_effective_connectivity(transfer_function, ...) Effective connectivity for different frequencies.
_propagator(effective_connectivity) Propagator for different frequencies as in Eq.
_match_eigenvalues_across_frequencies(...[, ...]) Resorts the eigenvalues of the effective connectivity matrix.
_sensitivity_measure(effective_connectivity, ...) Calculates sensitivity measure as in Eq.
_sensitivity_measure_all_eigenmodes(...[, ...]) Calculates the _sensitivity_measure() for each eigenmode.
_power_spectra(nu, effective_connectivity, ...) Calcs vector of power spectra for all populations at given frequencies.
_external_rates_for_fixed_input(mu_set, ...) Calculate external rates needed to get fixed mean and std input.
_cvs(nu, mu, sigma, V_0_rel, V_th_rel, ...) Coefficient of variation of interspike intervals for multiple populations.
_cvs_single_population(nu, mu, sigma, ...) Coefficient of variation of interspike intervals for single population.
_pairwise_effective_connectivity(nu, mu, ...) Calcs the pairwise effective connectivity matrix in linear response theory.
_spectral_bound(J_eff) Calcs upper bound of eval spectrum of pairwise effective connectivity.
_pairwise_covariances(J_eff, nu, cvs[, ...]) Calculates the pairwise covariances in linear response theory.