-
Notifications
You must be signed in to change notification settings - Fork 2
/
BasketCell.hoc
291 lines (236 loc) · 6.79 KB
/
BasketCell.hoc
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
begintemplate BC
ndend1=4
ndend2=4
ndend3=4
ndend4=4
public pre_list, connect2target, subsets, is_art, is_connected
public vbc2gc, vmc2gc, vhc2gc, vgc2bc, vbc2bc, vmc2bc, vhc2bc, vgc2mc, vbc2mc, vmc2mc, vhc2mc, vgc2hc, vmc2hc
public soma, bcdend1, bcdend2, bcdend3, bcdend4
public all, adend, bdend, cdend, ddend
create soma, bcdend1[ndend1], bcdend2[ndend2], bcdend3[ndend3], bcdend4[ndend4]
objref pre_list
nst=10
objectvar stim[nst]
double stimdur[nst], stimdel[nst], stimamp[nst]
public stim, stimdur, stimamp, stimdel
objref syn
proc init() {
pre_list = new List()
subsets()
temp()
synapse()
}
objref all, adend, bdend, cdend, ddend
proc subsets() { local i
objref all, adend, bdend, cdend, ddend
all = new SectionList()
soma all.append()
for i=0, 3 bcdend1 [i] all.append()
for i=0, 3 bcdend2 [i] all.append()
for i=0, 3 bcdend3 [i] all.append()
for i=0, 3 bcdend4 [i] all.append()
adend = new SectionList()
bcdend1 [0] adend.append()
bcdend2 [0] adend.append()
bcdend3 [0] adend.append()
bcdend4 [0] adend.append()
bdend = new SectionList()
bcdend1 [1] bdend.append()
bcdend2 [1] bdend.append()
bcdend3 [1] bdend.append()
bcdend4 [1] bdend.append()
cdend = new SectionList()
bcdend1 [2] cdend.append()
bcdend2 [2] cdend.append()
bcdend3 [2] cdend.append()
bcdend4 [2] cdend.append()
ddend = new SectionList()
bcdend1 [3] ddend.append()
bcdend2 [3] ddend.append()
bcdend3 [3] ddend.append()
bcdend4 [3] ddend.append()
}
proc temp() {
soma {nseg=1 L=20 diam=15} // changed L & diam
bcdend1 [0] {nseg=1 L=75 diam=4} // bcdend 1 and 2 are apical
bcdend1 [1] {nseg=1 L=75 diam=3}
bcdend1 [2] {nseg=1 L=75 diam=2}
bcdend1 [3] {nseg=1 L=75 diam=1}
bcdend2 [0] {nseg=1 L=75 diam=4}
bcdend2 [1] {nseg=1 L=75 diam=3}
bcdend2 [2] {nseg=1 L=75 diam=2}
bcdend2 [3] {nseg=1 L=75 diam=1}
bcdend3 [0] {nseg=1 L=50 diam=4} // bcdend 3 and 4 are basal
bcdend3 [1] {nseg=1 L=50 diam=3}
bcdend3 [2] {nseg=1 L=50 diam=2}
bcdend3 [3] {nseg=1 L=50 diam=1}
bcdend4 [0] {nseg=1 L=50 diam=4}
bcdend4 [1] {nseg=1 L=50 diam=3}
bcdend4 [2] {nseg=1 L=50 diam=2}
bcdend4 [3] {nseg=1 L=50 diam=1}
forsec all {
insert ccanl
catau_ccanl = 10
caiinf_ccanl = 5.e-6
insert borgka
gkabar_borgka=0.00015
insert nca // HAV-N- Ca channel
gncabar_nca=0.0008 //check to modify- original 0.004
insert lca
glcabar_lca=0.005
insert gskch
gskbar_gskch=0.000002
insert cagk
gkbar_cagk=0.0002
}
soma {
insert ichan2 //ildikos ichan
gnatbar_ichan2=0.12 //original 0.030 to .055
gkfbar_ichan2=0.013 //original 0.015
gl_ichan2 = 0.00018
cm=1.4
}
forsec adend {
insert ichan2
gnatbar_ichan2=0.12 //original 0.015
gkfbar_ichan2=0.013
gl_ichan2 = 0.00018
cm=1.4
}
forsec bdend {
insert ichan2
gnatbar_ichan2=0.0
gkfbar_ichan2=0.00
gl_ichan2 = 0.00018
cm=1.4
}
forsec cdend {
insert ichan2
gnatbar_ichan2=0.0
gkfbar_ichan2=0.00
gl_ichan2 = 0.00018
cm=1.4
}
forsec ddend {
insert ichan2
gnatbar_ichan2=0.0
gkfbar_ichan2=0.00
gl_ichan2 = 0.00018
cm=1.4
}
forsec all {
Ra=100
}
forsec all {
enat = 55
ekf = -90
ek=-90
elca=130
esk=-90
el_ichan2 =-60.06
cao_ccanl=2
} // make catau slower70e-3 cao=2 cai=50.e-6
connect bcdend1[0](0), soma(1)
connect bcdend2[0](0), soma(1)
connect bcdend3[0](0), soma(0)
connect bcdend4[0](0), soma(0)
for i=1,3 {
connect bcdend1[i](0), bcdend1[i-1](1)
}
for i=1,3 {
connect bcdend2[i](0), bcdend2[i-1](1)
}
for i=1,3 {
connect bcdend3[i](0), bcdend3[i-1](1)
}
for i=1,3 {
connect bcdend4[i](0), bcdend4[i-1](1)
}
//for i=0,0 {
//stimdel[i]=1000
//stimdur[i]=200
//stimamp[i]=0.5
/* 0.4 stim when we want the cell to fire with regular spikes */
//soma stim[i] = new IClamp(0.5)
//stim.del[i]=stimdel[i]
//stim.dur[i]=stimdur[i]
//stim.amp[i]=stimamp[i]
//}
}
objref syn_
proc synapse() {
bcdend1 [3] syn_ = new Exp2Syn(0.5) //PP(AMPA) syn_ to apical dist dend Dingledine '95 0
syn_.tau1 = 2
syn_.tau2 = 6.3
syn_.e = 0 // *** check Tau rise 2ms is the rise time
pre_list.append(syn_)
bcdend2 [3] syn_ = new Exp2Syn(0.5) //PP(AMPA) syn_ to apical dist dend Dingledine '95 1
syn_.tau1 = 2
syn_.tau2 = 6.3
syn_.e = 0 // *** check Tau rise 2ms is the rise time
pre_list.append(syn_)
bcdend1 [0] syn_ = new Exp2Syn(0.5) //GC(AMPA) syn_ to prox dend Geiger '97 2
syn_.tau1 = .3
syn_.tau2 = .6
syn_.e = 0
pre_list.append(syn_)
bcdend2 [0] syn_ = new Exp2Syn(0.5) //GC(AMPA) syn_ to prox dend Geiger '97 3
syn_.tau1 = .3
syn_.tau2 = .6
syn_.e = 0
pre_list.append(syn_)
bcdend3 [0] syn_ = new Exp2Syn(0.5) //GC(AMPA) syn_ to prox dend Geiger '97 4
syn_.tau1 = .3
syn_.tau2 = .6
syn_.e = 0
pre_list.append(syn_)
bcdend4 [0] syn_ = new Exp2Syn(0.5) //GC(AMPA) syn_ to prox dend Geiger '97 5
syn_.tau1 = .3
syn_.tau2 = .6
syn_.e = 0
pre_list.append(syn_)
bcdend1 [1] syn_ = new Exp2Syn(0.5) //MC(AMPA) syn_ to apical IML dend 6
syn_.tau1 = 0.9
syn_.tau2 = 3.6
syn_.e = 0 // *** Estimated based on CA3>BC min stim Dingledine '95
pre_list.append(syn_)
bcdend2 [1] syn_ = new Exp2Syn(0.5) //MC(AMPA) syn_ to apical IML dend 7
syn_.tau1 = 0.9
syn_.tau2 = 3.6
syn_.e = 0 // *** Estimated based on CA3>BC min stim Dingledine '95
pre_list.append(syn_)
bcdend1 [1] syn_ = new Exp2Syn(0.5) //BC(GABA) syn_ to apical IML dend Bartos 8
syn_.tau1 = 0.16
syn_.tau2 = 1.8
syn_.e = -70
pre_list.append(syn_)
bcdend2 [1] syn_ = new Exp2Syn(0.5) //BC(GABA) syn_ to apical IML dend Bartos 9
syn_.tau1 = 0.16
syn_.tau2 = 1.8
syn_.e = -70
pre_list.append(syn_)
bcdend1 [3] syn_ = new Exp2Syn(0.5) //HIPP(GABA) syn_ to apical distal dend 10
syn_.tau1 = 0.4
syn_.tau2 = 5.8
syn_.e = -70 // *** Estimated as HIPP>GC
pre_list.append(syn_)
bcdend2 [3] syn_ = new Exp2Syn(0.5) //HIPP(GABA) syn_ to apical distal dend 11
syn_.tau1 = 0.4
syn_.tau2 = 5.8
syn_.e = -70 // *** Estimated as HIPP>GC
pre_list.append(syn_)
soma syn_ = new MyExp2Syn(0.5) // GABA-A Septum 12
syn_.tau1 = 1
syn_.tau2 = 8
syn_.e = -75
pre_list.append(syn_)
// Total of 13 synapses 0,1 PP; 2-5 GC; 6,7 MC; 8,9 BC; 10,11 HIPP; 12 septum
}
obfunc connect2target() { localobj nc //$o1 target point process, optional $o2 returned NetCon
soma nc = new NetCon(&v(1), $o1)
nc.threshold = -10
if (numarg() == 2) { $o2 = nc } // for backward compatibility
return nc
}
func is_art() { return 0 }
endtemplate BC