-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathIK2.mod
executable file
·99 lines (82 loc) · 2.23 KB
/
IK2.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
TITLE Slowly inactivating K+ current (I_K2) of thalamocortical relay cells
COMMENT
Low TEA sensitive. The model is outlined by [1]. The specific
conductances were estimated by matching the voltage clamp currents of
the model thalamocortical (TC) relay cell with those observed
experimentally by [2].
References:
[1] Huguenard, J.R., and McCormick, D.A. Simulation of the currents
involved in rhythmic oscillations in thalamic relay neurons. Jounal
of Neurophysiology 68: 1373-1383, 1992.
[2] Huguenard, J.R., and Prince, D.A. Slow inactivation of a
TEA-sensitive K current in acutely isolated rat thalamic relay
neurons. Jounal of Neurophysiology 66: 1316-1328, 1991.
Written by Martynas Dervinis @Cardiff University, 2013.
ENDCOMMENT
NEURON {
SUFFIX ik2
USEION k READ ek WRITE ik
RANGE gbar, g1, g2, fact1, fact2
}
UNITS {
(S) = (siemens)
(mV) = (millivolt)
(mA) = (milliamp)
}
PARAMETER {
v (mV)
celsius = 35 (degC)
ek = -90 (mV)
gbar = 0.0001 (S/cm2)
fact1 = 0.6
fact2 = 0.4
}
STATE {
m h1 h2
}
ASSIGNED {
g1 (S/cm2)
g2 (S/cm2)
ik (mA/cm2)
minf
hinf
mtau (ms)
htau1 (ms)
htau2 (ms)
}
BREAKPOINT {
SOLVE states METHOD cnexp
g1 = fact1*gbar*m*h1
g2 = fact2*gbar*m*h2
ik = (g1 + g2)*(v - ek)
}
INITIAL {
gates(v)
m = minf
h1 = hinf
h2 = hinf
}
DERIVATIVE states {
gates(v)
m' = (minf - m) / mtau
h1' = (hinf - h1) / htau1
h2' = (hinf - h2) / htau2
}
: Procedures
PROCEDURE gates(v(mV)) { : computes gating functions and other constants at current v
LOCAL q10
TABLE minf, hinf, mtau, htau1, htau2
DEPEND celsius FROM -120 TO 80 WITH 200
UNITSOFF
q10 = 3^((celsius - 22) / 10)
mtau = (1 / (exp((v - 81) / 25.6) + exp((v + 132) / -18)) + 9.9) / q10 : activation system
minf = (1 / (1 + exp(-(v + 43) / 17)))^4
htau1 = (1 / (exp((v - 1329) / 200) + exp((v + 130) / -7.1)) + 120) / q10 : inactivation system
if (v < -70) {
htau2 = htau1
} else {
htau2 = 8900 / q10
}
hinf = 1 / (1 + exp((v + 58) / 10.6))
}
UNITSON