-
Notifications
You must be signed in to change notification settings - Fork 2
/
Nasoma.mod
130 lines (112 loc) · 2.74 KB
/
Nasoma.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
COMMENT
Sodium current for the soma
References:
1. Martina, M., Vida, I., and Jonas, P. Distal initiation and active
propagation of action potentials in interneuron dendrites,
Science, 287:295-300, 2000.
soma axon-lacking dend axon-bearing dend
Na+ gmax 107 ps/um2 117 ps/um2 107 ps/um2
slope 10.9 mV/e 11.2 mV/e 11.2 mV/e
V1/2 -37.8 mV -45.6 mV -45.6 mV
2. Marina, M. and Jonas, P. Functional differences in Na+ channel
gating between fast-spiking interneurons and principal neurones of rat
hippocampus, J. Physiol., 505.3:593-603, 1997.
*Note* The interneurons here are basket cells from the dentate gyrus.
Na+ Activation V1/2 -25.1 mV
slope 11.5
Activation t (-20 mV) 0.16 ms
Deactivation t (-40 mV) 0.13 ms
Inactivation V1/2 -58.3 mV
slope 6.7
onset of inactivation t (-20 mV) 1.34 ms
onset of inactivation t (-55 mV) 18.6 ms
recovery from inactivation t 2.0 ms
(30 ms conditioning pulse)
recovery from inactivation t 2.7 ms
(300 ms conditioning pulse)
ENDCOMMENT
UNITS {
(mA) = (milliamp)
(mV) = (millivolt)
}
NEURON {
SUFFIX Nasoma
USEION na READ ena WRITE ina
NONSPECIFIC_CURRENT il
RANGE gnasoma, gl, el, ina
GLOBAL minf, hinf, hexp, mtau, htau
}
INDEPENDENT {t FROM 0 TO 1 WITH 1 (ms)}
PARAMETER {
v (mV)
celsius = 24 (degC)
dt (ms)
gnasoma = .0107 (mho/cm2)
ena = 90 (mV)
gl = .00005 (mho/cm2)
el = -70 (mV)
}
STATE {
m h
}
ASSIGNED {
ina (mA/cm2)
il (mA/cm2)
minf
mexp
hinf
hexp
mtau (ms)
htau (ms)
}
INITIAL {
m = minf
h = hinf
}
BREAKPOINT {
SOLVE states
ina = gnasoma*minf*minf*minf*h*(v - ena)
il = gl*(v - el)
}
PROCEDURE states() { :exact when v held constant
evaluate_fct(v)
h = h + hexp*(hinf - h)
VERBATIM
return 0;
ENDVERBATIM
}
UNITSOFF
PROCEDURE evaluate_fct(v(mV)) { :Computes rate and other constants at
:current v.
:Call once from HOC to initialize inf at resting v.
LOCAL q10, tinc, alpha, beta
TABLE minf, hinf, hexp, mtau, htau DEPEND dt, celsius FROM -200 TO
100 WITH 300
: q10 = 3^((celsius - 24)/10)
q10 = 1 : BPG
tinc = -dt*q10
alpha = 0.1*vtrap(-(v+38),10)
beta = 4*exp(-(v+63)/18)
mtau = 1/(alpha + beta)
minf = alpha*mtau
alpha = 0.07*Exp(-(v+63)/20)
beta = 1/(1+Exp(-(v+33)/10))
htau = 1/(alpha + beta)
hinf = alpha*htau
hexp = 1-Exp(tinc/htau)
}
FUNCTION vtrap(x,y) { :Traps for 0 in denominator of rate eqns.
if (fabs(x/y) < 1e-6) {
vtrap = y*(1 - x/y/2)
}else{
vtrap = x/(Exp(x/y) - 1)
}
}
FUNCTION Exp(x) {
if (x < -100) {
Exp = 0
}else{
Exp = exp(x)
}
}
UNITSON