load_file("nrngui.hoc")
objectvar save_window_, rvp_
objectvar scene_vector_[8]
objectvar ocbox_, ocbox_list_, scene_, scene_list_
{ocbox_list_ = new List()  scene_list_ = new List()}
{pwman_place(0,0,0)}

//Begin ArtCellGUI[0]
{
load_file("netbild.hoc")
}
ocbox_ = new ArtCellGUI(1)
{object_push(ocbox_)}
{
tobj = new MechanismStandard("NetStim")
tobj.set("interval", 1, 0)
tobj.set("number", 1, 0)
tobj.set("start", 0.1, 0)
tobj.set("noise", 0, 0)
}
{append(tobj, "S")}
{object_pop()}
{
ocbox_.map("ArtCellGUI[0]", 385, 44, 449.28, 291.84)
}
objref ocbox_
//End ArtCellGUI[0]

{WindowMenu[0].ses_gid(1, 0, 0, "cell and net")}

//Begin NetReadyCellGUI[0]
{
load_file("netbild.hoc")
}
{ocbox_ = new NetReadyCellGUI(1)}
{ocbox_.tobj = new CellBuild(1)}
{object_push(ocbox_.tobj)}
{
version(5.1)
continuous = 0
}
{object_push(topol)}
{
first = 0
slist.remove_all()
sname = "dend"
objref tobj
}
{
tobj = new CellBuildSection("soma",0, 0, tobj, 0) slist.append(tobj)
  tobj.position(0,0,15,0) tobj.lx=7.5 tobj.ly=0 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(0)
tobj.value = 10
bild.subsets.snlist.object(0).geo.append(tobj)
tobj = new GeoSpec(1)
tobj.value = 10
bild.subsets.snlist.object(0).geo.append(tobj)
tobj = new GeoSpec(5)
tobj.value = 0.1
bild.subsets.snlist.object(0).geo.append(tobj)
set_default()
}
{object_pop()}
{
}
{object_push(memb)}
{first=0}
{
tobj = new GeoSpec(0)
tobj.value = 100
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
output_index = 0  output_x = 1
}
{object_pop()}
{
cexport()
}
{object_pop()}
{
save_window_=ocbox_.tobj.gtopol
save_window_.size(-200,200,-150,150)
scene_vector_[3] = save_window_
ocbox_.tobj.gtopol = save_window_
save_window_.save_name("ocbox_.tobj.gtopol")
}
{object_push(ocbox_)}
stgui = new SynTypeGUI(1)
{object_push(stgui)}
{
tobj = new MechanismStandard("ExpSyn")
tobj.set("tau", 0.5, 0)
tobj.set("e", 0, 0)
}
{append(tobj, "E")}
{object_pop()}
nrc = new NetReadyCell(tobj, stgui.stypelist)
nrc.name = "C"
tobj = nrc.cb.topol.slist.object(0)
{nrc.synlist.append(new SynTypeInstance(nrc.stype.object[0],tobj,0.5,0.5,-1))}
{g.size(-166.875,166.875,-125.208,125.208)}
{object_pop()}
{
ocbox_.map("NetReadyCellGUI[0]", 865, 44, 404.16, 361.92)
}
objref ocbox_
//End NetReadyCellGUI[0]

{WindowMenu[0].ses_gid(0, 0, 0, "cell and net")}

//Begin NetGUI[0]
{
load_file("netbild.hoc")
}
{ocbox_ = new NetGUI(1)}
{object_push(ocbox_)}
{mapold2new = new Vector()  missing = new List()}
original_type("C")
original_type("S")
newnode(1, -98, 18)
newnode(0, -47, 13)
newnode(0, -49, -27)
newedge(0, 1, 0, 0.002, 1)
newedge(0, 2, 0, 0.0007, 0.1)
newedge(1, 2, 0, 0.0007, 0.1)
{create_ = 1  create1()}
{g.size(-166.667,166.667,-124.997,124.997)}
{object_pop()}
{
ocbox_.map("NetGUI[0]", 307, 376, 528, 327.36)
}
objref ocbox_
//End NetGUI[0]

{WindowMenu[0].ses_gid(0, 0, 0, "cell and net")}
{
save_window_ = new Graph(0)
save_window_.size(0,5,-80,40)
scene_vector_[5] = save_window_
{save_window_.view(0, -80, 5, 120, 400, 0, 700, 350)}
g0 = save_window_
save_window_.save_name("g0")
}
{
save_window_ = new Graph(0)
save_window_.size(0,5,-80,40)
scene_vector_[6] = save_window_
{save_window_.view(0, -80, 5, 120, 400, 450, 700, 350)}
g1 = save_window_
save_window_.save_name("g1")
}
{
xpanel("RunControl", 0)
v_init = -65
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 = 5
xvalue("t","t", 2 )
tstop = 5
xvalue("Tstop","tstop", 1,"tstop_changed()", 0, 1 )
dt = 0.027535
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 = 0
xvalue("Real Time","realtime", 0,"", 0, 1 )
xpanel(13,132)
}
{WindowMenu[0].ses_gid(0, 1, 0, "control")}

//Begin VariableTimeStep
{
ocbox_ = NumericalMethodPanel[0]
ocbox_ = ocbox_.b1
ocbox_.map("VariableTimeStep", 14, 530, 272.64, 106.56)
}
objref ocbox_
//End VariableTimeStep

{WindowMenu[0].ses_gid(0, 1, 0, "control")}
{
save_window_ = new Graph(0)
save_window_.size(0,5,-80,40)
scene_vector_[7] = save_window_
{save_window_.view(0, -80, 5, 120, 885, 455, 300.48, 200.32)}
graphList[0].append(save_window_)
save_window_.save_name("graphList[0].")
save_window_.addvar("C_Cell[0].soma.v( 0.5 )", 1, 1, 0.461342, 1.06773, 2)
save_window_.addexpr("C_Cell[1].soma.v( 0.5 )", 2, 1, 0.458147, 1.05815, 2)
}
{WindowMenu[0].ses_gid(0, 1, 0, "control")}
objectvar scene_vector_[1]
{doNotify()}