-
Notifications
You must be signed in to change notification settings - Fork 1
/
CaT3_1_DP.mod
144 lines (107 loc) · 2.72 KB
/
CaT3_1_DP.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
TITLE Low threshold calcium current Cerebellum Purkinje Cell Model
COMMENT
Kinetics adapted to fit the Cav3.1 Iftinca et al 2006, Temperature dependence of T-type Calcium channel gating, NEUROSCIENCE
Reference: Anwar H, Hong S, De Schutter E (2010) Controlling Ca2+-activated K+ channels with models of Ca2+ buffering in Purkinje cell. Cerebellum*
*Article available as Open Access
PubMed link: http://www.ncbi.nlm.nih.gov/pubmed/20981513
Written by Haroon Anwar, Computational Neuroscience Unit, Okinawa Institute of Science and Technology, 2010.
Contact: Haroon Anwar (anwar@oist.jp)
ENDCOMMENT
INDEPENDENT {t FROM 0 TO 1 WITH 1 (ms)}
NEURON {
SUFFIX CaT3_1_DP
USEION ca READ cai, cao
USEION ca2 READ ca2i WRITE ica2 VALENCE 2
RANGE g, pcabar, minf, taum, hinf, tauh
RANGE ica2, m ,h
GLOBAL frac1, frac2
}
UNITS {
(molar) = (1/liter)
(mV) = (millivolt)
(mA) = (milliamp)
(mM) = (millimolar)
}
CONSTANT {
F = 9.6485e4 (coulombs)
R = 8.3145 (joule/kelvin)
}
PARAMETER {
v (mV)
celsius (degC)
eca (mV)
pcabar = 2.5e-4 (cm/s)
cai (mM)
cao (mM)
ca2i (mM)
v0_m_inf = -52 (mV)
v0_h_inf = -72 (mV)
k_m_inf = -5 (mV)
k_h_inf = 7 (mV)
C_tau_m = 1
A_tau_m = 1.0
v0_tau_m1 = -40 (mV)
v0_tau_m2 = -102 (mV)
k_tau_m1 = 9 (mV)
k_tau_m2 = -18 (mV)
C_tau_h = 15
A_tau_h = 1.0
v0_tau_h1 = -32 (mV)
k_tau_h1 = 7 (mV)
}
STATE {
m h
}
ASSIGNED {
ica2 (mA/cm2)
g (coulombs/cm3)
minf
taum (ms)
hinf
tauh (ms)
T (kelvin)
E (volt)
zeta
frac1
frac2
}
BREAKPOINT {
SOLVE castate METHOD cnexp
ica2 = (1e3) *pcabar*m*m *h * g
}
DERIVATIVE castate {
evaluate_fct(v)
m' = (minf - m) / taum
h' = (hinf - h) / tauh
}
FUNCTION ghk( v (mV), ci (mM), co (mM), z ) (coulombs/cm3) {
E = (1e-3) * v
zeta = (z*F*E)/(R*T)
if ( fabs(1-exp(-zeta)) < 1e-6 ) {
ghk = (1e-6) * (z*F) * (ci - co*exp(-zeta)) * (1 + zeta/2)
} else {
ghk = (1e-6) * (z*zeta*F) * (ci - co*exp(-zeta)) / (1-exp(-zeta))
}
}
UNITSOFF
INITIAL {
T = kelvinfkt (celsius)
evaluate_fct(v)
m = minf
h = hinf
}
PROCEDURE evaluate_fct(v(mV)) {
minf = 1.0 / ( 1 + exp((v - v0_m_inf)/k_m_inf) )
hinf = 1.0 / ( 1 + exp((v - v0_h_inf)/k_h_inf) )
if (v<=-90) {
taum = 1
} else {
taum = ( C_tau_m + A_tau_m / (exp((v - v0_tau_m1)/ k_tau_m1) + exp((v - v0_tau_m2)/k_tau_m2)))
}
tauh = ( C_tau_h + A_tau_h / exp((v - v0_tau_h1)/k_tau_h1) )
g = ghk(v, frac1*cai + frac2*ca2i, (frac1+frac2)*cao, 2)
}
FUNCTION kelvinfkt( t (degC) ) (kelvin) {
kelvinfkt = 273.19 + t
}
UNITSON