objectvar save_window_, rvp_
objectvar scene_vector_[7]
objectvar ocbox_, ocbox_list_, scene_, scene_list_
{ocbox_list_ = new List() scene_list_ = new List()}
{pwman_place(0,0,0)}
{
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 = 10
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 = 30
xvalue("Real Time","realtime", 0,"", 0, 1 )
xpanel(79,111)
}
{
save_window_ = new Graph(0)
save_window_.size(0,2000,-80,40)
scene_vector_[2] = save_window_
{save_window_.view(0, -80, 2000, 120, 723, 28, 500.16, 420.16)}
flush_list.append(save_window_)
save_window_.save_name("flush_list.")
objectvar rvp_
rvp_ = new RangeVarPlot("v")
b rvp_.begin(0)
b rvp_.end(1)
rvp_.origin(0)
save_window_.addobject(rvp_, 2, 1, 0.8, 0.9)
objectvar rvp_
rvp_ = new RangeVarPlot("v")
a rvp_.begin(0)
a rvp_.end(1)
rvp_.origin(0)
save_window_.addobject(rvp_, 3, 1, 0.8, 0.9)
}
{
xpanel("PARAMS", 0)
Ns = 1
xvalue("Number Stimulated Ns","Ns", 1,"extcelnet()", 0, 0 )
N = 4
xvalue("Total Number N","N", 1,"extcelnet()", 0, 0 )
beta = 0.05
xvalue("beta","beta", 1,"set_re()", 0, 0 )
xpanel(73,507)
}
//Begin LinearCircuit[0]
{
load_file("lincir.hoc", "LinearCircuit")
}
{
ocbox_ = new LinearCircuit(1)
}
{object_push(ocbox_)}
{mkelm(8, 200, 80, 2, -1.5708)}
{mklabel(0, "a(0.00580431)", 108.138, 5.0246)}
{sel.extra_info.set("a", 0.00580431) sel.extra_info.name(sel)}
{mkelm(4, 180, 100, 2, 0)}
{mklabel(0, "I2", 5.503, 25.365)}
{sel.extra_info.restore()}
3
1 0
1 0.06
1e+09 0
{mkelm(1, 180, 60, 2, 3.14159)}
1
{mklabel(0, "R3", 7.117, -12.0886)}
{mkelm(5, 160, 40, 2, 0)}
{mkelm(0, 160, 80, 2, 1.5708)}
{g.exec_menu("Simulate")}
{sel = nil}
{object_pop()}
{
{
save_window_=ocbox_.g
save_window_.size(0,300,0,200)
scene_vector_[3] = save_window_
ocbox_.g = save_window_
save_window_.save_name("ocbox_.g")
save_window_.label(308.138, 85.0246, "a(0.00580431)", 1, 1, 0.5, 0.5, 1)
save_window_.label(185.503, 125.365, "I2", 1, 1, 0.5, 0.5, 1)
save_window_.label(187.117, 47.9114, "R3", 1, 1, 0.5, 0.5, 1)
}
ocbox_.map("LinearCircuit[0]", 384, 29, 313.92, 250.56)
}
objref ocbox_
//End LinearCircuit[0]
{
save_window_ = new Graph(0)
save_window_.size(0,20,-80,30)
scene_vector_[5] = save_window_
{save_window_.view(0, -80, 20, 110, 725, 527, 501.12, 165.76)}
graphList[0].append(save_window_)
save_window_.save_name("graphList[0].")
save_window_.addexpr("a.v(.5)", 1, 1, 0.8, 0.9, 2)
save_window_.addexpr("a.v(.6)", 2, 1, 0.8, 0.9, 2)
save_window_.addexpr("a.v(.7)", 3, 1, 0.8, 0.9, 2)
save_window_.addexpr("a.v(.8)", 4, 1, 0.8, 0.9, 2)
}
{
xpanel("Temperature", 0)
celsius = 16.3
xvalue("celsius","celsius", 1,"", 0, 1 )
xpanel(385,321)
}
{
save_window_ = new Graph(0)
save_window_.size(0,20,-75,-58)
scene_vector_[6] = save_window_
{save_window_.view(0, -75, 20, 17, 725, 762, 509.76, 145.6)}
graphList[0].append(save_window_)
save_window_.save_name("graphList[0].")
save_window_.addexpr("b.v(.5)", 1, 1, 0.8, 0.9, 2)
save_window_.addexpr("b.v(.6)", 2, 1, 0.8, 0.9, 2)
save_window_.addexpr("b.v(.7)", 3, 1, 0.8, 0.9, 2)
save_window_.addexpr("b.v(.8)", 4, 1, 0.8, 0.9, 2)
}
objectvar scene_vector_[1]
{doNotify()}