-
Notifications
You must be signed in to change notification settings - Fork 0
/
Kh1.mod
218 lines (141 loc) · 7.77 KB
/
Kh1.mod
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
COMMENT
**************************************************
File generated by: neuroConstruct v1.6.0
**************************************************
This file holds the implementation in NEURON of the Cell Mechanism:
Kh1 (Type: Channel mechanism, Model: Template based ChannelML file)
with parameters:
/channelml/@units = Physiological Units
/channelml/notes = ChannelML file containing a single Channel from De Schutter and Bower 1998
/channelml/ion/@name = k
/channelml/ion/@charge = 1
/channelml/ion/@default_erev = -85
/channelml/channel_type/@name = Kh1
/channelml/channel_type/@density = yes
/channelml/channel_type/status/@value = stable
/channelml/channel_type/status/comment = Verified equivalence of NEURON and GENESIS mapping to orig NEURON mod impl at 0.02ms dt with current pulse
/channelml/channel_type/status/issue = Orig NEURON impl had to be 'fixed' to include READ ek for ion, otherwise was using the internally set value of -30!
/channelml/channel_type/status/contributor/name = Padraig Gleeson
/channelml/channel_type/notes = Anomalous rectifier current. Based on Roth et al's reimplementation of original GENESIS model in NEURON
/channelml/channel_type/authorList/modelAuthor[1]/name = De Schutter, E.
/channelml/channel_type/authorList/modelAuthor[2]/name = Bower, J.
/channelml/channel_type/authorList/modelTranslator[1]/name = Padraig Gleeson
/channelml/channel_type/authorList/modelTranslator[1]/institution = UCL
/channelml/channel_type/authorList/modelTranslator[1]/email = p.gleeson - at - ucl.ac.uk
/channelml/channel_type/authorList/modelTranslator[2]/name = Jenny Davie
/channelml/channel_type/authorList/modelTranslator[2]/institution = UCL
/channelml/channel_type/authorList/modelTranslator[2]/comment = Conversion of GENESIS model to NEURON
/channelml/channel_type/authorList/modelTranslator[3]/name = Arnd Roth
/channelml/channel_type/authorList/modelTranslator[3]/institution = UCL
/channelml/channel_type/authorList/modelTranslator[3]/comment = Conversion of GENESIS model to NEURON
/channelml/channel_type/authorList/modelTranslator[4]/name = Volker Steuber
/channelml/channel_type/authorList/modelTranslator[4]/institution = UCL
/channelml/channel_type/authorList/modelTranslator[4]/comment = Conversion of GENESIS model to NEURON
/channelml/channel_type/authorList/modelTranslator[5]/name = Michael Hausser
/channelml/channel_type/authorList/modelTranslator[5]/institution = UCL
/channelml/channel_type/authorList/modelTranslator[5]/comment = Conversion of GENESIS model to NEURON
/channelml/channel_type/publication/fullTitle = De Schutter, E., and Bower, J. M. (1994). An active membrane model of the cerebellar Purkinje cell. I. Simulation of current clamps in slice. J Neurop ...
/channelml/channel_type/publication/pubmedRef = http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=pubmed&cmd=Retrieve&dopt=AbstractPlus&list_uids=7512629
/channelml/channel_type/neuronDBref/modelName = K channels
/channelml/channel_type/neuronDBref/uri = http://senselab.med.yale.edu/senselab/NeuronDB/channelGene2.htm#table3
/channelml/channel_type/current_voltage_relation/ohmic/@ion = k
/channelml/channel_type/current_voltage_relation/ohmic/conductance/@default_gmax = 0.3
/channelml/channel_type/current_voltage_relation/ohmic/conductance/rate_adjustments/q10_settings/@q10_factor = 3
/channelml/channel_type/current_voltage_relation/ohmic/conductance/rate_adjustments/q10_settings/@experimental_temp = 37
/channelml/channel_type/current_voltage_relation/ohmic/conductance/gate/@power = 1
/channelml/channel_type/current_voltage_relation/ohmic/conductance/gate/state/@name = m
/channelml/channel_type/current_voltage_relation/ohmic/conductance/gate/state/@fraction = 1
/channelml/channel_type/hh_gate/@state = m
/channelml/channel_type/hh_gate/transition/voltage_gate/tau/generic_equation_hh/@expr = 7.6
/channelml/channel_type/hh_gate/transition/voltage_gate/inf/parameterised_hh/@type = sigmoid
/channelml/channel_type/hh_gate/transition/voltage_gate/inf/parameterised_hh/@expr = A/(1 + exp(k*(v-d)))
/channelml/channel_type/hh_gate/transition/voltage_gate/inf/parameterised_hh/parameter[1]/@name = A
/channelml/channel_type/hh_gate/transition/voltage_gate/inf/parameterised_hh/parameter[1]/@value = 0.8
/channelml/channel_type/hh_gate/transition/voltage_gate/inf/parameterised_hh/parameter[2]/@name = k
/channelml/channel_type/hh_gate/transition/voltage_gate/inf/parameterised_hh/parameter[2]/@value = 0.142857142
/channelml/channel_type/hh_gate/transition/voltage_gate/inf/parameterised_hh/parameter[3]/@name = d
/channelml/channel_type/hh_gate/transition/voltage_gate/inf/parameterised_hh/parameter[3]/@value = -82
/channelml/channel_type/impl_prefs/comment = Note, Using the NEURON mod file impl settings to get a closer match
/channelml/channel_type/impl_prefs/table_settings/@max_v = 100
/channelml/channel_type/impl_prefs/table_settings/@min_v = -100
/channelml/channel_type/impl_prefs/table_settings/@table_divisions = 200
// File from which this was generated: /Users/hashmup/nC_projects/PurkinjeCell.ncx/cellMechanisms/Kh1/Kh1_Chan.xml
// XSL file with mapping to simulator: /Users/hashmup/nC_projects/PurkinjeCell.ncx/cellMechanisms/Kh1/ChannelML_v1.8.1_NEURONmod.xsl
ENDCOMMENT
? This is a NEURON mod file generated from a ChannelML file
? Unit system of original ChannelML file: Physiological Units
COMMENT
ChannelML file containing a single Channel from De Schutter and Bower 1998
ENDCOMMENT
TITLE Channel: Kh1
COMMENT
Anomalous rectifier current. Based on Roth et al's reimplementation of original GENESIS model in NEURON
ENDCOMMENT
UNITS {
(mA) = (milliamp)
(mV) = (millivolt)
(S) = (siemens)
(um) = (micrometer)
(molar) = (1/liter)
(mM) = (millimolar)
(l) = (liter)
}
NEURON {
SUFFIX Kh1
USEION k READ ek WRITE ik VALENCE 1 ? reversal potential of ion is read, outgoing current is written
RANGE gmax, gion
RANGE minf, mtau
}
PARAMETER {
gmax = 0.0003 (S/cm2) ? default value, should be overwritten when conductance placed on cell
}
ASSIGNED {
v (mV)
celsius (degC)
? Reversal potential of k
ek (mV)
? The outward flow of ion: k calculated by rate equations...
ik (mA/cm2)
gion (S/cm2)
minf
mtau (ms)
}
BREAKPOINT {
SOLVE states METHOD cnexp
gion = gmax*((1*m)^1)
ik = gion*(v - ek)
}
INITIAL {
ek = -85
rates(v)
m = minf
}
STATE {
m
}
DERIVATIVE states {
rates(v)
m' = (minf - m)/mtau
}
PROCEDURE rates(v(mV)) {
? Note: not all of these may be used, depending on the form of rate equations
LOCAL alpha, beta, tau, inf, gamma, zeta, temp_adj_m, A_tau_m, k_tau_m, d_tau_m, A_inf_m, k_inf_m, d_inf_m
TABLE minf, mtau
DEPEND celsius
FROM -100 TO 100 WITH 200
UNITSOFF
? There is a Q10 factor which will alter the tau of the gates
temp_adj_m = 3^((celsius - 37)/10)
? *** Adding rate equations for gate: m ***
? Found a generic form of the rate equation for tau, using expression: 7.6
tau = 7.6
mtau = tau/temp_adj_m
? Found a parameterised form of rate equation for inf, using expression: A / (1 + exp(k*(v-d)))
A_inf_m = 0.8
k_inf_m = 0.142857142
d_inf_m = -82
inf = A_inf_m / (exp((v - d_inf_m) * k_inf_m) + 1)
minf = inf
? *** Finished rate equations for gate: m ***
}
UNITSON