{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()}
//Begin PointProcessManager
{
load_file("pointman.hoc")
}
{
MSP_Cell[0].soma ocbox_ = new PointProcessManager(0)
}
{object_push(ocbox_)}
{
mt.select("IClamp") i = mt.selected()
ms[i] = new MechanismStandard("IClamp")
ms[i].set("del", 200, 0)
ms[i].set("dur", 20, 0)
//ms[i].set("del", 100, 0)
//ms[i].set("dur", 500, 0)
ms[i].set("amp", 0.2481, 0)
mt.select("IClamp") i = mt.selected() maction(i)
hoc_ac_ = 0.5
sec.sec move() d1.flip_to(0)
}
{object_pop() doNotify()}
{
ocbox_ = ocbox_.v1
ocbox_.map("PointProcessManager", 7, 494, 208.32, 326.4)
}
objref ocbox_
//End PointProcessManager
{
xpanel("RunControl", 0)
v_init = -87.75
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 = 198.019
xvalue("t","t", 2 )
tstop = 800
xvalue("Tstop","tstop", 1,"tstop_changed()", 0, 1 )
dt = 1.2589
xvalue("dt","dt", 1,"setdt()", 0, 1 )
steps_per_ms = 40
xvalue("Points plotted/ms","steps_per_ms", 1,"setdt()", 0, 1 )
screen_update_invl = 0.25
xvalue("Scrn update invl","screen_update_invl", 1,"", 0, 1 )
realtime = 2.33
xvalue("Real Time","realtime", 0,"", 0, 1 )
xpanel(2,100)
}
{
save_window_ = new Graph(0)
save_window_.size(0,840,-90,30)
scene_vector_[3] = save_window_
{save_window_.view(0, -120, 2040, 150, 304, 104, 814.08, 319.36)}
graphList[0].append(save_window_)
save_window_.save_name("graphList[0].")
save_window_.addexpr("MSP_Cell[0].soma.v(0.5)", 2, 1, 0.69047, 0.981953, 2)
//save_window_.exec_menu("Keep Lines")
}
//Begin VariableTimeStep
{
ocbox_ = NumericalMethodPanel[0]
}
{object_push(ocbox_)}
{
atol_ = 0.001 CVode[0].atol(atol_)
restore(301, 1)
atoltool_ = new AtolTool()
}
{object_pop()}
{
ocbox_.map("VariableTimeStep", 233, 492, 277.44, 113.28)
}
objref ocbox_
//End VariableTimeStep
objectvar scene_vector_[1]
{doNotify()}