{load_file("nrngui.hoc")}
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)}

//Begin I/V Clamp Electrode
{
load_file("electrod.hoc")
}


{
xpanel("RunControl", 0)
v_init = -70
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 = 400
xvalue("t","t", 2 )
tstop = 500
xvalue("Tstop","tstop", 1,"tstop_changed()", 0, 1 )
dt = 6.05956
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.05
xvalue("Scrn update invl","screen_update_invl", 1,"", 0, 1 )
realtime = 55.78
xvalue("Real Time","realtime", 0,"", 0, 1 )
xpanel(234,108)
}
{
xpanel("IClamp[0] at CA1pyr[0].soma[0](0.5)", 0)
xlabel("IClamp[0] at CA1pyr[0].soma[0](0.5)")
stim.del = 200
xvalue("del","stim.del", 1,"", 0, 1 )
stim.dur = 188
xvalue("dur","stim.dur", 1,"", 0, 1 )
stim.amp = 0
xvalue("amp","stim.amp", 1,"", 0, 1 )
stim.i = 0
xvalue("i","stim.i", 0,"", 0, 1 )
xpanel(991,42)
}
{
save_window_ = new Graph(0)
save_window_.size(0,500,-80,50)
scene_vector_[3] = save_window_
{save_window_.view(0, -80, 500, 120, 786, 513, 300.6, 200.8)}
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 PlotShape(0)
save_window_.size(-254.868,274.868,-150,380)
save_window_.variable("v")
scene_vector_[4] = save_window_
{save_window_.view(-254.868, -150, 529.736, 530, 613, 61, 200.7, 200.8)}
fast_flush_list.append(save_window_)
save_window_.save_name("fast_flush_list.")
}
{
save_window_ = new Graph(0)
save_window_.size(-187.668,523.57,-80,40)
scene_vector_[6] = save_window_
{save_window_.view(-187.668, -80, 711.238, 120, 388, 530, 300.6, 200.8)}
flush_list.append(save_window_)
save_window_.save_name("flush_list.")
objectvar rvp_
rvp_ = new RangeVarPlot("v")
testcell.apic[1] rvp_.begin(1)
testcell.apic[37] rvp_.end(1)
rvp_.origin(16.1714)
save_window_.addobject(rvp_, 2, 1, 0.8, 0.9)
}
objectvar scene_vector_[1]
{doNotify()}