-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnach.mod
86 lines (69 loc) · 1.27 KB
/
nach.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
: Sodium chanel from
: Contribution of the Kv3.1 potassium channel to high-frequency firing in mouse auditory neurones
: Lu-Yang Wang, Li Gan, Ian D. Forsythe and Leonard K. Kaczmarek
: J. Physiol (1998), 501.9, pp. 183-194
NEURON {
SUFFIX NaCh
USEION na READ ena WRITE ina
RANGE gbar, g, ina
GLOBAL minf, mtau, hinf, htau, am, bm, ah, bh
}
: area in paper is 1000 (um2) so divide our density parameters by 10
UNITS {
(mV) = (millivolt)
(S) = (mho)
(mA) = (milliamp)
}
PARAMETER {
gbar = 0.1227 (S/cm2) : .5 (uS)
gamma = .1
kam = 76.4 (/ms)
eam = .037 (/mV)
:kbm = .0381 (/ms) : typo in paper
kbm = 6.930852 (/ms) : personal communication from L. Kaczmarek
ebm = -.043 (/mV)
kah = .00013 (/ms)
eah = -.1216 (/mV)
kbh = 1.999 (/ms)
ebh = .0384 (/mV)
}
ASSIGNED {
v (mV)
ena (mV)
ina (mA/cm2)
minf
mtau (ms)
hinf
htau (ms)
am (/ms)
bm (/ms)
ah (/ms)
bh (/ms)
}
STATE {
m h
}
INITIAL {
rates(v)
m = minf
h = hinf
}
BREAKPOINT {
SOLVE state METHOD cnexp
ina = gbar*m^3*h*(v - ena)
}
DERIVATIVE state {
rates(v)
m' = (minf - m)/mtau
h' = (hinf - h)/htau
}
PROCEDURE rates(v(mV)) {
am = kam*exp(eam*v)
bm = kbm*exp(ebm*v)
ah = kah*exp(eah*v)
bh = kbh*exp(ebh*v)
minf = am/(am + bm)
mtau = 1/(am + bm)
hinf = ah/(ah + bh)
htau = 1/(ah + bh)
}