-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathegl19.mod
More file actions
156 lines (100 loc) · 2.05 KB
/
egl19.mod
File metadata and controls
156 lines (100 loc) · 2.05 KB
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
145
146
147
148
149
150
151
152
153
154
155
156
TITLE EGL19
: L-type channels
:
UNITS {
(mA) = (milliamp)
(S) = (siemens)
(mV) = (millivolt)
}
NEURON {
SUFFIX egl19
USEION ca READ eca WRITE ica
RANGE gbar,g,curr
GLOBAL minf, hinf, mtau, htau, megl19,hegl19
}
PARAMETER{
eca (mV)
celsius (degC)
gbar=1.55 (S/cm2)
va_egl19=5.6 (mV)
ka_egl19=7.50 (mV)
shift=10 (mV)
p1hegl19=1.4314
p2hegl19=24.8573 (mV)
p3hegl19=11.9541 (mV)
p4hegl19=0.1427
p5hegl19=5.9589
p6hegl19=-10.5428 (mV)
p7hegl19=8.0552 (mV)
p8hegl19=0.6038
pdg1=2.3359 (ms)
pdg2=2.9324 (ms)
pdg3=5.2357 (mV)
pdg4=6.0 (mV)
pdg5=1.8739 (ms)
pdg6=1.3930 (mV)
pdg7=30.0 (mV)
ctm19=1
pds1=0.4
pds2=0.55
pds3=81.1179 (ms)
pds4=-22.9723 (mV)
pds5=5 (mV)
pds6=43.0937 (ms)
pds7=0.9
pds8=40.4885 (ms)
pds9=28.7251 (mV)
pds10=3.7125 (mV)
pds11=0
}
ASSIGNED{
ica (mA/cm2)
curr (mA/cm2)
g (S/cm2)
v (mV)
minf
hinf
mtau
htau
megl19
hegl19
}
STATE {
m h
}
BREAKPOINT {
SOLVE states METHOD cnexp
g=gbar*m*h
curr=gbar*m*h*(v-eca)
ica = gbar*m*h*(v-eca)
megl19=m
hegl19=h
}
INITIAL {
rates(v)
m=minf
h=hinf
}
DERIVATIVE states {
rates(v)
m' = (minf - m)/mtau
h'=(hinf-h)/htau
}
FUNCTION act(v (mV)) {
act=1/(1+exp(-(v-va_egl19+shift)/ka_egl19))
}
FUNCTION inact(m (mV)){
inact = ((p1hegl19/(1+exp(-(v-p2hegl19+shift)/p3hegl19))+p4hegl19)*(p5hegl19/(1+exp((v-p6hegl19+shift)/p7hegl19))+p8hegl19))
}
FUNCTION tact(m (mV)){
tact= (pdg1+(pdg2*exp(-(v-pdg3+shift)^2/(pdg4)^2))+(pdg5*exp(-(v-pdg6+shift)^2/(pdg7)^2)))*ctm19
}
FUNCTION tinact(v(mV)){
tinact= pds1*(((pds2*pds3)/(1+exp((v-pds4+shift)/pds5)))+pds6+((pds7*pds8)/(1+exp((v-pds9+shift)/pds10)))+pds11)
}
PROCEDURE rates(v (mV)){
minf=act(v)
hinf=inact(v)
mtau=tact(v)
htau=tinact(v)
}