-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathIK1.mod
executable file
·75 lines (59 loc) · 1.56 KB
/
IK1.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
TITLE Persistent Ca2+ sensitive K+ current (I_K1) of thalamocortical relay cells
COMMENT
Highly TEA sensitive. The model is outlined by [1]. The maximal current
should be 13 to 17 times smaller than that of I_K2 as reported in [1].
Note that the [Ca2+]_i sensitivity is absent in the actual model for
reasons of simplification.
References:
[1] 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 ik1
USEION k READ ek WRITE ik
RANGE gbar, taum
}
UNITS {
(S) = (siemens)
(mV) = (millivolt)
(mA) = (milliamp)
}
PARAMETER {
v (mV)
celsius = 35 (degC)
ek = -90 (mV)
gbar = 0.0001 (S/cm2)
taum = 2.5
}
STATE {
m
}
ASSIGNED {
ik (mA/cm2)
minf
mtau (ms)
}
BREAKPOINT {
SOLVE states METHOD cnexp
ik = gbar*m*(v - ek)
}
INITIAL {
gates(v)
m = minf
}
DERIVATIVE states {
gates(v)
m' = (minf - m) / mtau
}
: Procedures
PROCEDURE gates(v(mV)) { : computes gating functions and other constants at current v
LOCAL q10
TABLE minf, mtau DEPEND celsius FROM -120 TO 80 WITH 200
UNITSOFF
q10 = 3^((celsius - 22) / 10)
mtau = taum :(1 / (exp((v - 81 - 7) / 25.6) + exp((v + 132 - 7) / -18)) + 9.9) / q10 : activation system
minf = 1 / (1 + exp(-(v + 5) / 8.6))
}
UNITSON