Skip to content

Commit 6ec2e7a

Browse files
committed
tweak to adex thr arg
1 parent 714a58c commit 6ec2e7a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ngclearn/components/neurons/spiking/adExCell.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from ngclearn import resolver, Component, Compartment
33
from ngclearn.components.jaxComponent import JaxComponent
44
from ngclearn.utils import tensorstats
5+
from ngcsimlib.deprecators import deprecate_args
56
from ngclearn.utils.diffeq.ode_utils import get_integrator_code, \
67
step_euler, step_rk2
78

@@ -134,7 +135,7 @@ class AdExCell(JaxComponent):
134135
at an increase in computational cost (and simulation time)
135136
"""
136137

137-
# Define Functions
138+
@deprecate_args(v_thr="thr")
138139
def __init__(self, name, n_units, tau_m=15., resist_m=1., tau_w=400.,
139140
v_sharpness=2., intrinsic_mem_thr=-55., thr=5., v_rest=-72.,
140141
v_reset=-75., a=0.1, b=0.75, v0=-70., w0=0.,

0 commit comments

Comments
 (0)