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 PointProcessGroupManager
{
load_file("pointgrp.hoc")
}
{
ocbox_ = new PointProcessGroupManager(0)
}
{object_push(ocbox_)}
{
ms = new MechanismStandard("IClamp")
ms.set("del", 0, 0)
ms.set("dur", 200, 0)
ms.set("amp", -0.05, 0)
mnews("IClamp", ms)
select(0)
execute("soma[0] ocbox_.move(0.5)")
ms = new MechanismStandard("AMPA_S")
ms.set("gmax", 0.049725, 0)
mnews("AMPA_S", ms)
select(1)
execute("dend4[6] ocbox_.move(0.863636)")
ms = new MechanismStandard("AMPA_S")
ms.set("gmax", 0.027598, 0)
mnews("AMPA_S", ms)
select(2)
execute("dend2[2] ocbox_.move(0.75)")
ms = new MechanismStandard("AMPA_S")
ms.set("gmax", 0.034087, 0)
mnews("AMPA_S", ms)
select(3)
execute("dend1[6] ocbox_.move(0.583333)")
ms = new MechanismStandard("SpikeGenerator")
ms.set("fast_invl", 1, 0)
ms.set("slow_invl", 200, 0)
ms.set("burst_len", 1, 0)
ms.set("start", 100, 0)
ms.set("end", 1e+10, 0)
ms.set("noise", 0, 0)
mnews("SpikeGenerator", ms)
select(4)
execute("soma[0] ocbox_.move(0.5)")
ms = new MechanismStandard("SpikeGenerator")
ms.set("fast_invl", 1, 0)
ms.set("slow_invl", 200, 0)
ms.set("burst_len", 1, 0)
ms.set("start", 100, 0)
ms.set("end", 1e+10, 0)
ms.set("noise", 0, 0)
mnews("SpikeGenerator", ms)
select(5)
execute("soma[0] ocbox_.move(0.5)")
ms = new MechanismStandard("SpikeGenerator")
ms.set("fast_invl", 1, 0)
ms.set("slow_invl", 200, 0)
ms.set("burst_len", 1, 0)
ms.set("start", 100, 0)
ms.set("end", 1e+10, 0)
ms.set("noise", 0, 0)
mnews("SpikeGenerator", ms)
select(6)
execute("soma[0] ocbox_.move(0.5)")
}
{object_pop() doNotify()}
{
ocbox_ = ocbox_.v1
ocbox_.map("PointProcessGroupManager", 433, 414, 827.52, 458.88)
}
objref ocbox_
//End PointProcessGroupManager

{
xpanel("RunControl", 0)
v_init = -70
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 = 150
xvalue("t","t", 2 )
tstop = 150
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 = 13
xvalue("Real Time","realtime", 0,"", 0, 1 )
xpanel(71,306)
}
{
save_window_ = new Graph(0)
save_window_.size(100,150,-80,60)
scene_vector_[3] = save_window_
{save_window_.view(100, -80, 50, 140, 371, 94, 717.12, 398.08)}
graphList[0].append(save_window_)
save_window_.save_name("graphList[0].")
save_window_.addexpr("v(.5)", 1, 3, 0.8, 0.9, 2)
save_window_.addexpr("dend1[0].v( 0.5 )", 2, 3, 0.8, 0.9, 2)
save_window_.addexpr("dend1[12].v( 0.5 )", 3, 3, 0.8, 0.9, 2)
}
objectvar scene_vector_[1]
{doNotify()}