-
Notifications
You must be signed in to change notification settings - Fork 1
/
KctBG99.mod
84 lines (63 loc) · 1.49 KB
/
KctBG99.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
TITLE Kct current
COMMENT Equations from
Shao L.R., Halvorsrud R., Borg-Graham L., Storm J.F. The role of BK-type Ca2_-dependent K+ channels in spike broadening during repetitive firing in rat hippocampal pyramidal cells J.Physiology (1999),521:135-146
The Krasnow Institute
George Mason University
Copyright Maciej Lazarewicz, 2001
All rights reserved.
ENDCOMMENT
NEURON {
SUFFIX KctBG99
USEION k WRITE ik
USEION ca READ cai
RANGE gbar,ik
}
UNITS {
(molar) = (1/liter)
(mM) = (millimolar)
(S) = (siemens)
(mA) = (milliamp)
(mV) = (millivolt)
}
PARAMETER {
gbar = 1.0e-3 (S/cm2)
celsius (degC)
}
ASSIGNED {
v (mV)
cai (mM)
ik (mA/cm2)
k1 (/ms)
k2 (/ms)
k3 (/ms)
k4 (/ms)
q10 (1)
}
STATE { cst ost ist }
BREAKPOINT {
SOLVE kin METHOD sparse
ik = gbar * ost * ( v + 80.0 )
}
INITIAL {
SOLVE kin STEADYSTATE sparse
}
KINETIC kin {
rates(v)
~cst<->ost (k3,k4)
~ost<->ist (k1,0.0)
~ist<->cst (k2,0.0)
CONSERVE cst+ost+ist=1
}
PROCEDURE rates( v(mV)) {
k1=alp( 0.1, v, -10.0, 1.0 )
k2=alp( 0.1, v, -120.0, -10.0 )
k3=alpha( 0.001, 1.0, v, -20.0, 7.0 ) *1.0e8* ( cai*1.0(/mM) )^3
k4=alp( 0.01, v, -44.0, -5.0 )
}
FUNCTION alpha( tmin(ms), tmax(ms), v(mV), vhalf(mV), k(mV) )(/ms){
alpha = 1.0 / ( tmin + 1.0 / ( 1.0 / (tmax-tmin) + exp((v-vhalf)/k)*1.0(/ms) ) )
}
FUNCTION alp( tmin(ms), v(mV), vhalf(mV), k(mV) )(/ms){
alp = 1.0 / ( tmin + exp( -(v-vhalf) / k )*1.0(ms) )
}