CobaLIFParameters

class norse.torch.functional.coba_lif.CobaLIFParameters(tau_syn_exc_inv: torch.Tensor = tensor(0.2000), tau_syn_inh_inv: torch.Tensor = tensor(0.2000), c_m_inv: torch.Tensor = tensor(5.), g_l: torch.Tensor = tensor(0.2500), e_rev_I: torch.Tensor = tensor(- 100), e_rev_E: torch.Tensor = tensor(60), v_rest: torch.Tensor = tensor(- 20), v_reset: torch.Tensor = tensor(- 70), v_thresh: torch.Tensor = tensor(- 10), method: str = 'super', alpha: float = 100.0)[source]

Parameters of conductance based LIF neuron.

Parameters:
tau_syn_exc_inv (torch.Tensor): inverse excitatory synaptic input

time constant

tau_syn_inh_inv (torch.Tensor): inverse inhibitory synaptic input

time constant

c_m_inv (torch.Tensor): inverse membrane capacitance g_l (torch.Tensor): leak conductance e_rev_I (torch.Tensor): inhibitory reversal potential e_rev_E (torch.Tensor): excitatory reversal potential v_rest (torch.Tensor): rest membrane potential v_reset (torch.Tensor): reset membrane potential v_thresh (torch.Tensor): threshold membrane potential method (str): method to determine the spike threshold

(relevant for surrogate gradients)

alpha (float): hyper parameter to use in surrogate gradient computation

alpha: float

Alias for field number 10

c_m_inv: torch.Tensor

Alias for field number 2

count(value, /)

Return number of occurrences of value.

e_rev_E: torch.Tensor

Alias for field number 5

e_rev_I: torch.Tensor

Alias for field number 4

g_l: torch.Tensor

Alias for field number 3

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

method: str

Alias for field number 9

tau_syn_exc_inv: torch.Tensor

Alias for field number 0

tau_syn_inh_inv: torch.Tensor

Alias for field number 1

v_reset: torch.Tensor

Alias for field number 7

v_rest: torch.Tensor

Alias for field number 6

v_thresh: torch.Tensor

Alias for field number 8