Axonal delay for simplified synapse kinetic model
Posted: Tue Aug 08, 2006 4:28 pm
Hi, I have the following code for a point process describing an inhibitory synapse:
Now I want to implement an axonal delay, but I'm not figuring out how to do it. I've been reading about netcon, but its "delay" doesn't seem to be useful in my case...
What I want is simply to set say a new variable z = s(t-delay) and then make g=gmax*z or else keep "s" as it is and make a delay in the pointer vpre, ie make it represent the voltage of my presynaptic cell a delayed time ago.
Can you help me?
Thank you for your attention!
Code: Select all
NEURON {
POINT_PROCESS Isyn
RANGE gmax, g, i,e
GLOBAL alpha,beta,thetasyn
NONSPECIFIC_CURRENT i
POINTER vpre
}
UNITS {
(nA) = (nanoamp)
(mV) = (millivolt)
(uS) = (microsiemens)
}
PARAMETER {
gmax=0.00001 (uS)
alpha=15 (/ms)
beta=0.11 (/ms)
e=-80 (mV)
thetasyn=0 (mV)
}
ASSIGNED { vpre (mV) v (mV) i (nA) g (uS) }
STATE { s }
INITIAL {
s = alpha*F(vpre)/(alpha*F(vpre)+beta)
}
BREAKPOINT {
g = gmax * s
i = g*(v - e)
}
DERIVATIVE state {
s' = alpha*F(vpre)*(1-s) - beta*s
}
FUNCTION F (w (mV)) {
UNITSOFF
F = 1/(1+ exp(-(w-thetasyn)/2))
UNITSON
}
What I want is simply to set say a new variable z = s(t-delay) and then make g=gmax*z or else keep "s" as it is and make a delay in the pointer vpre, ie make it represent the voltage of my presynaptic cell a delayed time ago.
Can you help me?
Thank you for your attention!