-
Notifications
You must be signed in to change notification settings - Fork 1
/
LEMS_RateBased4.xml
55 lines (34 loc) · 1.99 KB
/
LEMS_RateBased4.xml
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
<Lems>
<Target component="sim1" />
<!-- Include core NeuroML2 ComponentType definitions -->
<Include file="Cells.xml" />
<Include file="Networks.xml" />
<Include file="Simulation.xml" />
<Include file="SimpleExamples.xml" />
<network id="net1">
<population id="ePop" component="Ecomp" size="1" />
<population id="iPop" component="Icomp" size="1" />
<explicitInput target="ePop[0]" input="baselineE" destination="synapses"/>
</network>
<!-- End of NeuroML2 content -->
<Simulation id="sim1" length="200ms" step="0.01ms" target="net1">
<Display id="d1" title="Inputs" timeScale="1s" xmin="-20" xmax="220" ymin="-1" ymax="11">
<Line id="isyn e" quantity="ePop[0]/iSyn" scale="1nA" color="#0000ff" timeScale="1ms" />
<Line id="phi e" quantity="ePop[0]/phi" scale="1" color="#7777ff" timeScale="1ms" />
<Line id="isyn i" quantity="iPop[0]/iSyn" scale="1nA" color="#ff0000" timeScale="1ms" />
<Line id="phi i" quantity="iPop[0]/phi" scale="1" color="#ff7777" timeScale="1ms" />
</Display>
<Display id="d3" title="Rates" timeScale="1s" xmin="-20" xmax="220" ymin="-1" ymax="11">
<Line id="rate e" quantity="ePop[0]/r" scale="1Hz" color="#0000ff" timeScale="1ms" />
<Line id="rate i" quantity="iPop[0]/r" scale="1Hz" color="#ff0000" timeScale="1ms" />
</Display>
<Display id="v" title="Volts?" timeScale="1s" xmin="-20" xmax="220" ymin="-1" ymax="11">
<Line id="v e" quantity="ePop[0]/v" scale="1mV" color="#0000ff" timeScale="1ms" />
<Line id="v i" quantity="iPop[0]/v" scale="1mV" color="#ff0000" timeScale="1ms" />
</Display>
<OutputFile id="of1" fileName="rates.dat">
<OutputColumn id="el" quantity="ePop[0]/r"/>
<OutputColumn id="il" quantity="iPop[0]/r"/>
</OutputFile>
</Simulation>
</Lems>