-
Notifications
You must be signed in to change notification settings - Fork 30
/
LEMS_NML2_Ex9_FN.xml
53 lines (28 loc) · 1.33 KB
/
LEMS_NML2_Ex9_FN.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
<Lems>
<!-- Example with FitzHugh-Nagumo model -->
<!--
Needs to be updated, see https://github.com/NeuroML/NeuroML2/issues/42
-->
<!-- Specify which component to run -->
<Target component="sim1" />
<!-- Include core NeuroML2 ComponentType definitions -->
<Include file="Cells.xml" />
<Include file="Networks.xml" />
<Include file="Simulation.xml" />
<!-- Main NeuroML2 content. Based on http://www.scholarpedia.org/article/FitzHugh-Nagumo_model -->
<fitzHughNagumoCell id="fn1" I="0.8" />
<network id="net1">
<population id="fnPop1" component="fn1" size="1" />
</network>
<!-- End of NeuroML2 content -->
<Simulation id="sim1" length="200s" step="0.01s" target="net1">
<Display id="d1" title="Ex9: FitzHugh-Nagumo cell model in LEMS" timeScale="1s" xmin="0" xmax="200" ymin="-2.5" ymax="2.5">
<Line id="V" quantity="fnPop1[0]/V" scale="1" color="#ee40FF" timeScale="1s" />
<Line id="W" quantity="fnPop1[0]/W" scale="1" color="#BBA0AA" timeScale="1s" />
</Display>
<OutputFile id="of1" fileName="results/ex9.dat">
<OutputColumn id="V" quantity="fnPop1[0]/V"/>
<OutputColumn id="W" quantity="fnPop1[0]/W"/>
</OutputFile>
</Simulation>
</Lems>