Page 1 of 1

Change the value of a derivative in NET_RECEIVE?

Posted: Mon Feb 23, 2015 2:18 am
by dabliss
Is it OK to have an assignment like

x' = x' + 1

in a NET_RECEIVE block, if x' is defined in a DERIVATIVE block?

If this is disallowed, can you recommend a strategy for achieving the same result?

Many thanks,
Dan

Re: Change the value of a derivative in NET_RECEIVE?

Posted: Mon Feb 23, 2015 11:30 am
by ted
I can tell you what to do but the details will depend on what's in your mod file. Just to email it to me
ted dot carnevale at yale dot edu

Re: Change the value of a derivative in NET_RECEIVE?

Posted: Wed Feb 25, 2015 11:36 am
by ted
Actually that wasn't what he wanted to do. The real question was how to replicate a synaptic mechanism in which one of the gating states is governed by a DE of the form
x' = -x/tau_x + SUMMA delta(t-ti)
where delta is the Dirac delta function and the ti are the times of synaptic activation.

The answer is to have a DERIVATIVE block in which there is the statement
x' = -x/tau_x
and a NET_RECEIVE block in which there is the statement
x = x+1
(because the effect of each synaptic activation is to immediately increment x by 1).