{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 I/V Clamp Electrode
{
load_file("electrod.hoc")
}
{
ocbox_=new Electrode(0)
execute("can_locate=1 sec=\"soma\" xloc=0.5 locate(0)", ocbox_)
execute("vc.dur[0]=1000 vc.amp[0]=-70", ocbox_)
execute("vc.dur[1]=2.5 vc.amp[1]=10", ocbox_)
execute("vc.dur[2]=100 vc.amp[2]=-65", ocbox_)
execute("stim.del=0.1 stim.dur=0.1 stim.amp=0", ocbox_)
execute("vcsteps=5", ocbox_)
execute("samp=stim.amp  store_vclamp() glyph()", ocbox_)
ocbox_ = ocbox_.v1
ocbox_.map("I/V Clamp Electrode", 1002, 42, 259.2, 412.8)
}
objref ocbox_
//End I/V Clamp Electrode

{
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 = 1
xvalue("Continue for","runStopIn", 1,"{continuerun(t + runStopIn) stoprun=1}", 1, 1 )
xbutton("Single Step","steprun()")
t = 250
xvalue("t","t", 2 )
tstop = 250
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 )
screen_update_invl = 0.05
xvalue("Scrn update invl","screen_update_invl", 1,"", 0, 1 )
realtime = 0.27
xvalue("Real Time","realtime", 0,"", 0, 1 )
xpanel(7,111)
}
{
save_window_ = new Graph(0)
save_window_.size(0,250,0,1)
scene_vector_[3] = save_window_
{save_window_.view(0, 0, 250, 1, 374, 25, 282.24, 200.32)}
graphList[1].append(save_window_)
save_window_.save_name("graphList[1].")
save_window_.addvar("synA.yview", 2, 1, 0.64984, 0.938339, 2)
save_window_.addvar("synA.Pview", 3, 1, 0.64345, 0.904792, 2)
save_window_.addvar("synA.xview", 1, 1, 0.627476, 1.18754, 2)
}
{
save_window_ = new Graph(0)
save_window_.size(0,250,-1.86265e-09,0.12)
scene_vector_[4] = save_window_
{save_window_.view(0, -1.86265e-09, 250, 0.12, 705, 25, 290.88, 202.24)}
graphList[1].append(save_window_)
save_window_.save_name("graphList[1].")
save_window_.addvar("synN.Trelease", 1, 1, 0.480511, 0.9623, 2)
}
{
save_window_ = new Graph(0)
save_window_.size(0,250,-30,0)
scene_vector_[5] = save_window_
{save_window_.view(0, -30, 250, 30, 370, 531, 289.92, 177.28)}
graphList[1].append(save_window_)
save_window_.save_name("graphList[1].")
save_window_.addexpr("1e3*synA.i", 1, 1, 0.566773, 0.281789, 2)
}
{
save_window_ = new Graph(0)
save_window_.size(0,250,0,1)
scene_vector_[6] = save_window_
{save_window_.view(0, 0, 250, 1, 373, 289, 283.2, 171.52)}
graphList[1].append(save_window_)
save_window_.save_name("graphList[1].")
save_window_.addexpr("synA.O", 1, 1, 0.8, 0.9, 2)
save_window_.addexpr("synA.C", 3, 1, 0.8, 0.9, 2)
save_window_.addexpr("synA.D", 2, 1, 0.8, 0.9, 2)
}
{
save_window_ = new Graph(0)
save_window_.size(0,250,0,1)
scene_vector_[7] = save_window_
{save_window_.view(0, 0, 250, 1, 707, 291, 290.88, 163.84)}
graphList[1].append(save_window_)
save_window_.save_name("graphList[1].")
save_window_.addexpr("synN.O", 1, 1, 0.8, 0.9, 2)
save_window_.addexpr("synN.D", 2, 1, 0.8, 0.9, 2)
save_window_.addexpr("synN.C0", 3, 1, 0.8, 0.9, 2)
save_window_.addexpr("synN.C1", 6, 1, 0.8, 0.9, 2)
save_window_.addexpr("synN.C2", 7, 1, 0.8, 0.9, 2)
}
{
xpanel("", 0)
xlabel("Mossy fibre to Granule Cell Release Probability")
Prel = 0.416
xvalue("MF to GRC synapse Prel","Prel", 1,"synA.U=synN.U=Prel", 0, 0 )
xpanel(15,554)
}
objectvar scene_vector_[1]
{doNotify()}