-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path9ctrlnav12_cell3_start.ses
More file actions
127 lines (123 loc) · 3.43 KB
/
9ctrlnav12_cell3_start.ses
File metadata and controls
127 lines (123 loc) · 3.43 KB
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{load_file("nrngui.hoc")}
objectvar save_window_, rvp_
objectvar scene_vector_[19]
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]=10.13 vc.amp[0]=-80", ocbox_)
execute("vc.dur[1]=20 vc.amp[1]=-10", ocbox_)
execute("vc.dur[2]=100 vc.amp[2]=-80", 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", 30, 444, 366.3, 905.4)
}
objref ocbox_
//End I/V Clamp Electrode
//Begin MulRunFitter[0]
{
load_file("mulfit.hoc", "MulRunFitter")
}
{
ocbox_ = new MulRunFitter(1)
}
{object_push(ocbox_)}
{
version(6)
ranfac = 2
fspec = new File("9ctrlnav12_cell3_start.ses.ft1")
fdat = new File("9ctrlnav12_cell3_start.ses.fd1")
read_data()
build()
}
opt.set_optimizer("MulfitPraxWrap")
{object_push(opt.optimizer)}
{
nstep = 0
}
{object_pop()}
{p.gengui(9, 218, 218, 293.4, 458.1)}
{p.showargs(1338, 112, 293.4, 370.8)}
{p.showdomain(632, 577, 230.4, 253.8)}
{optrestore(1620, 582, 386.1, 802.8)}
{object_pop()}
{
ocbox_.map("MulRunFitter[0]", 996, 504, 423.9, 707.4)
}
objref ocbox_
//End MulRunFitter[0]
{
ocbox_ = new VBox()
ocbox_list_.prepend(ocbox_)
ocbox_.intercept(1)
}
{
save_window_ = new Graph(0)
save_window_.size(-175,125,-0.1,1.1)
scene_vector_[2] = save_window_
{save_window_.view(-175, -0.1, 300, 1.2, 996, 33, 192.6, 180.05)}
save_window_.xaxis(-150,100,0,5,0,0,1)
save_window_.yaxis(-0,1,0,5,0,0,1)
save_window_.label(0.1, 0.9, "steady-state curves", 2, 1, 0, 0, 1)
save_window_.addexpr("minf_nax_10um", 3, 2, 1000, 0, 2)
save_window_.addexpr("hinf_nax_10um", 2, 2, 1000, 0, 2)
}
{
save_window_ = new Graph(0)
save_window_.size(-175,125,-1,11)
scene_vector_[3] = save_window_
{save_window_.view(-175, -1, 300, 12, 996, 33, 192.6, 180.05)}
save_window_.xaxis(-150,100,0,5,0,0,1)
save_window_.yaxis(-0,10,0,5,0,0,1)
save_window_.label(0.1, 0.9, "time constants (ms)", 2, 1, 0, 0, 1)
save_window_.addexpr("mtau_nax_10um", 3, 2, 1000, 0, 2)
save_window_.addexpr("htau_nax_10um", 2, 2, 1000, 0, 2)
save_window_.label(0.1, 0.4, "tau_inact.", 2, 1, 0, 0, 2)
save_window_.label(0.4, 0.17, "tau_act.", 2, 1, 0, 0, 3)
}
{
xpanel("", 0)
xbutton("run ","runk()")
xpanel()
}
{
ocbox_ = ocbox_list_.object(0)
ocbox_.intercept(0)
ocbox_.map("nax kinetics", 996, 33, 214.2, 453.6)
}
objref ocbox_
{
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 = 100.1
xvalue("t","t", 2 )
tstop = 100
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.02
xvalue("Real Time","realtime", 0,"", 0, 1 )
xpanel(1722,156)
}
objectvar scene_vector_[1]
{doNotify()}