single spiking soma.
Posted: Thu Jul 05, 2007 10:25 am
Hi everybody,
I am just staring with Neuron. I tried to create a soma with hh conductances. When I insert everything in the console, the model runs properly (i.e. I see the action potentials). However, when I load directly the .hoc file, I only see an step in voltage in response to a current step.
If I load the corresponding hoc file, I can see the inserted mechanisms and hh properties (with forall psection()), but the model does not work properly. Would anybody be so kind to assist me here with the code.
Another question. Do i have to open/close Neuron every time that I want to load the modified the hoc file?.This is a little bit disturbing...
Thank you very much in advance.
I am just staring with Neuron. I tried to create a soma with hh conductances. When I insert everything in the console, the model runs properly (i.e. I see the action potentials). However, when I load directly the .hoc file, I only see an step in voltage in response to a current step.
Code: Select all
/*soma.hoc */
load_proc("nrnmainmenu")
tstop = 500
v_init = -70
celsius = 37
create soma
access soma
{nseg=1 L=30 diam=30 Ra=123.0}
insert hh
objectvar stimulator
stimulator = new IClamp(0.5)
stimulator.del = 100
stimulator.dur = 200
stimulator.amp = 0.5
/* additional menus*/
nrnmainmenu()
nrncontrolmenu()
newPlotV()
Another question. Do i have to open/close Neuron every time that I want to load the modified the hoc file?.This is a little bit disturbing...
Thank you very much in advance.