-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkdr.mod
78 lines (54 loc) · 1.16 KB
/
kdr.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
TITLE KDR (4ap resistant, persistent) current for Evans 2012
COMMENT
Recorded at 22C - corrected to 35C with qfact 3
Jason Moyer 2004 - [email protected]
ENDCOMMENT
UNITS {
(mA) = (milliamp)
(mV) = (millivolt)
(S) = (siemens)
}
NEURON {
SUFFIX kdr
USEION k READ ek WRITE ik
RANGE gkbar, ik, qfact
}
PARAMETER {
gkbar = 0.000604 (S/cm2)
avhalf = -13 (mV) : Nisenbaum 1996, Fig 6C
aslope = -9.09 (mV) : Nisenbaum 1996, Fig 6C
bvhalf = -13 (mV)
bslope = -12.5 (mV)
a = 0.7 : matched to Nisenbaum 1996, figure 9A (with qfact = 1)
qfact = 0.5
}
STATE { m }
ASSIGNED {
ek (mV)
v (mV)
ik (mA/cm2)
gk (S/cm2)
minf
alpham
betam
taum (ms)
}
BREAKPOINT {
SOLVE state METHOD cnexp
gk = gkbar * m
ik = gk * ( v - ek )
}
INITIAL {
rates(v)
m = minf
}
DERIVATIVE state {
rates(v)
m' = (minf - m) / (taum/qfact)
}
PROCEDURE rates(v (mV)) {
alpham=exp((v+13)/(-9.09))
betam=exp((v+13)/(-12.5))
taum=(0.01*50*betam/(1+alpham))/qfact
minf=1/(1+alpham)
}