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("SpikeGenerator")
ms.set("fast_invl", 2, 0)
ms.set("slow_invl", 10, 0)
ms.set("burst_len", 5, 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", 2, 0)
ms.set("slow_invl", 40, 0)
ms.set("burst_len", 4, 0)
ms.set("start", 40, 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", 100, 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("AMPA_S")
mnews("AMPA_S", ms)
select(3)
execute("soma ocbox_.move(0.5)")
}
{object_pop() doNotify()}
{
ocbox_ = ocbox_.v1
ocbox_.map("PointProcessGroupManager", 116, 584, 596.16, 311.04)
}
objref ocbox_
//End PointProcessGroupManager

{
save_window_ = new Graph(0)
save_window_.size(0,50,-80,40)
scene_vector_[3] = save_window_
{save_window_.view(0, -80, 50, 120, 810, 62, 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,50,0,2)
scene_vector_[4] = save_window_
{save_window_.view(0, 0, 50, 2, 806, 335, 300.48, 200.32)}
graphList[0].append(save_window_)
save_window_.save_name("graphList[0].")
save_window_.addvar("AMPA_S[0].g", 1, 1, 0.605112, 0.904792, 2)
}
{
save_window_ = new Graph(0)
save_window_.size(0,50,-90,320)
scene_vector_[5] = save_window_
{save_window_.view(0, -90, 50, 410, 808, 606, 300.48, 200.32)}
graphList[0].append(save_window_)
save_window_.save_name("graphList[0].")
save_window_.addexpr("SpikeGenerator[0].y+300", 1, 1, 0.413418, 0.995847, 2)
save_window_.addexpr("SpikeGenerator[1].y+150", 1, 1, 0.419808, 0.995847, 2)
save_window_.addexpr("SpikeGenerator[2].y", 1, 1, 0.416613, 0.986262, 2)
}
{
xpanel("AMPA_S (Globals)", 0)
Cmax_AMPA_S = 1
xvalue("Cmax_AMPA_S","Cmax_AMPA_S", 1,"", 0, 0 )
Cdur_AMPA_S = 1
xvalue("Cdur_AMPA_S","Cdur_AMPA_S", 1,"", 0, 0 )
Alpha_AMPA_S = 0.47
xvalue("Alpha_AMPA_S","Alpha_AMPA_S", 1,"", 0, 0 )
Beta_AMPA_S = 0.01
xvalue("Beta_AMPA_S","Beta_AMPA_S", 1,"", 0, 0 )
Erev_AMPA_S = 0
xvalue("Erev_AMPA_S","Erev_AMPA_S", 1,"", 0, 0 )
Rinf_AMPA_S = 0.97917
xvalue("Rinf_AMPA_S","Rinf_AMPA_S", 1,"", 0, 0 )
Rtau_AMPA_S = 2.0833
xvalue("Rtau_AMPA_S","Rtau_AMPA_S", 1,"", 0, 0 )
xpanel(182,112)
}
{
xpanel("RunControl", 0)
v_init = -65
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 = 50
xvalue("t","t", 2 )
tstop = 50
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(502,35)
}

//Begin VariableTimeStep
{
ocbox_ = NumericalMethodPanel[0]
ocbox_ = ocbox_.b1
ocbox_.map("VariableTimeStep", 498, 427, 272.64, 106.56)
}
objref ocbox_
//End VariableTimeStep

objectvar scene_vector_[1]
{doNotify()}
