-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAlternate_Photostim_Proximal_Axon.ses
104 lines (104 loc) · 3.19 KB
/
Alternate_Photostim_Proximal_Axon.ses
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{load_file("nrngui.hoc")}
objectvar save_window_, rvp_
objectvar scene_vector_[4]
objectvar ocbox_, ocbox_list_, scene_, scene_list_
{ocbox_list_ = new List() scene_list_ = new List()}
{pwman_place(0,0,0)}
{
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", 360, 180, 156.6, 438.3)
}
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 = 1000
xvalue("dur","ostim[0].dur", 1,"", 0, 1 )
ostim[0].amp = 6.1
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(882,150)
}
{
save_window_ = new Graph(0)
save_window_.size(0,2000,-80,40)
scene_vector_[2] = save_window_
{save_window_.view(0, -80, 2000, 120, 1164, 168, 257.4, 157.6)}
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_.addexpr("node[5].v( 0.5 )", 2, 1, 0.8, 0.9, 2)
save_window_.addvar("ais[0].v( 0.5 )", 4, 1, 0.8, 0.9, 2)
}
{
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(576,174)
}
{
save_window_ = new PlotShape(0)
save_window_.size(-42.806,1582.25,-651.126,974.88)
save_window_.variable("v")
scene_vector_[3] = save_window_
{save_window_.view(-42.806, -651.126, 1625.06, 1626.01, 1194, 492, 171.9, 172)}
fast_flush_list.append(save_window_)
save_window_.save_name("fast_flush_list.")
}
objectvar scene_vector_[1]
{doNotify()}