-
Notifications
You must be signed in to change notification settings - Fork 0
/
LeakConductance.mod
95 lines (57 loc) · 2.18 KB
/
LeakConductance.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
COMMENT
**************************************************
File generated by: neuroConstruct v1.6.0
**************************************************
This file holds the implementation in NEURON of the Cell Mechanism:
LeakConductance (Type: Channel mechanism, Model: Template based ChannelML file)
with parameters:
/channelml/@units = Physiological Units
/channelml/notes = ChannelML file containing a single Channel description
/channelml/ion/@name = non_specific
/channelml/ion/@charge = 1
/channelml/ion/@default_erev = -80
/channelml/channel_type/@name = LeakConductance
/channelml/channel_type/@density = yes
/channelml/channel_type/status/@value = stable
/channelml/channel_type/notes = Simple example of a leak/passive conductance.
/channelml/channel_type/current_voltage_relation/ohmic/@ion = non_specific
/channelml/channel_type/current_voltage_relation/ohmic/conductance/@default_gmax = 0.3
// File from which this was generated: /Users/hashmup/nC_projects/PurkinjeCell.ncx/cellMechanisms/LeakConductance/LeakConductance.xml
// XSL file with mapping to simulator: /Users/hashmup/nC_projects/PurkinjeCell.ncx/cellMechanisms/LeakConductance/ChannelML_v1.8.1_NEURONmod.xsl
ENDCOMMENT
? This is a NEURON mod file generated from a ChannelML file
? Unit system of original ChannelML file: Physiological Units
COMMENT
ChannelML file containing a single Channel description
ENDCOMMENT
TITLE Channel: LeakConductance
COMMENT
Simple example of a leak/passive conductance.
ENDCOMMENT
UNITS {
(mA) = (milliamp)
(mV) = (millivolt)
(S) = (siemens)
(um) = (micrometer)
(molar) = (1/liter)
(mM) = (millimolar)
(l) = (liter)
}
NEURON {
SUFFIX LeakConductance
? A non specific current is present
RANGE e
NONSPECIFIC_CURRENT i
RANGE gmax, gion
}
PARAMETER {
gmax = 0.0003 (S/cm2) ? default value, should be overwritten when conductance placed on cell
e = -80 (mV) ? default value, should be overwritten when conductance placed on cell
}
ASSIGNED {
v (mV)
i (mA/cm2)
}
BREAKPOINT {
i = gmax*(v - e)
}