Change the value of a derivative in NET_RECEIVE?

NMODL and the Channel Builder.
Post Reply
dabliss
Posts: 7
Joined: Fri Feb 20, 2015 3:28 pm
Location: UC Berkeley

Change the value of a derivative in NET_RECEIVE?

Post 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
ted
Site Admin
Posts: 6300
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Change the value of a derivative in NET_RECEIVE?

Post 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
ted
Site Admin
Posts: 6300
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Change the value of a derivative in NET_RECEIVE?

Post 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).
Post Reply