-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnap.mod
95 lines (70 loc) · 1.88 KB
/
nap.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
TITLE NaP - persistent sodium current for nucleus accumbens
COMMENT
Magistretti J, Alonso A (1999). "Biophysical properties and slow
voltage-dependent inactivation of a sustained sodium current in entorhinal
cortex layer-II principal neurons." J Gen Phys, 114: 491-509.
Traub RD, Buhl EH et al (2003). "Fast rhythmic bursting can be induced in
layer 2/3 cortical neurons by enhancing persistent na+ conductance or by
blocking BK channels." J Neurophys 89: 909-921.
Jason Moyer 2004 - jtmoyer@seas.upenn.edu
ENDCOMMENT
UNITS {
(mA) = (milliamp)
(mV) = (millivolt)
(S) = (siemens)
}
NEURON {
SUFFIX nap
USEION na READ ena WRITE ina
RANGE gnabar
}
PARAMETER {
gnabar = 4e-5 (S/cm2) : 4e-5 in soma; 1.3802e-7 in dends
mvhalf = -52.6 (mV) : Magistretti 1999, Fig 4
mslope = -4.6 (mV) : Magistretti 1999, Fig 4
hvhalf = -48.8 (mV) : Magistretti 1999, Fig 4
hslope = 10.0 (mV) : Magistretti 1999, Fig 4
qfact = 3
}
STATE { m h }
ASSIGNED {
ena (mV)
v (mV)
ina (mA/cm2)
gna (S/cm2)
minf
hinf
taum (ms) : Traub 2003, Table A2
}
BREAKPOINT {
SOLVE state METHOD cnexp
gna = gnabar * m * h
ina = gna * ( v - ena )
: VERBATIM
: printf("Ena is %g\n", ena);
: ENDVERBATIM
}
INITIAL {
rates(v)
m = minf
h = hinf
}
FUNCTION_TABLE tauh(v(mV)) (ms) : Magistretti 1999, Fig 8A
DERIVATIVE state {
rates(v)
m' = (minf - m) / taum
h' = (hinf - h) / (tauh(v)/qfact)
}
PROCEDURE rates(v (mV)) {
TABLE minf, hinf, taum
FROM -200 TO 200 WITH 201
minf = 1 / (1 + exp( (v - mvhalf) / mslope))
hinf = 1 / (1 + exp( (v - hvhalf) / hslope))
UNITSOFF
if (v < -40) { : Traub 2003, Table A2
taum = 0.025 + 0.14 * exp( (v + 40 ) / 10)
} else {
taum = 0.02 + 0.145 * exp( (-v - 40) / 10)
}
UNITSON
}