Skip to content

Commit

Permalink
added surrogate compartment to LIFCell
Browse files Browse the repository at this point in the history
  • Loading branch information
ago109 committed Jul 1, 2024
1 parent 5edb694 commit 2a56225
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ngclearn/components/neurons/spiking/LIFCell.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ def _advance_state(t, dt, tau_m, R_m, v_rest, v_reset, v_decay, refract_T,
if one_spike: ## old code ~> if self.one_spike is False:
key, skey = random.split(key, 2)
## run one integration step for neuronal dynamics
#j = _modify_current(j, dt, tau_m, R_m) ## re-scale current in prep for volt ODE
j = j * R_m
surrogate = d_spike_fx(j)
v, s, raw_spikes, rfr = _run_cell(dt, j, v, thr, thr_theta, rfr, skey,
Expand Down

0 comments on commit 2a56225

Please sign in to comment.