-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtest.xml
executable file
·195 lines (178 loc) · 8.33 KB
/
test.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
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
<?xml version='1.0' standalone='yes'?>
<graphs>
<!-- PRESSURE -->
<graph type='pressure'>
<query>SELECT unix_timestamp(time), pressure FROM pressure_bifrost where time between "{from}" and "{to}" order by time</query>
<ylabel>Pressure / Torr</ylabel>
<title>Pressure in Preparation chamber</title>
<default_yscale>log</default_yscale>
<default_xscale>dat</default_xscale>
<small_fig_settings>figure.figsize:[4,3.0]|xtick.labelsize:small|ytick.labelsize:small</small_fig_settings>
</graph>
<!-- PRESSURE -->
<graph type='max'>
<query>SELECT unix_timestamp(time), pressure FROM pressure_bifrost where time between "{from}" and "{to}" order by time</query>
<query1>SELECT unix_timestamp(time), pressure FROM pressure_bifrost where time between "{from}" and "{to}" order by time</query1>
<query2>SELECT unix_timestamp(time), pressure FROM pressure_bifrost where time between "{from}" and "{to}" order by time</query2>
<ordering>left|red,left|blue,left|green</ordering>
<ylabel>Pressure / Torr</ylabel>
<title>Pressure in Preparation chamber</title>
<default_yscale>log</default_yscale>
<default_xscale>dat</default_xscale>
<small_fig_settings>figure.figsize:[4,3.0]|xtick.labelsize:small|ytick.labelsize:small</small_fig_settings>
</graph>
<!-- MORNING_PRESSURE -->
<graph type='morning_pressure'>
<query>select unix_timestamp(date(time)), avg(pressure) from pressure_bifrost where hour(time) = 1 and minute(time) between 00 and 20 and time between "{from}" and "{to}" group by date(time) order by time desc limit 30</query>
<ylabel>Pressure / Torr</ylabel>
<title>Pressure at 1 am in the Preparation chamber</title>
<default_yscale>log</default_yscale>
<default_xscale>dat</default_xscale>
<default_style>barplot</default_style>
</graph>
<!-- TEMPERATURE -->
<graph type='temperature'>
<query>SELECT unix_timestamp(time), temperature FROM heating_data_bifrost where temperature between -1 and 1300 and time between "{from}" and "{to}" order by time</query>
<ylabel>Temperature / C</ylabel>
<title>Temperature of the sample</title>
<default_yscale>lin</default_yscale>
<default_xscale>dat</default_xscale>
<small_fig_settings>figure.figsize:[4,3.0]|xtick.labelsize:small|ytick.labelsize:small</small_fig_settings>
</graph>
<!-- AES -->
<graph type='aes'>
<query>SELECT x,y FROM xy_values_bifrost where measurement = {id} order by id</query>
<type>6</type>
<xlabel>Kinetic energy / eV</xlabel>
<ylabel>Counts / 1/s</ylabel>
<title>AES data</title>
<default_xscale>lin</default_xscale>
<default_yscale>lin</default_yscale>
<param0_field>pass</param0_field>
<param0_name>Pass Energy / eV</param0_name>
</graph>
<!-- XPS -->
<graph type='xps'>
<query>SELECT x,y FROM xy_values_bifrost where measurement = {id} order by id</query>
<type>2</type>
<xlabel>Binding energy / eV</xlabel>
<ylabel>Counts / s</ylabel>
<title>XPS data</title>
<default_xscale>lin</default_xscale>
<default_yscale>lin</default_yscale>
<param0_field>pass</param0_field>
<param0_name>Pass Energy / eV</param0_name>
</graph>
<!-- ISS -->
<graph type='iss'>
<query>SELECT x,y FROM xy_values_volvo where measurement = {id} order by id</query>
<type>3</type>
<xlabel>Energy / eV</xlabel>
<ylabel>Counts / s</ylabel>
<title>ISS data</title>
<default_xscale>lin</default_xscale>
<default_yscale>lin</default_yscale>
</graph>
<!-- MASSSPECTRUM -->
<graph type='massspectrum'>
<query>SELECT x,y FROM xy_values_bifrost where measurement = {id} order by id</query>
<offset_query>SELECT min(y) FROM xy_values_volvo where measurement = {id}</offset_query>
<type>4</type>
<xlabel>Mass / amu</xlabel>
<ylabel>SEM current / A</ylabel>
<title>Mass Spectrum</title>
<default_xscale>lin</default_xscale>
<default_yscale>log</default_yscale>
<param0_field>sem_voltage</param0_field>
<param0_name>SEM Voltage / V</param0_name>
<param1_field>preamp_range</param1_field>
<param1_name>Range</param1_name>
</graph>
<!-- MASSTIME -->
<graph type='masstime'>
<query>SELECT x/1000,y FROM xy_values_bifrost where measurement = {id} order by id</query>
<t_query>SELECT x/1000,y FROM xy_values_bifrost where measurement = {t_id} order by id</t_query>
<type>5</type>
<xlabel>Time / s</xlabel>
<t_xlabel>Temp / </t_xlabel>
<temperature_unit>C</temperature_unit>
<ylabel>SEM current / A</ylabel>
<title>Mass vs. time</title>
<t_title>Mass vs. temperature</t_title>
<default_xscale>lin</default_xscale>
<default_yscale>lin</default_yscale>
<param0_field>sem_voltage</param0_field>
<param0_name>SEM Voltage / V</param0_name>
<param1_field>preamp_range</param1_field>
<param1_name>Range</param1_name>
<legend_field_name>mass_label</legend_field_name>
</graph>
<!-- HEATING VOLTAGE -->
<graph type='heating_voltage'>
<query>SELECT unix_timestamp(time), rmsvoltage FROM heating_data_bifrost where time between "{from}" and "{to}" order by time</query>
<ylabel>Voltage (V)</ylabel>
<title>Heating voltage</title>
<default_xscale>dat</default_xscale>
<default_yscale>lin</default_yscale>
<small_fig_settings>figure.figsize:[4,3.0]|xtick.labelsize:small|ytick.labelsize:small</small_fig_settings>
</graph>
<!-- HEATING CURRENT -->
<graph type='heating_current'>
<query>SELECT unix_timestamp(time), rmscurrent FROM heating_data_bifrost where time between "{from}" and "{to}" order by time</query>
<ylabel>Current (A)</ylabel>
<title>Heating current</title>
<default_xscale>dat</default_xscale>
<default_yscale>lin</default_yscale>
<small_fig_settings>figure.figsize:[4,3.0]|xtick.labelsize:small|ytick.labelsize:small</small_fig_settings>
</graph>
<!-- HEATING POWER -->
<graph type='heating_power'>
<query>SELECT unix_timestamp(time), power FROM heating_data_sputterkammer where time between "{from}" and "{to}" order by time</query>
<ylabel>Power (W)</ylabel>
<title>Heating power</title>
<default_xscale>dat</default_xscale>
<default_yscale>lin</default_yscale>
<small_fig_settings>figure.figsize:[4,3.0]|xtick.labelsize:small|ytick.labelsize:small</small_fig_settings>
</graph>
<!-- RESISTANCE -->
<graph type='heating_resistance'>
<query>SELECT unix_timestamp(time), rmsvoltage/rmscurrent FROM heating_data_bifrost where time between "{from}" and "{to}" order by time</query>
<ylabel>Resistance (Ohm)</ylabel>
<title>Heating power</title>
<default_xscale>dat</default_xscale>
<default_yscale>lin</default_yscale>
<small_fig_settings>figure.figsize:[4,3.0]|xtick.labelsize:small|ytick.labelsize:small</small_fig_settings>
</graph>
<!-- ACCELERATION VOLTAGE -->
<graph type='acceleration_voltage'>
<query>SELECT unix_timestamp(time), accvoltage FROM ion_gun_data_bifrost where time between "{from}" and "{to}" order by time</query>
<ylabel>Voltage (V)</ylabel>
<title>Heating voltage</title>
<default_xscale>dat</default_xscale>
<default_yscale>lin</default_yscale>
<small_fig_settings>figure.figsize:[4,3.0]|xtick.labelsize:small|ytick.labelsize:small</small_fig_settings>
</graph>
<!-- EMISSION CURRENT -->
<graph type='emission_current'>
<query>SELECT unix_timestamp(time), emissioncurrent FROM ion_gun_data_bifrost where time between "{from}" and "{to}" order by time</query>
<ylabel>Current (A)</ylabel>
<title>Heating current</title>
<default_xscale>dat</default_xscale>
<default_yscale>lin</default_yscale>
<small_fig_settings>figure.figsize:[4,3.0]|xtick.labelsize:small|ytick.labelsize:small</small_fig_settings>
</graph>
<!-- SPUTTER CURRENT -->
<graph type='sputter_current'>
<query>SELECT unix_timestamp(time), energycurrent FROM ion_gun_data_bifrost where time between "{from}" and "{to}" order by time</query>
<ylabel>Current (A)</ylabel>
<title>Heating current</title>
<default_xscale>dat</default_xscale>
<default_yscale>lin</default_yscale>
<small_fig_settings>figure.figsize:[4,3.0]|xtick.labelsize:small|ytick.labelsize:small</small_fig_settings>
</graph>
<global_settings>
<measurements_table>measurements_bifrost</measurements_table>
<xyvalues_table>xy_values_bifrost</xyvalues_table>
<chamber_name>Bifrost</chamber_name>
</global_settings>
</graphs>