From 6ec2e7a055face85b5731cd2c3f03bd4f7227f9e Mon Sep 17 00:00:00 2001 From: ago109 Date: Wed, 7 Aug 2024 16:24:32 -0400 Subject: [PATCH] tweak to adex thr arg --- ngclearn/components/neurons/spiking/adExCell.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ngclearn/components/neurons/spiking/adExCell.py b/ngclearn/components/neurons/spiking/adExCell.py index 7e3b05477..699061a26 100755 --- a/ngclearn/components/neurons/spiking/adExCell.py +++ b/ngclearn/components/neurons/spiking/adExCell.py @@ -2,6 +2,7 @@ from ngclearn import resolver, Component, Compartment from ngclearn.components.jaxComponent import JaxComponent from ngclearn.utils import tensorstats +from ngcsimlib.deprecators import deprecate_args from ngclearn.utils.diffeq.ode_utils import get_integrator_code, \ step_euler, step_rk2 @@ -134,7 +135,7 @@ class AdExCell(JaxComponent): at an increase in computational cost (and simulation time) """ - # Define Functions + @deprecate_args(v_thr="thr") def __init__(self, name, n_units, tau_m=15., resist_m=1., tau_w=400., v_sharpness=2., intrinsic_mem_thr=-55., thr=5., v_rest=-72., v_reset=-75., a=0.1, b=0.75, v0=-70., w0=0.,