-
Notifications
You must be signed in to change notification settings - Fork 2
/
kqt3.mod
135 lines (88 loc) · 1.86 KB
/
kqt3.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
TITLE KQT3
: kqt3 channels
: From Nicoletti et al. PloS One 2019 (https://doi.org/10.1371/journal.pone.0218738)
UNITS {
(mA) = (milliamp)
(S) = (siemens)
(mV) = (millivolt)
}
NEURON {
SUFFIX kqt3
USEION k READ ek WRITE ik
RANGE gbar
}
PARAMETER{
v (mV)
ek (mV)
celsius (degC)
gbar=0.55 (S/cm2)
va_kqt3=-12.6726 (mV)
ka_kqt3=15.8008 (mV)
p1tmskqt3=5503 (ms)
p2tmskqt3=5345.4 (ms)
p3tmskqt3=-0.02827 (1/mV)
p4tmskqt3=-23.9 (mV)
p5tmskqt3=4590.6 (ms)
p6tmskqt3=-0.0357 (1/mV)
p7tmskqt3=14.15 (mV)
p1tmfkqt3=395.3 (ms)
p2tmfkqt3=38.1 (mV)
p3tmfkqt3=33.59 (mV)
constkqt3=10
w1=0.49
w2=0.51
w3=1.084
w4=28.78
tw1=5.44 (ms)
tw2=29.2 (ms)
tw3=48.09 (mV)
tw4=48.83 (mV)
sq1=0.34
sq2=0.66
sq3=45.3
sq4=12.3
tsq1=5000
ckqt3=0.1
}
ASSIGNED{
ik (mA/cm2)
curr (mA/cm2)
g (S/cm2)
}
STATE {
mf ms s w
}
BREAKPOINT {
SOLVE states METHOD cnexp
ik = gbar*((0.3*mf)+(0.7*ms))*s*w*(v-ek)
}
INITIAL {
mf=minf(v)
ms=minf(v)
w=winf(v)
s=sinf(v)
}
DERIVATIVE states {
mf' = (minf(v) - mf)/mtauf(v)
ms'=(minf(v)-ms)/mtaus(v)
s'=(sinf(v)-s)/500
w'=(winf(v)-w)/tw(v)
}
FUNCTION minf(v (mV)) {
minf=1/(1+exp(-(v-va_kqt3+constkqt3)/ka_kqt3))
}
FUNCTION mtauf(v (mV)){
mtauf=(p1tmfkqt3/(1+((v+p2tmfkqt3)/p3tmfkqt3)^2))*ckqt3
}
FUNCTION mtaus(v (mV)){
mtaus=(p1tmskqt3-p2tmskqt3/(1+10^(p3tmskqt3*(p4tmskqt3-v)))-p5tmskqt3/(1+10^(p6tmskqt3*(v+p7tmskqt3))))*ckqt3
}
FUNCTION winf(v (mV)){
winf=w1+(w2/(1+exp((v+w3)/w4)))
}
FUNCTION sinf(v (mV)){
sinf=sq1+(sq2/(1+exp((v+sq3)/sq4)))
}
FUNCTION tw(v (mV)){
tw=(tw1+(tw2/(1+pow((v+tw3)/tw4,2))))*ckqt3
}