{load_file("nrngui.hoc")}
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 PointProcessManager
{
load_file("pointman.hoc")
}
{
a_soma ocbox_ = new PointProcessManager(0)
}
{object_push(ocbox_)}
{
mt.select("IClamp") i = mt.selected()
ms[i] = new MechanismStandard("IClamp")
ms[i].set("del", 400, 0)
ms[i].set("dur", 20, 0)
ms[i].set("amp", 0.5, 0)
mt.select("IClamp") 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", 277, 96, 208, 298)
}
objref ocbox_
//End PointProcessManager


//Begin PointProcessManager
{
load_file("pointman.hoc")
}
{
apic[41] ocbox_ = new PointProcessManager(0)
}
{object_push(ocbox_)}
{
mt.select("IClamp") i = mt.selected()
ms[i] = new MechanismStandard("IClamp")
ms[i].set("del", 505, 0)
ms[i].set("dur", 5, 0)
ms[i].set("amp", 1, 0)
mt.select("AlphaSynapse") i = mt.selected()
ms[i] = new MechanismStandard("AlphaSynapse")
ms[i].set("onset", 510, 0)
ms[i].set("tau", 3, 0)
ms[i].set("gmax", 0.01, 0)
ms[i].set("e", 50, 0)
mt.select("epsp") i = mt.selected()
ms[i] = new MechanismStandard("epsp")
ms[i].set("onset", 404, 0)
ms[i].set("tau0", 1, 0)
ms[i].set("tau1", 9, 0)
ms[i].set("imax", 0.6, 0)
mt.select("epsp") i = mt.selected() maction(i)
hoc_ac_ = 0.625
sec.sec move() d1.flip_to(0)
}
{object_pop() doNotify()}
{
ocbox_ = ocbox_.v1
ocbox_.map("PointProcessManager", 8, 441, 208, 298)
}
objref ocbox_
//End PointProcessManager

{
save_window_ = new Graph(0)
save_window_.size(0,500,-80,40)
scene_vector_[4] = save_window_
{save_window_.view(0, -80, 500, 120, 370, 228, 534, 459)}
graphList[0].append(save_window_)
save_window_.save_name("graphList[0].")
save_window_.addexpr("a_soma.v(0.5)", 1, 1, 0.8, 0.865142, 2)
save_window_.addexpr("apic[41].v(0.3)", 3, 1, 0.8, 0.9, 2)
save_window_.addexpr("apic[41].v(0.625)", 2, 1, 0.8, 0.9, 2)
}
{
xpanel("RunControl", 0)
v_init = -62
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 = 442.4
xvalue("t","t", 2 )
tstop = 500
xvalue("Tstop","tstop", 1,"tstop_changed()", 0, 1 )
dt = 0.0125
xvalue("dt","dt", 1,"setdt()", 0, 1 )
steps_per_ms = 40
xvalue("Points plotted/ms","steps_per_ms", 1,"setdt()", 0, 1 )
screen_update_invl = 0.05
xvalue("Scrn update invl","screen_update_invl", 1,"", 0, 1 )
realtime = 141.78
xvalue("Real Time","realtime", 0,"", 0, 1 )
xpanel(3,96)
}
{
save_window_ = new PlotShape(0)
save_window_.size(-748.591,575.52,-533.758,1402.84)
save_window_.variable("v")
scene_vector_[5] = save_window_
{save_window_.view(-748.591, -533.758, 1324.11, 1936.6, 921, 27, 374, 547)}
fast_flush_list.append(save_window_)
save_window_.save_name("fast_flush_list.")
}
objectvar scene_vector_[1]
{doNotify()}