Graded synapse using NMODL
Posted: Sat May 22, 2010 12:50 am
Hello,
I'm a recent NEURON user. I'm trying to model graded synapse using NMODL. Here is the code.
I'm trying to voltage clamp the presynaptic cell and look at the synaptic current. However, the model isn't working. I used setpointer notation to equal vpre to the presynaptic voltage. If any of you could help me out I'll really appreciate it.
Thanks,
Yamin
I'm a recent NEURON user. I'm trying to model graded synapse using NMODL. Here is the code.
Code: Select all
: Graded Synaptic Transmission
NEURON {
POINT_PROCESS GradSyn
POINTER vpre
RANGE e, gmax, x0, dx, g, i
NONSPECIFIC_CURRENT i
}
UNITS {
(nA) = (nanoamp)
(mV) = (millivolt)
(uS) = (microsiemens)
}
PARAMETER {
e = -70 (mV)
gmax = -1 (uS)
x0 = -20 (mV)
dx = 4 (mV)
}
ASSIGNED {
v (mV)
vpre (mV) : presynaptic voltage
g (uS)
i (nA)
}
BREAKPOINT {
g = gmax*(1/(1+exp((x0-v)/dx)))
i = g*(v-e)
}
Thanks,
Yamin