{load_file("nrngui.hoc")}
objectvar save_window_, rvp_
objectvar scene_vector_[8]
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("OClamp")
ms.set("rs", 1, 0)
ms.set("on", 0, 0)
ms.set("off", 9999, 0)
ms.set("vc", -60, 0)
ms.set("switched_on", 0, 0)
mnews("OClamp", ms)
select(0)
execute("cell.soma ocbox_.move(0.5)")
ms = new MechanismStandard("IClamp")
ms.set("del", 50, 0)
ms.set("dur", 200, 0)
ms.set("amp", 0, 0)
mnews("IClamp", ms)
select(1)
execute("cell.soma ocbox_.move(0.5)")
}
{object_pop() doNotify()}
{
ocbox_ = ocbox_.v1
ocbox_.map("PointProcessGroupManager", 915, 646, 559.8, 415.8)
}
objref ocbox_
//End PointProcessGroupManager
{
save_window_ = new Graph(0)
save_window_.size(0,300,-70,50)
scene_vector_[3] = save_window_
{save_window_.view(0, -70, 300, 120, 486, 18, 300.6, 200.8)}
graphList[0].append(save_window_)
save_window_.save_name("graphList[0].")
save_window_.addexpr("cell.soma.v", 1, 1, 0.8, 0.9, 2)
//save_window_.addexpr("cell.a2_11221.v(0.5)", 1, 1, 0.8, 0.9, 2)
}
{
xpanel("RunControl", 0)
v_init = -60
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 = 0
xvalue("t","t", 2 )
tstop = 100
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 = 0
xvalue("Real Time","realtime", 0,"", 0, 1 )
xpanel(67,582)
}
{
//save_window_ = new Graph(0)
//save_window_.size(-10,500,-0.033,0)
//scene_vector_[4] = save_window_
//{save_window_.view(-10, -0.033, 510, 0.033, 480, 338, 300.6, 199)}
//graphList[1].append(save_window_)
//save_window_.save_name("graphList[1].")
//save_window_.addexpr("OClamp[0].i", 1, 1, 0.8, 0.9, 2)
}
{
//save_window_ = new Shape(0)
//save_window_.size(-200,600,-400.133,400.133)
//scene_vector_[5] = save_window_
//{save_window_.view(-200, -400.133, 800, 800.266, 900, 198, 300.6, 300.7)}
}
objectvar scene_vector_[1]
{doNotify()}