Skip to content

Commit abe371c

Browse files
author
Alexander Ororbia
committed
cleaned up help for exp/alpha-syn
1 parent 961faf5 commit abe371c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

ngclearn/components/synapses/alphaSynapse.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ def help(cls): ## component help function
140140
}
141141
compartment_props = {
142142
"inputs":
143-
{"inputs": "Takes in external input signal values"
144-
"v" : "Post-synaptic voltage dependence (comes from a wired-to spiking cell) "},
143+
{"inputs": "Takes in external input signal values",
144+
"v" : "Post-synaptic voltage dependence (comes from a wired-to spiking cell)"},
145145
"states":
146146
{"weights": "Synapse efficacy/strength parameter values",
147147
"biases": "Base-rate/bias parameter values",
@@ -165,7 +165,7 @@ def help(cls): ## component help function
165165
info = {cls.__name__: properties,
166166
"compartments": compartment_props,
167167
"dynamics": "outputs = g_syn * (v - syn_rest); "
168-
"dhsyn_dt = (W * inputs) * g_syn_bar - h_syn/tau_syn ",
168+
"dhsyn_dt = (W * inputs) * g_syn_bar - h_syn/tau_syn "
169169
"dgsyn_dt = -g_syn/tau_syn + h_syn",
170170
"hyperparameters": hyperparams}
171171
return info

ngclearn/components/synapses/exponentialSynapse.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ def help(cls): ## component help function
133133
}
134134
compartment_props = {
135135
"inputs":
136-
{"inputs": "Takes in external input signal values"},
136+
{"inputs": "Takes in external input signal values",
137+
"v" : "Post-synaptic voltage dependence (comes from a wired-to spiking cell)"},
137138
"states":
138139
{"weights": "Synapse efficacy/strength parameter values",
139140
"biases": "Base-rate/bias parameter values",

0 commit comments

Comments
 (0)