load_file("nrngui.hoc")
objectvar save_window_, rvp_
objectvar scene_vector_[3]
objectvar ocbox_, ocbox_list_, scene_, scene_list_
{ocbox_list_ = new List() scene_list_ = new List()}
{pwman_place(0,0,0)}
{
xpanel("Fig 3", 0)
xmenu("cmax", 0)
xbutton("1 uM","PRE.cmax_glurel = 1e-3")
xbutton("30 uM","PRE.cmax_glurel = 30e-3")
xbutton("1000 uM","PRE.cmax_glurel = 1000e-3")
xmenu()
xmenu("dur", 0)
xbutton("1 ms","PRE.dur_glurel = 1")
xbutton("20 ms","PRE.dur_glurel = 20")
xbutton("2 s","PRE.dur_glurel = 2000")
xmenu()
PRE.cmax_glurel(.5) = 1
xvalue("cmax","PRE.cmax_glurel(.5)", 1,"", 0, 0 )
PRE.dur_glurel(.5) = 2000
xvalue("dur","PRE.dur_glurel(.5)", 1,"", 0, 0 )
xradiobutton("NR2A model","nrn2a_model()")
xradiobutton("NR2B model","nrn2b_model()",1)
xpanel(400,300)
}
{
xpanel("RunControl", 0)
v_init = -70
xvalue("Init","v_init", 1,"stdinit()", 1, 1 )
xbutton("Init & Run","run()")
xbutton("Stop","stoprun=1")
runStopAt = 2500
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 = 0
xvalue("t","t", 2 )
tstop = 2500
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 = 0
xvalue("Real Time","realtime", 0,"", 0, 1 )
xpanel(87,112)
}
{
save_window_ = new Graph(0)
save_window_.size(-100,2600,-0.0023,-1.16415e-10)
scene_vector_[2] = save_window_
{save_window_.view(-100, -0.0023, 2700, 0.0023, 401, 27, 300.48, 200.32)}
graphList[1].append(save_window_)
save_window_.save_name("graphList[1].")
save_window_.addexpr("c.inmda", 1, 1, 0.397444, 0.732268, 2)
}
objectvar scene_vector_[1]
{doNotify()}