{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 PointProcessGroupManager
{
load_file("pointgrp.hoc")
}
{
ocbox_ = new PointProcessGroupManager(0)
}
{object_push(ocbox_)}
{
ms = new MechanismStandard("IClamp")
ms.set("del", 50, 0)
ms.set("dur", 400, 0)
ms.set("amp", 0, 0)
mnews("IClamp", ms)
select(0)
execute("apic[59] ocbox_.move(0.954545)")
ms = new MechanismStandard("glutamate")
ms.set("gmax", 20, 0)
ms.set("e", 0, 0)
ms.set("ntar", 1, 0)
ms.set("del", 50, 0)
ms.set("Tspike", 20, 0)
ms.set("Nspike", 3, 0)
mnews("glutamate", ms)
select(1)
execute("apic[63] ocbox_.move(0.590909)")
ms = new MechanismStandard("IClamp")
ms.set("del", 50, 0)
ms.set("dur", 400, 0)
ms.set("amp", 0, 0)
mnews("IClamp", ms)
select(2)
execute("apic[58] ocbox_.move(0.318182)")
}
{object_pop() doNotify()}
{
ocbox_ = ocbox_.v1
ocbox_.map("PointProcessGroupManager", 500, 650, 603.9, 429.3)
}
objref ocbox_
//End PointProcessGroupManager

{
save_window_ = new Shape(0)
save_window_.size(-174.5,225.5,652.792,1036.71)
scene_vector_[2] = save_window_
{save_window_.view(-174.5, 652.792, 400, 383.92, 900, 123, 400.5, 383.5)}
}
{
xpanel("RunControl", 0)
v_init = -70
xvalue("Init","v_init", 1,"stdinit()", 1, 1 )
xbutton("Init & Run","run()")
xbutton("Stop","stoprun=1")
runStopAt = 700
xvalue("Continue til","runStopAt", 1,"{continuerun(runStopAt) stoprun=1}", 1, 1 )
runStopIn = 600
xvalue("Continue for","runStopIn", 1,"{continuerun(t + runStopIn) stoprun=1}", 1, 1 )
xbutton("Single Step","steprun()")
t = 789.9
xvalue("t","t", 2 )
tstop = 200
xvalue("Tstop","tstop", 1,"tstop_changed()", 0, 1 )
dt = 0.1
xvalue("dt","dt", 1,"setdt()", 0, 1 )
steps_per_ms = 10
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 = 51.16
xvalue("Real Time","realtime", 0,"", 0, 1 )
xpanel(12,126)
}
{
save_window_ = new Graph(0)
save_window_.size(0,120,-70,-14)
scene_vector_[4] = save_window_
{save_window_.view(0, -70, 120, 56, 361, 66, 432, 301.6)}
graphList[0].append(save_window_)
save_window_.save_name("graphList[0].")
save_window_.addexpr("soma.v(0.5)", 1, 1, 0.8, 0.9, 2)
save_window_.addexpr("apic[11].v(0.5)", 2, 1, 0.8, 0.9, 2)
save_window_.addexpr("apic[58].v(0.5)", 3, 1, 0.8, 0.9, 2)
save_window_.addexpr("apic[59].v(1)", 3, 1, 0.8, 0.9, 2)

}
{
xpanel("forall Ra=global_ra", 0)
global_ra = 95
xvalue("global Ra","global_ra", 1,"set_ra()", 1, 1 )
xpanel(986,840)
}
{
xpanel("Temperature", 0)
celsius = 35
xvalue("celsius","celsius", 1,"", 0, 1 )
xpanel(996,966)
}
{
save_window_ = new PlotShape(0)
save_window_.size(-80.4917,76.5913,904.019,1061.18)
save_window_.variable("v")
scene_vector_[5] = save_window_
{save_window_.view(-80.4917, 904.019, 157.083, 157.161, 1620, 126, 200.7, 200.8)}
fast_flush_list.append(save_window_)
save_window_.save_name("fast_flush_list.")
}
{
xpanel("glutamate (Globals)", 0)
tau1_glutamate = 90
xvalue("tau1_glutamate","tau1_glutamate", 1,"", 0, 0 )
tau2_glutamate = 4
xvalue("tau2_glutamate","tau2_glutamate", 1,"", 0, 0 )
tau_ampa_glutamate = 2
xvalue("tau_ampa_glutamate","tau_ampa_glutamate", 1,"", 0, 0 )
n_glutamate = 0.2
xvalue("n_glutamate","n_glutamate", 1,"", 0, 0 )
gama_glutamate = 0.08
xvalue("gama_glutamate","gama_glutamate", 1,"", 0, 0 )
cah_glutamate = 8
xvalue("cah_glutamate","cah_glutamate", 1,"", 0, 0 )
tauh_glutamate = 1000
xvalue("tauh_glutamate","tauh_glutamate", 1,"", 0, 0 )
xpanel(72,883)
}
objectvar scene_vector_[1]
{doNotify()}