-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIh.mod
79 lines (62 loc) · 1.43 KB
/
Ih.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
COMMENT
Ih current - hyperpolarization-activated nonspecific Na and K channel
- contributes to the resting membrane potential
- controls the afterhyperpolarization
Conductance density is modified by Vlad as through database
Reference:
Saraga, F. (2003). Active dendrites and spike propagation in multi-compartment models of oriens-lacunosum/moleculare hippocampal interneurons. The Journal of physiology, 552(3), 673-689.
ENDCOMMENT
UNITS {
(mA) = (milliamp)
(mV) = (millivolt)
}
NEURON {
THREADSAFE
SUFFIX Ih
USEION h READ eh WRITE ih VALENCE 1
RANGE gkhbar,ih,g
GLOBAL rinf
}
INDEPENDENT {t FROM 0 TO 1 WITH 1 (ms)}
PARAMETER {
v (mV)
p = 5 (degC)
dt (ms)
gkhbar = 0.000005 (mho/cm2)
eh = -32.9 (mV)
t1 = 1 (1/mV)
t2 = -0.116 (1/mV)
t3 = 1 (1/mV)
t4 = 0.09 (1/mV)
t5 = 100 (ms)
v_half = -103.44 (mV)
k = 8.63
}
STATE {
r
}
ASSIGNED {
ih (mA/cm2)
rinf
tau_r (ms)
g (siemens/cm2)
}
BREAKPOINT {
SOLVE state METHOD cnexp
ih = gkhbar*r*(v - eh)
g = gkhbar*r
}
INITIAL {
rates(v, v_half, k, t1, t2, t3, t4, t5)
r = 0
}
DERIVATIVE state { :Computes state variable h at current v and dt.
rates(v, v_half, k, t1, t2, t3, t4, t5)
r' = (rinf - r)/tau_r
}
UNITSOFF
PROCEDURE rates(v(mV), v_half(mV), k, t1(1/mV), t2(1/mV), t3(1/mV), t4(1/mV), t5(ms)) {
rinf = 1/(1 + exp((v-v_half)/k))
tau_r = 1/(exp(-t1-t2*v) + exp(-t3+t4*v)) + t5
}
UNITSON