I am trying to study the effect of the series resistance on time course of synaptic currents. For that, I first created a very simplified model of a soma and an "alpha synapse" attached to it . To perform the measurements, I would like to voltage-clamp the soma at -70mV and get the corresponding postsynaptic currents.
After creating a simplified model (see code bellow), I could see the corresponding synaptic potential, but unfortunately, I could not access the membrane current (Graph->Current Axis->Plot What->soma.i_pass(.5) does not show anything). How do I see the corresponding synaptic current?
I tried to perform the V-Clamp experiment (SEVClamp with rs=0 and vc = -70) but this did not changed anything.
Is there any way to access the i or g variables that are shown in the menu to get the synaptic current?
Any help to would be greatly appreciated. Thanks a lot in advance.
Code: Select all
/* simpletest.hoc */
load_file("nrngui.hoc")
//-------------------------------------------------------------------------
// initial simulation parameters
//-------------------------------------------------------------------------
t = 0
dt = 0.005
tstop = 150
Vrest =-70
v_init = Vrest
//-------------------------------------------------------------------------
// Basic morphology/biophysics
//-------------------------------------------------------------------------
Ri = 294
Rm = 164000
Cm = 0.683
create soma
soma {nseg = 3 L = 30 diam = 30 }
forall {insert pas g_pas = 1/Rm e_pas = Vrest}
forall {v= Vrest Ra = Ri cm = Cm}
//-------------------------------------------------------------------------
// Alpha synapse
//-------------------------------------------------------------------------
access soma
objectvar mySyn
mySyn = new AlphaSynapse(0.5)
mySyn.onset = 20
mySyn.tau = 0.3
mySyn.gmax = 0.008
mySyn.e = -5