-
Notifications
You must be signed in to change notification settings - Fork 1
/
newCaP_DP.mod
141 lines (102 loc) · 2.65 KB
/
newCaP_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
TITLE P-type calcium channel
COMMENT
Constructed from the recording data provided by Bruce Bean.
Reference: Swensen AM and Bean BP (2005) Robustness of burst firing in dissociated purkinje neurons with acute or long-term reductions in sodium conductance. J Neurosci 25:3509-20
Current Model 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 Sungho Hong, Computational Neuroscience Unit, Okinawa Institute of Science and Technology, 2009.
Contact: Sungho Hong (shhong@oist.jp)
Adapted by: Haroon Anwar (anwar@oist.jp)
ENDCOMMENT
INDEPENDENT {t FROM 0 TO 1 WITH 1 (ms)}
NEURON {
SUFFIX newCaP_DP
USEION ca READ cai, cao WRITE ica
USEION ca2 READ ca2i VALENCE 2
RANGE pcabar, ica, gk, vhalfm, cvm, vshift
GLOBAL frac1, frac2
}
UNITS {
(mV) = (millivolt)
(mA) = (milliamp)
(nA) = (nanoamp)
(pA) = (picoamp)
(S) = (siemens)
(nS) = (nanosiemens)
(pS) = (picosiemens)
(um) = (micron)
(molar) = (1/liter)
(mM) = (millimolar)
}
CONSTANT {
q10 = 3
F = 9.6485e4 (coulombs)
R = 8.3145 (joule/kelvin)
}
PARAMETER {
v (mV)
celsius (degC)
cai (mM)
cao (mM)
ca2i (mM)
vhalfm = -29.458 (mV)
cvm = 8.429(mV)
vshift = 0 (mV)
pcabar = 0.00049568 (cm/s)
}
ASSIGNED {
qt
ica (mA/cm2)
minf
taum (ms)
gk (coulombs/cm3)
T (kelvin)
E (volt)
zeta
frac1
frac2
}
STATE { m h }
INITIAL {
qt = q10^((celsius-23 (degC))/10 (degC))
T = kelvinfkt( celsius )
rates(v)
m = minf
}
BREAKPOINT {
SOLVE states METHOD cnexp
ica = (1e3) * pcabar * m * m * m * gk
}
DERIVATIVE states {
rates(v)
m' = (minf-m)/taum
}
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))
}
}
PROCEDURE rates( v (mV) ) {
minf = 1 / ( 1 + exp(-(v-vhalfm-vshift)/cvm) )
taum = taumfkt(v-vshift)/qt
gk = ghk(v-vshift, frac1*cai+frac2*ca2i, (frac1+frac2)*cao, 2)
}
FUNCTION kelvinfkt( t (degC) ) (kelvin) {
UNITSOFF
kelvinfkt = 273.19 + t
UNITSON
}
FUNCTION taumfkt( v (mV) ) (ms) {
UNITSOFF
if (v>=-40) {
taumfkt = 0.2702 + 1.1622 * exp(-(v+26.798)*(v+26.798)/164.19)
} else {
taumfkt = 0.6923 * exp(v/1089.372)
}
UNITSON
}