-
Notifications
You must be signed in to change notification settings - Fork 0
/
kaf.mod
82 lines (61 loc) · 1.6 KB
/
kaf.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
TITLE Fast A-type Potassium current for nucleus accumbens (Kv4.2)
COMMENT
Jason Moyer 2004 - [email protected]
Tkatch, T., Baranauskas, G., and Surmeier, D. J. (2000). Kv4.2 mRNA
abundance and A-type K(+) current amplitude are linearly related in
basal ganglia and basal forebrain neurons. J Neurosci 20, 579-588.
22 degrees
ENDCOMMENT
UNITS {
(mV) = (millivolt)
(mA) = (milliamp)
(S) = (siemens)
}
NEURON {
SUFFIX kaf
USEION k READ ek WRITE ik
RANGE gkbar, ik, mshift, hshift, qfact
}
PARAMETER {
gkbar = 0.21 (S/cm2) : 0.21 in soma and prox; 0.019211 in mid/dist dends
mvhalf = -10.0 (mV) : Tkatch 2000 pg 581
mslope = -17.7 (mV) : Tkatch 2000 pg 581 - need to use -17.7, not 17.7
mshift = 0 (mV)
hvhalf = -75.6 (mV) : Tkatch 2000 pg 582
hslope = 10 (mV) : match to Tkatch 2000 fig 3B
hshift = 0 (mV)
htau = 14 (ms) : Tkatch 2000 Fig 3C
qfact = 3
power = 2
}
ASSIGNED {
v (mV)
ik (mA/cm2)
ek (mV)
minf
hinf
}
STATE {
m h
}
BREAKPOINT {
SOLVE states METHOD cnexp
ik = gkbar * m^power * h * (v-ek)
}
INITIAL {
rates(v)
m = minf
h = hinf
}
FUNCTION_TABLE mtau (v(mV)) (ms) : Tkatch 2000 Fig 2B
DERIVATIVE states {
rates(v)
m' = (minf - m) / (mtau(v) / qfact)
h' = (hinf - h) / (htau / qfact)
}
PROCEDURE rates( v(mV) ) { : Boltzman adjusted to give proper Erev dependency
TABLE minf, hinf DEPEND mshift, hshift, hslope
FROM -200 TO 200 WITH 201
minf = 1 / ( 1 + exp( (v - mvhalf - mshift) / mslope) )
hinf = 1 / ( 1 + exp( (v - hvhalf - hshift) / hslope) )
}