HH model with high positive current
Posted: Thu Sep 08, 2005 11:32 am
Dear Friends,
as a frist step in neuroscience computation i start with HH model with the following simple code
load_file("nrngui.hoc")
//create soma
create soma
access soma
soma{
nseg = 15
diam =18.8
L = 18.8
Ra = 123.0
insert hh
gnabar_hh = 0.12 //(s/cm2)
gkbar_hh = 0.036 //(s/cm2)
gl_hh = 0.0003 //(s/cm2)
el_hh = -54.3 //(mv)
ena=50 //(mv)
ek=-77 //(mv)
//celsius=32.3
}
objectvar stim
stim = new IClamp(0.5)
stim.del = 100
stim.dur = 100
stim.amp = 0.1 //mA [0.1 0.2 0.3 0.5 0.9 1.0 1.5 2 2.5 3 ]
dt=0.0001
tstop = 400
i run this code for positive current and;
when temperature is 6.3 (celsius=6.3,default), i change "stim.amp" from 0.1 to 3.5.
Spikes Frequency(SF) increase as i increase "amp" but for amp>2, (SF) decrease, i have one big spike that starts very fast. even for high temperature (celsius=32.3), for small(0.1) amp i don't have spike and for (stim.amp=0.5)i have one very fast and big spike!!!
is it somthing wrong in my code , and parameters that i have used?
should i add another parameter to have spike in celsius=32.3?!!
thank's in advance,
Have Great Time
as a frist step in neuroscience computation i start with HH model with the following simple code
load_file("nrngui.hoc")
//create soma
create soma
access soma
soma{
nseg = 15
diam =18.8
L = 18.8
Ra = 123.0
insert hh
gnabar_hh = 0.12 //(s/cm2)
gkbar_hh = 0.036 //(s/cm2)
gl_hh = 0.0003 //(s/cm2)
el_hh = -54.3 //(mv)
ena=50 //(mv)
ek=-77 //(mv)
//celsius=32.3
}
objectvar stim
stim = new IClamp(0.5)
stim.del = 100
stim.dur = 100
stim.amp = 0.1 //mA [0.1 0.2 0.3 0.5 0.9 1.0 1.5 2 2.5 3 ]
dt=0.0001
tstop = 400
i run this code for positive current and;
when temperature is 6.3 (celsius=6.3,default), i change "stim.amp" from 0.1 to 3.5.
Spikes Frequency(SF) increase as i increase "amp" but for amp>2, (SF) decrease, i have one big spike that starts very fast. even for high temperature (celsius=32.3), for small(0.1) amp i don't have spike and for (stim.amp=0.5)i have one very fast and big spike!!!
is it somthing wrong in my code , and parameters that i have used?
should i add another parameter to have spike in celsius=32.3?!!
thank's in advance,
Have Great Time