Hi Gustavo,
If you have a spiking input port in the NESTML model, you could add the spikes directly to
the equation for the gating variable since the spikes at any timestep would be the sum of
all the spikes occurring at that time.
equations:
gating_var' = …. + spikes
input:
spikes pA <- spike
You could also use convolution if you want a post-synaptic response, for example, with a
delta kernel as you mentioned in your previous email.
equations:
gating_var' = …. + convolve(delta(t), spikes)
input:
spikes pA <- spike
Hope this helps!
Thanks,
Pooja
On 4. May 2023, at 20:45, gustavo.patow(a)udg.edu
wrote:
Sorry to annoy you, but any hint on how to add to the synaptic gating variable the spikes
as a simple count of the number of firing neurons? As I said above, what I need is to add
sum(1 if neuron fired) to the gating var...
Thanks!
gus.-
_______________________________________________
NEST Users mailing list -- users(a)nest-simulator.org
To unsubscribe send an email to users-leave(a)nest-simulator.org