-
Notifications
You must be signed in to change notification settings - Fork 30
/
LEMS_TEMPLATE.xml
49 lines (39 loc) · 1.78 KB
/
LEMS_TEMPLATE.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
<Lems>
#if ($comment)##
<!-- ${comment} -->
#end##
<!-- Specify which component to run -->
<Target component="${sim_id}"${report}/>
<!-- Include core NeuroML2 ComponentType definitions -->
<Include file="Cells.xml"/>
<Include file="Networks.xml"/>
<Include file="Simulation.xml"/>
#foreach ($include_file in $include_files)##
<Include file="${include_file}"/>
#end##
#set( $start = -0.1 * $duration )
#set( $end = 1.1 * $duration )
<Simulation id="${sim_id}" length="${duration}ms" step="${dt}ms" target="${target}" seed="${seed}"> <!-- Note seed: ensures same random numbers used every run -->
#foreach ($display in $displays)##
<Display id="${display.id}" title="${display.title}" timeScale="${display.time_scale}" xmin="$start" xmax="$end" ymin="${display.ymin}" ymax="${display.ymax}">
#foreach ($line in $display.lines)##
<Line id="${line.id}" quantity="${line.quantity}" scale="${line.scale}" color="${line.color}" timeScale="${line.time_scale}"/>
#end##
</Display>
#end##
#foreach ($output_file in $output_files)##
<OutputFile id="${output_file.id}" fileName="${output_file.file_name}">
#foreach ($column in $output_file.columns)##
<OutputColumn id="${column.id}" quantity="${column.quantity}"/>
#end##
</OutputFile>
#end##
#foreach ($event_output_file in $event_output_files)##
<EventOutputFile id="${event_output_file.id}" fileName="${event_output_file.file_name}" format="${event_output_file.format}">
#foreach ($selection in $event_output_file.selections)##
<EventSelection id="${selection.id}" select="${selection.select}" eventPort="${selection.event_port}"/>
#end##
</EventOutputFile>
#end##
</Simulation>
</Lems>