-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathInput_0.mod
More file actions
85 lines (59 loc) · 1.64 KB
/
Copy pathInput_0.mod
File metadata and controls
85 lines (59 loc) · 1.64 KB
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
TITLE Mod file for component: Component(id=Input_0 type=pulseGenerator)
COMMENT
This NEURON file has been generated by org.neuroml.export (see https://github.com/NeuroML/org.neuroml.export)
org.neuroml.export v1.11.0
org.neuroml.model v1.11.0
jLEMS v0.12.0
ENDCOMMENT
NEURON {
POINT_PROCESS Input_0
ELECTRODE_CURRENT i
RANGE weight : property
RANGE delay : parameter
RANGE duration : parameter
RANGE amplitude : parameter
}
UNITS {
(nA) = (nanoamp)
(uA) = (microamp)
(mA) = (milliamp)
(A) = (amp)
(mV) = (millivolt)
(mS) = (millisiemens)
(uS) = (microsiemens)
(nF) = (nanofarad)
(molar) = (1/liter)
(kHz) = (kilohertz)
(mM) = (millimolar)
(um) = (micrometer)
(umol) = (micromole)
(pC) = (picocoulomb)
(S) = (siemens)
}
PARAMETER {
weight = 1
delay = 100 (ms) : was: 0.1 (time)
duration = 500 (ms) : was: 0.5 (time)
amplitude = 0.1 (nA) : was: 1.0E-10 (current)
}
STATE {
i (nA) : dimension: current
}
INITIAL {
rates()
rates() ? To ensure correct initialisation.
}
BREAKPOINT {
rates()
if (t < delay) {
i = 0 ? standard OnCondition
}
if (t >= delay && t < duration + delay) {
i = weight * amplitude ? standard OnCondition
}
if (t >= duration + delay) {
i = 0 ? standard OnCondition
}
}
PROCEDURE rates() {
}