norse.torch.functional.izhikevich.IzhikevichParameters#
- class norse.torch.functional.izhikevich.IzhikevichParameters(a: float, b: float, c: float, d: float, sq: float = 0.04, mn: float = 5, bias: float = 140, v_th: float = 30, tau_inv: float = 250, method: str = 'super', alpha: float = 100.0)[source]#
Parametrization of av Izhikevich neuron
- Parameters:
a (float): time scale of the recovery variable u. Smaller values result in slower recovery in 1/ms b (float): sensitivity of the recovery variable u to the subthreshold fluctuations of the membrane potential v. Greater values couple v and u more strongly resulting in possible subthreshold oscillations and low-threshold spiking dynamics c (float): after-spike reset value of the membrane potential in mV d (float): after-spike reset of the recovery variable u caused by slow high-threshold Na+ and K+ conductances in mV sq (float): constant of the v squared variable in mV/ms mn (float): constant of the v variable in 1/ms bias (float): bias constant in mV/ms v_th (torch.Tensor): threshold potential in mV tau_inv (float) : inverse time constant in 1/ms method (str): method to determine the spike threshold
(relevant for surrogate gradients)
alpha (float): hyper parameter to use in surrogate gradient computation
- __init__()#
Methods
__init__
()count
(value, /)Return number of occurrences of value.
index
(value[, start, stop])Return first index of value.
Attributes
a
Alias for field number 0
alpha
Alias for field number 10
b
Alias for field number 1
bias
Alias for field number 6
c
Alias for field number 2
d
Alias for field number 3
method
Alias for field number 9
mn
Alias for field number 5
sq
Alias for field number 4
tau_inv
Alias for field number 8
v_th
Alias for field number 7