From 2a5622535c2bbc068324a13db7103451cd827208 Mon Sep 17 00:00:00 2001 From: ago109 Date: Mon, 1 Jul 2024 10:50:10 -0400 Subject: [PATCH] added surrogate compartment to LIFCell --- ngclearn/components/neurons/spiking/LIFCell.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ngclearn/components/neurons/spiking/LIFCell.py b/ngclearn/components/neurons/spiking/LIFCell.py index 55986aed..d2ce9c3f 100644 --- a/ngclearn/components/neurons/spiking/LIFCell.py +++ b/ngclearn/components/neurons/spiking/LIFCell.py @@ -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,