-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkleak.mod
61 lines (42 loc) · 1.07 KB
/
kleak.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
COMMENT
-----------------------------------------------------------------------------
Leak potassium current
----------------------
This mechanism was written to be used as a potassium channel that is
open or closed by neuromodulators.
WARNING: this current is NOT inserted as a standard current, but as a
point process (same way as a synapse or current injection).
Procedure for insertion:
objectvar kl
kl = new kleak()
access <compartment_name>
kl.loc(0.5)
kl.gmax = ...
A. Destexhe , The Salk Institute, Feb 1994.
-----------------------------------------------------------------------------
ENDCOMMENT
INDEPENDENT {t FROM 0 TO 1 WITH 1 (ms)}
NEURON {
POINT_PROCESS kleak
RANGE gmax
GLOBAL Erev
NONSPECIFIC_CURRENT i
}
UNITS {
(nA) = (nanoamp)
(mV) = (millivolt)
(umho) = (micromho)
}
PARAMETER {
gmax = 0.004 (umho) : maximum conductance (microSiemens)
Erev = -100 (mV) : reversal potential (potassium)
}
ASSIGNED {
v (mV) : postsynaptic voltage
i (nA) : current = g*(v - Erev)
}
INITIAL {
}
BREAKPOINT {
i = gmax * (v - Erev)
}