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

//Begin PointProcessManager
{
load_file("pointman.hoc")
}
{
soma ocbox_ = new PointProcessManager(0)
}
{object_push(ocbox_)}
{
mt.select("IClamp") i = mt.selected()
ms[i] = new MechanismStandard("IClamp")
ms[i].set("del", 100, 0)
ms[i].set("dur", 100, 0)
ms[i].set("amp", 0, 0)
mt.select("Exp2Delay") i = mt.selected()
ms[i] = new MechanismStandard("Exp2Delay")
ms[i].set("onset", 100, 0)
ms[i].set("tau1", 15, 0)
ms[i].set("tau2", 25, 0)
ms[i].set("gmax", 0.0095, 0)
ms[i].set("e", 0, 0)
mt.select("Exp2Delay") i = mt.selected() maction(i)
hoc_ac_ = 0.5
sec.sec move() d1.flip_to(0)
}
{object_pop() doNotify()}
{
ocbox_ = ocbox_.v1
ocbox_.map("PointProcessManager", 1, 134, 303.3, 666.9)
}
objref ocbox_
//End PointProcessManager

{
xpanel("1", 0)
xlabel("Run Control")
v_init = -50
xvalue("Init","v_init", 1,"stdinit()", 1, 1 )
xbutton("Init & Run","run()")
xbutton("Stop","stoprun=1")
runStopAt = 500
xvalue("Continue til","runStopAt", 1,"{continuerun(runStopAt) stoprun=1}", 1, 1 )
runStopIn = 500
xvalue("Continue for","runStopIn", 1,"{continuerun(t + runStopIn) stoprun=1}", 1, 1 )
t = 500
xvalue("t","t", 2 )
tstop = 500
xvalue("Tstop","tstop", 1,"tstop_changed()", 0, 1 )
dt = 0.025
xvalue("dt","dt", 1,"setdt()", 0, 1 )
steps_per_ms = 40
xvalue("Points plotted/ms","steps_per_ms", 1,"setdt()", 0, 1 )
xbutton("Quit","quit()")
xpanel(394,134)
}
{
save_window_ = new Graph(0)
save_window_.size(0,500,-54,11)
scene_vector_[3] = save_window_
{save_window_.view(0, -54, 500, 65, 397, 543, 500.4, 308.8)}
graphList[0].append(save_window_)
save_window_.save_name("graphList[0].")
save_window_.addexpr("v(.5)", 2, 3, 0.8, 0.9, 2)
}
objectvar scene_vector_[1]
{doNotify()}