-
Notifications
You must be signed in to change notification settings - Fork 3
/
pSTN.tem
103 lines (64 loc) · 1.91 KB
/
pSTN.tem
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
/*--------------------------------------------------------------
TEMPLATE FILE FOR DEFINING STN NEURONS - Parallel version
--------------------------------------------------
One compartment model and currents derived from:
Otsuka model -> modified by Svjetlana -> compact by Dongchul Lee
Dongchul C. Lee, Cleveland Clinic, 2005
May 2006 parallel code - PJ Hahn
--------------------------------------------------------------*/
begintemplate pSTN // create a new template object
public soma, synlist, connect2target, is_art
objref synlist
create soma
proc init() {
soma {
diam = 60 // geometry
L = 60 // so that area is about 10000 um2
nseg = 1
Ra = 200
cm = 1
insert myions //dummy mechanism used to set initial ion concentrations
insert stn
gnabar_stn = 49e-3 //[S/cm2]
gkdrbar_stn = 57e-3 //[S/cm2]
gkabar_stn = 5e-3 //[S/cm2]
gkcabar_stn = 0.7e-3 //[S/cm2]
gcalbar_stn = 15e-3 //[S/cm2]
gcatbar_stn = 5e-3 //[S/cm2]
kca_stn = 2 //Ca removal rate [1/ms]
gl_stn = 0.29e-3 //[S/cm2]
synlist = new List()
synapses($1, $2) // $1 numCtxSTN, $2 numGPeSTN
}
// Initialize variables
cai0_ca_ion = 5e-6 //mM //must set initial ion concentrations in hoc file, not mod (see NMODl p27)
cao0_ca_ion = 2
ki0_k_ion = 105 //calculated so that Nernst potential is same as in paper
ko0_k_ion = 3
nao0_na_ion = 108
nai0_na_ion = 10
}
proc connect2target() { //$o1 target object, $o2 returned NetCon
soma $o2 = new NetCon(&v(1), $o1)
}
objref syn_
proc synapses() { // $1 numCtxSTN, $2 numGPeSTN
// glutamatergic cortical inputs
// set in pBGconst numCtxSTN =
for i=0, $1 - 1 {
soma syn_ = new AMPA_S(.5)
syn_.Cmax = 1
synlist.append(syn_)
}
// GABAergic GPe inputs
// set in pBGconst numGPeSTN =
for i=0, $2 - 1 {
soma syn_ = new GABAa_S(.5)
syn_.Cmax = 1
synlist.append(syn_)
}
}
proc is_art() {
return 0
}
endtemplate pSTN