{load_file("Build Cells and Synapses.hoc")}
{load_file("nrngui.hoc")}
objectvar save_window_, rvp_
objectvar scene_vector_[10]
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=\"ON1\" xloc=0.5 locate(0)", ocbox_)
execute("vc.dur[0]=0.1 vc.amp[0]=-65", 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=4000 stim.dur=500 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", 1518, 583, 307.8, 446.4)
}
objref ocbox_
//End I/V Clamp Electrode
//Begin I/V Clamp Electrode
{
load_file("electrod.hoc")
}
{
ocbox_=new Electrode(0)
execute("can_locate=1 sec=\"PRE\" xloc=0.5 locate(0)", ocbox_)
execute("vc.dur[0]=0.1 vc.amp[0]=-65", 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=1000 stim.dur=0 stim.amp=0.05", ocbox_)
execute("vcsteps=5", ocbox_)
execute("samp=stim.amp store_vclamp() glyph()", ocbox_)
ocbox_ = ocbox_.v1
ocbox_.map("I/V Clamp Electrode", 0, 2808, 481.5, 990)
}
objref ocbox_
//End I/V Clamp Electrode
//Begin I/V Clamp Electrode
{
load_file("electrod.hoc")
}
{
ocbox_=new Electrode(0)
execute("can_locate=1 sec=\"OFF1\" xloc=0.5 locate(0)", ocbox_)
execute("vc.dur[0]=0.1 vc.amp[0]=-65", 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=4000 stim.dur=500 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", 1518, 108, 301.5, 413.1)
}
objref ocbox_
//End I/V Clamp Electrode
{
xpanel("RunControl", 0)
v_init = -70
xvalue("Init","v_init", 1,"stdinit()", 1, 1 )
xbutton("Init & Run","run()")
xbutton("Stop","stoprun=1")
runStopAt = 5000
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 = 9653.82
xvalue("t","t", 2 )
tstop = 10000
xvalue("Tstop","tstop", 1,"tstop_changed()", 0, 1 )
dt = 0.02
xvalue("dt","dt", 1,"setdt()", 0, 1 )
steps_per_ms = 50
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 = 35.95
xvalue("Real Time","realtime", 0,"", 0, 1 )
xpanel(1885,625)
}
{
save_window_ = new Graph(0)
save_window_.size(0,9700,-1300,0)
scene_vector_[5] = save_window_
{save_window_.view(0, -1300, 9700, 1300, 39, 379, 321.3, 60.4)}
graphList[0].append(save_window_)
save_window_.save_name("graphList[0].")
save_window_.addexpr("-AMPA13[0].g", 4, 1, 0.8, 0.9, 2)
}
{
save_window_ = new Graph(0)
save_window_.size(0,10000,-90,50)
scene_vector_[6] = save_window_
{save_window_.view(0, -90, 10000, 140, 373, 120, 326.7, 106.3)}
graphList[0].append(save_window_)
save_window_.save_name("graphList[0].")
save_window_.addvar("PRE.v( 0.5 )", 1, 1, 0.8, 0.9, 2)
}
{
save_window_ = new Graph(0)
save_window_.size(0,10000,-99,-60)
scene_vector_[7] = save_window_
{save_window_.view(0, -99, 10000, 39, 37, 548, 323.1, 77.5)}
graphList[0].append(save_window_)
save_window_.save_name("graphList[0].")
save_window_.addvar("ON1.v( 0.5 )", 4, 1, 0.8, 0.9, 2)
}
{
save_window_ = new Graph(0)
save_window_.size(-100,9800,-110,50)
scene_vector_[8] = save_window_
{save_window_.view(-100, -110, 9900, 160, 654, 549, 300.6, 81.1)}
graphList[1].append(save_window_)
save_window_.save_name("graphList[1].")
save_window_.addvar("OFF1.v( 0.5 )", 5, 1, 0.8, 0.9, 2)
}
{
save_window_ = new Graph(0)
save_window_.size(-100,9700,2.32831e-10,0.036)
scene_vector_[9] = save_window_
{save_window_.view(-100, 2.32831e-10, 9800, 0.036, 656, 380, 300.6, 68.5)}
graphList[1].append(save_window_)
save_window_.save_name("graphList[1].")
save_window_.addvar("mglur2[2].i", 5, 1, 0.8, 0.9, 2)
}
save_window_ = scene_vector_[8]
{save_window_.view(3904.46, -113.926, 859.58, 56.8187, 567, 750, 452.7, 152.2)}
save_window_ = scene_vector_[7]
{save_window_.view(3896.94, -97.5105, 835.654, 37.591, 8, 753, 378, 150.4)}
{
xpanel("Ipulse1[0] at PRE(0.5)", 0)
xlabel("Ipulse1[0] at PRE(0.5)")
p.del = 1000
xvalue("del","p.del", 1,"", 0, 1 )
p.ton = 1
xvalue("ton","p.ton", 1,"", 0, 1 )
p.toff = 21
xvalue("toff","p.toff", 1,"", 0, 1 )
p.num = 10
xvalue("num","p.num", 1,"", 0, 1 )
p.amp = 1
xvalue("amp","p.amp", 1,"", 0, 1 )
p.i = 0
xvalue("i","p.i", 0,"", 0, 1 )
xpanel(1246,577)
}
objectvar scene_vector_[1]
{doNotify()}
run()