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()}

//Begin PointProcessGroupManager
{
load_file("pointgrp.hoc")
}
{
ocbox_ = new PointProcessGroupManager(0)
}
{object_push(ocbox_)}
{
ms = new MechanismStandard("SpikeGenerator")
ms.set("fast_invl", 1, 0)
ms.set("slow_invl", 50, 0)
ms.set("burst_len", 10, 0)
ms.set("start", 0, 0)
ms.set("end", 1e+10, 0)
ms.set("noise", 0, 0)
mnews("SpikeGenerator", ms)
select(0)
execute("soma ocbox_.move(0.5)")
ms = new MechanismStandard("SpikeGenerator")
ms.set("fast_invl", 1, 0)
ms.set("slow_invl", 50, 0)
ms.set("burst_len", 10, 0)
ms.set("start", 4.5, 0)
ms.set("end", 1e+10, 0)
ms.set("noise", 0, 0)
mnews("SpikeGenerator", ms)
select(1)
execute("soma ocbox_.move(0.5)")
ms = new MechanismStandard("SpikeGenerator")
ms.set("fast_invl", 1, 0)
ms.set("slow_invl", 50, 0)
ms.set("burst_len", 10, 0)
ms.set("start", 50, 0)
ms.set("end", 1e+10, 0)
ms.set("noise", 0, 0)
mnews("SpikeGenerator", ms)
select(2)
execute("soma ocbox_.move(0.5)")
ms = new MechanismStandard("ExpSyn")
ms.set("tau", 100, 0)
ms.set("e", 0, 0)
mnews("ExpSyn", ms)
select(3)
execute("soma ocbox_.move(0.5)")
}
{object_pop() doNotify()}
{
ocbox_ = ocbox_.v1
ocbox_.map("PointProcessGroupManager", 42, 522, 596.16, 311.04)
}
objref ocbox_
//End PointProcessGroupManager

{
save_window_ = new Graph(0)
save_window_.size(0,20,-65,-53)
scene_vector_[2] = save_window_
{save_window_.view(0, -65, 20, 12, 773, 26, 300.48, 200.32)}
graphList[0].append(save_window_)
save_window_.save_name("graphList[0].")
save_window_.addexpr("v(.5)", 1, 1, 0.8, 0.9, 2)
}
{
save_window_ = new Graph(0)
save_window_.size(0,20,0,0.029)
scene_vector_[4] = save_window_
{save_window_.view(0, 0, 20, 0.029, 771, 296, 300.48, 200.32)}
graphList[0].append(save_window_)
save_window_.save_name("graphList[0].")
save_window_.addexpr("syn.g", 1, 1, 0.8, 0.9, 2)
}
{
save_window_ = new Graph(0)
save_window_.size(0,20,-90,120)
scene_vector_[5] = save_window_
{save_window_.view(0, -90, 20, 210, 774, 567, 300.48, 200.32)}
graphList[0].append(save_window_)
save_window_.save_name("graphList[0].")
save_window_.addexpr("SpikeGenerator[0].y+100", 1, 1, 0.8, 0.9, 2)
save_window_.addexpr("SpikeGenerator[1].y", 1, 1, 0.8, 0.9, 2)
}
{
xpanel("RunControl", 0)
v_init = -65
xvalue("Init","v_init", 1,"stdinit()", 1, 1 )
xbutton("Init & Run","run()")
xbutton("Stop","stoprun=1")
runStopAt = 9.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 = 20
xvalue("t","t", 2 )
tstop = 20
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 )
xcheckbox("Quiet",&stdrun_quiet,"")
realtime = 1
xvalue("Real Time","realtime", 0,"", 0, 1 )
xpanel(470,33)
}
objectvar scene_vector_[1]
{doNotify()}
