forked from ModelDBRepository/223891
-
Notifications
You must be signed in to change notification settings - Fork 0
/
htc.mod
71 lines (56 loc) · 1.11 KB
/
htc.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
TITLE I-h channel for Thalamic neurons from McCormick and Pape (1990)
UNITS {
(mA) = (milliamp)
(mV) = (millivolt)
}
PARAMETER {
v (mV)
eh (mV)
celsius (degC)
ghbar=.00005 (mho/cm2)
vhalft=-80 (mV)
a0t=0.0005 (/ms)
zetat=0.2 (1)
gmt=.65 (1)
q10=4.5
shift=0 (mV)
}
NEURON {
SUFFIX htc
NONSPECIFIC_CURRENT i
RANGE ghbar, eh
THREADSAFE
GLOBAL linf,taul,shift
}
STATE {
l
}
ASSIGNED {
i (mA/cm2)
linf
taul
}
INITIAL {
rate(v)
l=linf
}
BREAKPOINT {
SOLVE states METHOD cnexp
i = ghbar*l*(v-eh)
}
FUNCTION alpt(v(mV)) {
alpt = exp(zetat*(v-vhalft+shift))
}
FUNCTION bett(v(mV)) {
bett = exp(zetat*gmt*(v-vhalft+shift))
}
DERIVATIVE states { : exact when v held constant; integrates over dt step
rate(v)
l' = (linf - l)/taul
}
PROCEDURE rate(v (mV)) { :callable from hoc
LOCAL qt
qt=q10^((celsius-36)/10)
linf = 1/(1+ exp((v+75+shift)/5.5))
taul = bett(v)/(qt*a0t*(1+alpt(v)))
}