-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathI2.mod
More file actions
45 lines (35 loc) · 910 Bytes
/
I2.mod
File metadata and controls
45 lines (35 loc) · 910 Bytes
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
: Template for transient K+ -type of Hodgkin-Huxley channel
: Formalism from Buhry et al. 2013: "Global parameter estimation of an Hodgkin-Huxley formalism using membrane voltage
: recordings: Application to neuro-mimetic analog integrated circuits", Neurocomputing 81 (2012) 75-85
: NEURON implementation by Tuomo Maki-Marttunen, 2013-2017 (CC-BY 4.0)
NEURON {
SUFFIX I2
NONSPECIFIC_CURRENT i
RANGE i,E,g,m,h,Voffa,Vsloa,taua
}
UNITS {
(mV) = (millivolt)
(S) = (siemens)
}
STATE { m }
PARAMETER {
g = 20 (S/cm2)
E = -90 (mV)
Voffa = -50 (mV)
Vsloa = 8 (mV)
taua = 0.35 (ms)
}
ASSIGNED {
i (mA/cm2)
v (mV)
}
BREAKPOINT {
SOLVE states METHOD cnexp
i = g*(m^4*(v-E))
}
INITIAL {
m = 1/(1+exp(-(v-Voffa)/Vsloa))
}
DERIVATIVE states {
m' = 1/taua*(1/(1+exp(-(v-Voffa)/Vsloa))-m)
}