{load_file("nrngui.hoc")}
objectvar save_window_, rvp_
objectvar scene_vector_[5]
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[1]\" 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=0 stim.dur=2000 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", 660, 246, 207.9, 469.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 = 0
xvalue("t","t", 2 )
tstop = 2000
xvalue("Tstop","tstop", 1,"tstop_changed()", 0, 1 )
dt = 1e-09
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
xvalue("Real Time","realtime", 0,"", 0, 1 )
xpanel(360,270)
}
{
ocbox_ = new VBox()
ocbox_list_.prepend(ocbox_)
ocbox_.intercept(1)
}
{
xpanel("PointBrowser", 0)
xbutton("Globals","nrnglobalmechmenu(\"ostim\")")
xpanel()
}
{
ocbox_ = ocbox_list_.object(0)
ocbox_.intercept(0)
ocbox_.map("ostim", 121, 121, 142.2, 305.1)
}
objref ocbox_
{
xpanel("ostim[0] at Fiber Optic(0.5)", 0)
xlabel("ostim[0] at Fiber Optic(0.5)")
ostim[0].radius = 10
xvalue("radius","ostim[0].radius", 1,"", 0, 1 )
ostim[0].delay = 50
xvalue("delay","ostim[0].delay", 1,"", 0, 1 )
ostim[0].dur = 500
xvalue("dur","ostim[0].dur", 1,"", 0, 1 )
ostim[0].amp = 2.8
xvalue("amp","ostim[0].amp", 1,"", 0, 1 )
ostim[0].amp1 = 0
xvalue("amp1","ostim[0].amp1", 1,"", 0, 1 )
ostim[0].amp2 = 15
xvalue("amp2","ostim[0].amp2", 1,"", 0, 1 )
ostim[0].wavelength = 4.55e-07
xvalue("wavelength","ostim[0].wavelength", 1,"", 0, 1 )
ostim[0].pulses = 2
xvalue("pulses","ostim[0].pulses", 1,"", 0, 1 )
ostim[0].isi = 500
xvalue("isi","ostim[0].isi", 1,"", 0, 1 )
ostim[0].pcount = 2
xvalue("pcount","ostim[0].pcount", 0,"", 0, 1 )
source_irradiance_chanrhod = 0
xvalue("irradiance","source_irradiance_chanrhod", 0,"", 0, 1 )
source_flux_chanrhod = 0
xvalue("flux","source_flux_chanrhod", 0,"", 0, 1 )
source_photons_chanrhod = 0
xvalue("photons","source_photons_chanrhod", 0,"", 0, 1 )
tstimon_chanrhod = 0
xvalue("tstimon","tstimon_chanrhod", 0,"", 0, 1 )
tstimoff_chanrhod = 0
xvalue("tstimoff","tstimoff_chanrhod", 0,"", 0, 1 )
xpanel(960,252)
}
{
save_window_ = new Graph(0)
save_window_.size(0,2000,-70,40)
scene_vector_[3] = save_window_
{save_window_.view(0, -70, 2000, 110, 1248, 264, 435.6, 237.7)}
graphList[0].append(save_window_)
save_window_.save_name("graphList[0].")
save_window_.addvar("soma[1].v( 0.5 )", 1, 1, 0.8, 0.9, 2)
}
{
save_window_ = new PlotShape(0)
save_window_.size(-42.806,1582.25,-651.089,974.843)
save_window_.variable("v")
scene_vector_[4] = save_window_
{save_window_.view(-42.806, -651.089, 1625.06, 1625.93, 1256, 678, 186.3, 186.4)}
fast_flush_list.append(save_window_)
save_window_.save_name("fast_flush_list.")
}
objectvar scene_vector_[1]
{doNotify()}