To try SEVClamp ( downloaded from nrn/src/nrnoc/svclmp.mod ), i wrote the following code.
Code: Select all
load_file("nrngui.hoc")
create soma
access soma
soma{
nseg=1 L=38.42 diam=26 Ra=173 cm= 0.88
insert pas g_pas=3.79e-5 e_pas=-76.5
insert hh2 // In base of Traub& Miles for hipocampal pyramidal cell
gnabar_hh2=0.1 gkbar_hh2=0.05 vtraub_hh2=-52
ena=50 ek=-100
}
objref stim
soma stim= new SEVClamp(0.5)
stim.dur[0]=200
stim.amp[0]=-75
stim.dur[1]=400
stim.amp[1]=-55
stim.dur[2]=200
stim.amp[2]=-75
stim.rs=1
tstop=800
v_init=-75
celsius=34
in the voltage graph, i see three level of voltage in soma.
But, when i change
oc>stim.amp[1]=-35
oc>run()
in the vlotage graph, i see a oscillation of voltage during second step!!
that's not what i except! I except for every value for stim.amp[1], (-75,-65,-55,-35,-25,..), to see a step function with constant value for every duration of SEVClamp, Am i right? or there is something that i don't know?
1-Could you help me to find out, what's gonig wrong, or where is my mistake, or my misunderstanding for this simulation?
2- If insted of SEVClamp, simply i use VCalmp, i don't see any oscillation! and it seems every thing is fine.
I really confused about SEVClamp and VClamp, i know that SEVClamp is single electrod and VClamp is two electrods. and "If your goal is to study the properties of a cell, use SEClamp" (https://www.neuron.yale.edu/phpBB2/viewtopic.php?t=505)
I guess you feel i really mixed! await for any advice
Regards,
Karlo