We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb8524a commit dd49e5fCopy full SHA for dd49e5f
ngclearn/components/neurons/spiking/RAFCell.py
@@ -123,7 +123,7 @@ def __init__(self, name, n_units, tau_m=15., resist_m=1., tau_w=400.,
123
124
## Cell properties
125
self.tau_m = tau_m
126
- self.R_m = resist_m
+ self.resist_m = resist_m
127
self.tau_w = tau_w
128
self.omega = omega ## angular frequency
129
self.b = b ## dampening factor
@@ -150,9 +150,9 @@ def __init__(self, name, n_units, tau_m=15., resist_m=1., tau_w=400.,
150
units="ms") ## time-of-last-spike
151
152
@staticmethod
153
- def _advance_state(t, dt, tau_m, R_m, tau_w, thr, omega, b, v_rest,
+ def _advance_state(t, dt, tau_m, resist_m, tau_w, thr, omega, b, v_rest,
154
v_reset, w_reset, intgFlag, j, v, w, tols):
155
- j_ = j * R_m
+ j_ = j * resist_m
156
if intgFlag == 1: ## RK-2/midpoint
157
w_params = (j_, v, tau_w, omega, b)
158
_, _w = step_rk2(0., w, _dfw, dt, w_params)
0 commit comments