objectvar save_window_, rvp_
objectvar scene_vector_[6]
objectvar ocbox_, ocbox_list_, scene_, scene_list_
{ocbox_list_ = new List() scene_list_ = new List()}
{pwman_place(0,0,0)}
//Begin CellBuild[0]
{
load_file("celbild.hoc", "CellBuild")
}
{ocbox_ = new CellBuild(1)}
{object_push(ocbox_)}
{
version(5.1)
continuous = 1
}
{object_push(topol)}
{
first = 0
slist.remove_all()
sname = "a"
objref tobj
}
{
tobj = new CellBuildSection("a",0, 0, tobj, 0) slist.append(tobj)
tobj.position(-105,0,-195,0) tobj.lx=-154.567 tobj.ly=-7.64637 tobj.i3d=0
tobj = new CellBuildSection("a",1, 0, tobj, 0) slist.append(tobj)
tobj.parent=slist.object(0)
tobj.position(-105,0,0,-15) tobj.lx=-50.6769 tobj.ly=-19.1382 tobj.i3d=0
tobj = new CellBuildSection("b0",0, 0, tobj, 0) slist.append(tobj)
tobj.parent=slist.object(0)
tobj.position(-105,0,-60,75) tobj.lx=-88.1056 tobj.ly=49.9609 tobj.i3d=0
all_init()
}
for i=0, slist.count-1 {slist.object(i).rdses()}
{object_pop()}
{
}
{object_push(subsets)}
{first = 0}
{consist()}
{object_pop()}
{
}
{object_push(geom)}
{
first = 0
tobj = new GeoSpec(5)
tobj.value = 0.1
bild.subsets.snlist.object(0).geo.append(tobj)
tobj = new GeoSpec(0)
tobj.value = 20000
bild.topol.slist.object(0).geo.append(tobj)
tobj = new GeoSpec(1)
tobj.value = 250
bild.topol.slist.object(0).geo.append(tobj)
tobj = new GeoSpec(0)
tobj.value = 20000
bild.topol.slist.object(1).geo.append(tobj)
tobj = new GeoSpec(1)
tobj.value = 250
bild.topol.slist.object(1).geo.append(tobj)
tobj = new GeoSpec(0)
tobj.value = 10000
bild.topol.slist.object(2).geo.append(tobj)
tobj = new GeoSpec(1)
tobj.value = 40
bild.topol.slist.object(2).geo.append(tobj)
set_default()
}
{object_pop()}
{
}
{object_push(memb)}
{first=0}
{
tobj = new GeoSpec(0)
tobj.value = 35.4
tobj.set_default()
tobj = new MStanWrap(tobj, 0)
bild.subsets.snlist.object(0).ml.append(tobj)
}
{
tobj = new GeoSpec(1)
tobj.value = 1
tobj.set_default()
tobj = new MStanWrap(tobj, 0)
bild.subsets.snlist.object(0).ml.append(tobj)
}
{
tobj = new MechanismStandard("hh")
tobj.set("gnabar_hh", 0.12, 0)
tobj.set("gkbar_hh", 0.036, 0)
tobj.set("gl_hh", 0.0003, 0)
tobj.set("el_hh", -54.3, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(0).ml.append(tobj)
}
{object_pop()}
{
}
{object_push(manage)}
{
first = 0
classname = "Cell"
etop=1 esub=1 egeom=1 emem=1
itop=1 isub=0 igeom=0 imem=0
bild.topol.names_off = 0
bild.topol.circles_off = 0
}
{object_pop()}
{
cexport()
}
{object_pop()}
{
save_window_=ocbox_.gtopol
save_window_.size(-200,200,-150,150)
scene_vector_[2] = save_window_
ocbox_.gtopol = save_window_
save_window_.save_name("ocbox_.gtopol")
}
{
ocbox_.map("CellBuild[0]", 0, 848, 829.8, 423.9)
}
objref ocbox_
//End CellBuild[0]
//Begin PointProcessManager
{
load_file("pointman.hoc")
}
{
b0 ocbox_ = new PointProcessManager(0)
}
{object_push(ocbox_)}
{
mt.select("IClamp") i = mt.selected()
ms[i] = new MechanismStandard("IClamp")
ms[i].set("del", 0, 0)
ms[i].set("dur", 0.1, 0)
ms[i].set("amp", 500, 0)
mt.select("IClamp") i = mt.selected() maction(i)
hoc_ac_ = 1
sec.sec move() d1.flip_to(0)
}
{object_pop() doNotify()}
{
ocbox_ = ocbox_.v1
ocbox_.map("PointProcessManager", 362, 4, 215.1, 376.2)
}
objref ocbox_
//End PointProcessManager
{
save_window_ = new Graph(0)
save_window_.size(-10000,20000,-70,40)
scene_vector_[4] = save_window_
{save_window_.view(-10000, -70, 30000, 110, 654, 9, 300.6, 200.8)}
flush_list.append(save_window_)
save_window_.save_name("flush_list.")
objectvar rvp_
rvp_ = new RangeVarPlot("v")
b0 rvp_.begin(1)
a[0] rvp_.end(1)
rvp_.origin(0)
save_window_.addobject(rvp_, 2, 1, 0.8, 0.9)
}
{
xpanel("RunControl", 0)
v_init = -64
xvalue("Init","v_init", 1,"stdinit()", 1, 1 )
xbutton("Init & Run","run()")
xbutton("Stop","stoprun=1")
runStopAt = 5
xvalue("Continue til","runStopAt", 1,"{continuerun(runStopAt) stoprun=1}", 1, 1 )
runStopIn = 1
xvalue("Continue for","runStopIn", 1,"{continuerun(t + runStopIn) stoprun=1}", 1, 1 )
xbutton("Single Step","steprun()")
t = 10
xvalue("t","t", 2 )
tstop = 10
xvalue("Tstop","tstop", 1,"tstop_changed()", 0, 1 )
dt = 0.005
xvalue("dt","dt", 1,"setdt()", 0, 1 )
steps_per_ms = 40
xvalue("Points plotted/ms","steps_per_ms", 1,"setdt()", 0, 1 )
xcheckbox("Quiet",&stdrun_quiet,"")
realtime = 1
xvalue("Real Time","realtime", 0,"", 0, 1 )
xpanel(72,99)
}
{
save_window_ = new Graph(0)
save_window_.size(0,10,-80,40)
scene_vector_[5] = save_window_
{save_window_.view(0, -80, 10, 120, 658, 352, 300.6, 200.8)}
graphList[0].append(save_window_)
save_window_.save_name("graphList[0].")
save_window_.addvar("b0.v(0.5)", 2, 1, 0.8, 0.9, 2)
save_window_.addvar("a[0].v(0.5)", 3, 1, 0.8, 0.9, 2)
}
{
xpanel("Temperature", 0)
celsius = 7
xvalue("celsius","celsius", 1,"", 0, 1 )
xpanel(91,536)
}
objectvar scene_vector_[1]
{doNotify()}