Debian Codegraph @

gavo/resources/dm/meas.vo-dml.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <vo-dml:model xmlns:vo-dml="http://www.ivoa.net/xml/VODML/v1"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://www.ivoa.net/xml/VODML/v1 https://www.ivoa.net/xml/VODML/vo-dml-v1.xsd">
5 <name>meas</name>
6 <description>This model defines objects and datatypes which represent 'measured' or 'determined' data. It associates a Coordinate (ie: the determined value with associated physical context) with corresponding Error(s). As such, this model is at least the foundation for representing the vast majority of the Astronomical data found in catalogs and data products.
7
8 We define here, several specialized classes which cover the most basic and common types, such as Position and Time. We also provide a generic model which can accommodate virtually any data, but may require a bit more effort to fully describe the coordinate metadata. Additional specializations, e.g. Flux, Magnitude, Luminosity, Pressure, Temperature, etc. may be added to this model, or in other models focusing on particular domains or use cases.
9
10 We include a fairly simple Error model, describing errors as a 'shape' of uncertainty, and define a small set of commonly occurring forms (e.g. Symmetrical, Bounds, Ellipsoid).
11 </description>
12 <uri/>
13 <title>Astronomical Measurements Model</title>
14 <author>Arnold Rots, Mark Cresitello-Dittmar, Omar Laurino</author>
15 <version>2.0</version>
16 <previousVersion>0.x</previousVersion>
17 <lastModified>2021-10-19T11:33:46</lastModified>
18 <import>
19 <name>ivoa</name>
20 <url>https://www.ivoa.net/xml/VODML/IVOA-v1.vo-dml.xml</url>
21 <documentationURL>https://www.ivoa.net/documents/VODML/20180910/IVOA-REC-v1.0.html</documentationURL>
22 </import>
23 <import>
24 <name>coords</name>
25 <url>https://www.ivoa.net/xml/VODML/Coords-v1.vo-dml.xml</url>
26 <documentationURL>https://www.ivoa.net/documents/Coords/index.html</documentationURL>
27 </import>
28 <dataType abstract="true">
29 <vodml-id>Uncertainty</vodml-id>
30 <name>Uncertainty</name>
31 <description>Abstract head of uncertainty types. These classes define the shape of the uncertainty, and are designed to be reusable in different contexts. Uncertainties are designed to be associated with a Coordinate or other object which provides the 'center' or reference location about which the uncertainty resides. In this model, we use them in the context of defining measurement errors, but they are also compatible for use in defining resolutions which are to be modeled at a later date.
32
33 This initial version of the model forms a fundamental basis which can then be expanded to include more complex and varied use cases as they present themselves. The current model assumes Gaussian distributions with shapes defined at the 68% confidence level.
34 </description>
35 </dataType>
36
37 <dataType>
38 <vodml-id>Symmetrical</vodml-id>
39 <name>Symmetrical</name>
40 <description>Symmetrical uncertainty, constant in all dimensions and directions from the associated Coordinate. ie: PlusMinus in 1D, circular in 2D, spherical in 3D.</description>
41 <extends>
42 <vodml-ref>meas:Uncertainty</vodml-ref>
43 </extends>
44 <attribute>
45 <vodml-id>Symmetrical.radius</vodml-id>
46 <name>radius</name>
47 <description>The uncertainty extent, constant in all dimensions and directions.</description>
48 <datatype>
49 <vodml-ref>ivoa:RealQuantity</vodml-ref>
50 </datatype>
51 <multiplicity>
52 <minOccurs>1</minOccurs>
53 <maxOccurs>1</maxOccurs>
54 </multiplicity>
55 </attribute>
56 </dataType>
57
58 <dataType>
59 <vodml-id>Asymmetrical1D</vodml-id>
60 <name>Asymmetrical1D</name>
61 <description>Uncertainty with different extent in the positive and negative directions from the associated Coordinate.</description>
62 <extends>
63 <vodml-ref>meas:Uncertainty</vodml-ref>
64 </extends>
65 <attribute>
66 <vodml-id>Asymmetrical1D.plus</vodml-id>
67 <name>plus</name>
68 <description>Extent in the positive axis direction.</description>
69 <datatype>
70 <vodml-ref>ivoa:RealQuantity</vodml-ref>
71 </datatype>
72 <multiplicity>
73 <minOccurs>1</minOccurs>
74 <maxOccurs>1</maxOccurs>
75 </multiplicity>
76 </attribute>
77 <attribute>
78 <vodml-id>Asymmetrical1D.minus</vodml-id>
79 <name>minus</name>
80 <description>Extent in the negative axis direction.</description>
81 <datatype>
82 <vodml-ref>ivoa:RealQuantity</vodml-ref>
83 </datatype>
84 <multiplicity>
85 <minOccurs>1</minOccurs>
86 <maxOccurs>1</maxOccurs>
87 </multiplicity>
88 </attribute>
89 </dataType>
90
91 <dataType>
92 <vodml-id>Asymmetrical2D</vodml-id>
93 <name>Asymmetrical2D</name>
94 <description>2D Uncertainty with different extent in the positive and negative axis directions from the associated Coordinate. i.e.: an offset rectangle.</description>
95 <extends>
96 <vodml-ref>meas:Uncertainty</vodml-ref>
97 </extends>
98 <attribute>
99 <vodml-id>Asymmetrical2D.plus</vodml-id>
100 <name>plus</name>
101 <description>Extent in each positive axis direction.</description>
102 <datatype>
103 <vodml-ref>ivoa:RealQuantity</vodml-ref>
104 </datatype>
105 <multiplicity>
106 <minOccurs>2</minOccurs>
107 <maxOccurs>2</maxOccurs>
108 </multiplicity>
109 </attribute>
110 <attribute>
111 <vodml-id>Asymmetrical2D.minus</vodml-id>
112 <name>minus</name>
113 <description>Extent in each negative axis direction.</description>
114 <datatype>
115 <vodml-ref>ivoa:RealQuantity</vodml-ref>
116 </datatype>
117 <multiplicity>
118 <minOccurs>2</minOccurs>
119 <maxOccurs>2</maxOccurs>
120 </multiplicity>
121 </attribute>
122 </dataType>
123
124 <dataType>
125 <vodml-id>Asymmetrical3D</vodml-id>
126 <name>Asymmetrical3D</name>
127 <description>3D Uncertainty with different extent in the positive and negative axis directions from the associated Coordinate. i.e.: an offset box.</description>
128 <extends>
129 <vodml-ref>meas:Uncertainty</vodml-ref>
130 </extends>
131 <attribute>
132 <vodml-id>Asymmetrical3D.plus</vodml-id>
133 <name>plus</name>
134 <description>Extent in each positive axis direction.</description>
135 <datatype>
136 <vodml-ref>ivoa:RealQuantity</vodml-ref>
137 </datatype>
138 <multiplicity>
139 <minOccurs>3</minOccurs>
140 <maxOccurs>3</maxOccurs>
141 </multiplicity>
142 </attribute>
143 <attribute>
144 <vodml-id>Asymmetrical3D.minus</vodml-id>
145 <name>minus</name>
146 <description>Extent in each negative axis direction.</description>
147 <datatype>
148 <vodml-ref>ivoa:RealQuantity</vodml-ref>
149 </datatype>
150 <multiplicity>
151 <minOccurs>3</minOccurs>
152 <maxOccurs>3</maxOccurs>
153 </multiplicity>
154 </attribute>
155 </dataType>
156
157 <dataType>
158 <vodml-id>Bounds1D</vodml-id>
159 <name>Bounds1D</name>
160 <description>Provide the edges of the uncertainty space. Rather than being relative to the associated Coordinate, these represent a range within that Coordinate space.</description>
161 <extends>
162 <vodml-ref>meas:Uncertainty</vodml-ref>
163 </extends>
164 <attribute>
165 <vodml-id>Bounds1D.loLimit</vodml-id>
166 <name>loLimit</name>
167 <description>Lower limit of the uncertainty range.</description>
168 <datatype>
169 <vodml-ref>ivoa:RealQuantity</vodml-ref>
170 </datatype>
171 <multiplicity>
172 <minOccurs>1</minOccurs>
173 <maxOccurs>1</maxOccurs>
174 </multiplicity>
175 </attribute>
176 <attribute>
177 <vodml-id>Bounds1D.hiLimit</vodml-id>
178 <name>hiLimit</name>
179 <description>Upper limit of the uncertainty range.</description>
180 <datatype>
181 <vodml-ref>ivoa:RealQuantity</vodml-ref>
182 </datatype>
183 <multiplicity>
184 <minOccurs>1</minOccurs>
185 <maxOccurs>1</maxOccurs>
186 </multiplicity>
187 </attribute>
188 </dataType>
189
190 <dataType>
191 <vodml-id>Bounds2D</vodml-id>
192 <name>Bounds2D</name>
193 <description>Provide the edges of a 2D uncertainty space. Rather than being relative to the associated Coordinate, these represent ranges along each axis of that Coordinate space.</description>
194 <extends>
195 <vodml-ref>meas:Uncertainty</vodml-ref>
196 </extends>
197 <attribute>
198 <vodml-id>Bounds2D.loLimit</vodml-id>
199 <name>loLimit</name>
200 <description>Lower edges of the uncertainty rectangle.</description>
201 <datatype>
202 <vodml-ref>ivoa:RealQuantity</vodml-ref>
203 </datatype>
204 <multiplicity>
205 <minOccurs>2</minOccurs>
206 <maxOccurs>2</maxOccurs>
207 </multiplicity>
208 </attribute>
209 <attribute>
210 <vodml-id>Bounds2D.hiLimit</vodml-id>
211 <name>hiLimit</name>
212 <description>Upper edges of the uncertainty rectangle.</description>
213 <datatype>
214 <vodml-ref>ivoa:RealQuantity</vodml-ref>
215 </datatype>
216 <multiplicity>
217 <minOccurs>2</minOccurs>
218 <maxOccurs>2</maxOccurs>
219 </multiplicity>
220 </attribute>
221 </dataType>
222
223 <dataType>
224 <vodml-id>Bounds3D</vodml-id>
225 <name>Bounds3D</name>
226 <description>Provide the edges of a 3D uncertainty space. Rather than being relative to the associated Coordinate, these represent ranges along each axis of that Coordinate space.</description>
227 <extends>
228 <vodml-ref>meas:Uncertainty</vodml-ref>
229 </extends>
230 <attribute>
231 <vodml-id>Bounds3D.loLimit</vodml-id>
232 <name>loLimit</name>
233 <description>Lower edges of the uncertainty box.</description>
234 <datatype>
235 <vodml-ref>ivoa:RealQuantity</vodml-ref>
236 </datatype>
237 <multiplicity>
238 <minOccurs>3</minOccurs>
239 <maxOccurs>3</maxOccurs>
240 </multiplicity>
241 </attribute>
242 <attribute>
243 <vodml-id>Bounds3D.hiLimit</vodml-id>
244 <name>hiLimit</name>
245 <description>Upper edges of the uncertainty box.</description>
246 <datatype>
247 <vodml-ref>ivoa:RealQuantity</vodml-ref>
248 </datatype>
249 <multiplicity>
250 <minOccurs>3</minOccurs>
251 <maxOccurs>3</maxOccurs>
252 </multiplicity>
253 </attribute>
254 </dataType>
255
256 <dataType>
257 <vodml-id>Ellipse</vodml-id>
258 <name>Ellipse</name>
259 <description>Elliptical uncertainty shape.</description>
260 <extends>
261 <vodml-ref>meas:Uncertainty</vodml-ref>
262 </extends>
263 <attribute>
264 <vodml-id>Ellipse.semiAxis</vodml-id>
265 <name>semiAxis</name>
266 <description>Extent of the semi-major and semi-minor axes, provided in the order of the associated Coordinate axes.</description>
267 <datatype>
268 <vodml-ref>ivoa:RealQuantity</vodml-ref>
269 </datatype>
270 <multiplicity>
271 <minOccurs>2</minOccurs>
272 <maxOccurs>2</maxOccurs>
273 </multiplicity>
274 </attribute>
275 <attribute>
276 <vodml-id>Ellipse.posAngle</vodml-id>
277 <name>posAngle</name>
278 <description>Position angle, counter-clockwise from the positive direction of the first axis of the associated Coordinate. When used in the spatial domain, the expectation is that the 'first axis' corresponds to the 'North Celestial Pole', and the second to 'East', thereby conforming to the IAU definition of the position angle direction being 'East of North'.
279 </description>
280 <datatype>
281 <vodml-ref>ivoa:RealQuantity</vodml-ref>
282 </datatype>
283 <multiplicity>
284 <minOccurs>1</minOccurs>
285 <maxOccurs>1</maxOccurs>
286 </multiplicity>
287 </attribute>
288 </dataType>
289
290 <dataType>
291 <vodml-id>Ellipsoid</vodml-id>
292 <name>Ellipsoid</name>
293 <description>Ellipsoidal uncertainty shape.</description>
294 <extends>
295 <vodml-ref>meas:Uncertainty</vodml-ref>
296 </extends>
297 <attribute>
298 <vodml-id>Ellipsoid.semiAxis</vodml-id>
299 <name>semiAxis</name>
300 <description>Extent of the semi axes, provided in the order of the associated Coordinate axes.</description>
301 <datatype>
302 <vodml-ref>ivoa:RealQuantity</vodml-ref>
303 </datatype>
304 <multiplicity>
305 <minOccurs>3</minOccurs>
306 <maxOccurs>3</maxOccurs>
307 </multiplicity>
308 </attribute>
309 <attribute>
310 <vodml-id>Ellipsoid.posAngle</vodml-id>
311 <name>posAngle</name>
312 <description>Position angles
313 * counter-clockwise from the positive direction of the first axis toward the second axis
314 * angle 'above' the plane of the first two axes of the associated Coordinate.
315 When used in the spatial domain, the expectation is that the 'first axis' corresponds to the 'North Celestial Pole', and the second to 'East', thereby conforming to the IAU definition of the position angle direction being 'East of North'.</description>
316 <datatype>
317 <vodml-ref>ivoa:RealQuantity</vodml-ref>
318 </datatype>
319 <multiplicity>
320 <minOccurs>2</minOccurs>
321 <maxOccurs>2</maxOccurs>
322 </multiplicity>
323 </attribute>
324 </dataType>
325
326 <objectType abstract="true">
327 <vodml-id>Measure</vodml-id>
328 <name>Measure</name>
329 <description>Abstract base of Measure classes, associates a 'determined value' (Coordinate) with corresponding errors.
330
331 The breadth of astronomical data makes it impractical to define specialized classes for each property which may be measured or determined. In this model, we take a two-pronged approach for identifying the nature of any given Measure. First, we allow the use of a Unified Content Descriptor (UCD) to convey this information. Second, we define specialized classes for properties which either have additional metadata associated with them, have complex coordinate spaces, and/or have special significance in other models. For these specialized classes, the ucd is constrained to a fixed value.
332
333 We associate the Error(s) with the full Measure, rather than the individual values, in order to support both correlated and uncorrelated errors. In many cases with multi-dimensional data, the associated errors are correlated and must be considered with the value set as a whole. One consequence of this approach is that there is a looser association between the Error dimensions and the corresponding value dimension. We require that the Error content MUST be compatible with the value dimension and nature (e.g. dimension, domain, units, etc).
334
335 </description>
336 <attribute>
337 <vodml-id>Measure.ucd</vodml-id>
338 <name>ucd</name>
339 <description>The Unified Content Descriptor (UCD) defines a controlled vocabulary for describing astronomical quantities. Other than in the specialized types, we only constrain ucd value to being valid according to the vocabulary syntax. However, the intent is to use only enough of the vocabulary to convey the nature of the measured value, and avoid usage of terms which may overlap with modeled concepts associated with the value. For example, borrowing from examples in the UCD document: for a magnitude measured in the J band, the ucd "phot.mag" is preferred over "phot.mag;em.IR.J" which conveys information about an associated filter, or "phot.mag;em.IR.J;meta.modelled" which includes ancillary qualifiers.</description>
340 <datatype>
341 <vodml-ref>ivoa:string</vodml-ref>
342 </datatype>
343 <multiplicity>
344 <minOccurs>0</minOccurs>
345 <maxOccurs>1</maxOccurs>
346 </multiplicity>
347 </attribute>
348 <composition>
349 <vodml-id>Measure.error</vodml-id>
350 <name>error</name>
351 <description>Measurement error.</description>
352 <datatype>
353 <vodml-ref>meas:Error</vodml-ref>
354 </datatype>
355 <multiplicity>
356 <minOccurs>0</minOccurs>
357 <maxOccurs>1</maxOccurs>
358 </multiplicity>
359 </composition>
360 </objectType>
361
362 <objectType>
363 <vodml-id>Error</vodml-id>
364 <name>Error</name>
365 <description>The Error class uses the Uncertainty types to describe measurement errors from various sources.</description>
366 <attribute>
367 <vodml-id>Error.statError</vodml-id>
368 <name>statError</name>
369 <description>Statistical error. The Uncertainty type MUST be dimensionally compatible with the associated Measure value.</description>
370 <datatype>
371 <vodml-ref>meas:Uncertainty</vodml-ref>
372 </datatype>
373 <multiplicity>
374 <minOccurs>0</minOccurs>
375 <maxOccurs>1</maxOccurs>
376 </multiplicity>
377 </attribute>
378 <attribute>
379 <vodml-id>Error.sysError</vodml-id>
380 <name>sysError</name>
381 <description>Systematic error. The Uncertainty type MUST be dimensionally compatible with the associated Measure value.</description>
382 <datatype>
383 <vodml-ref>meas:Uncertainty</vodml-ref>
384 </datatype>
385 <multiplicity>
386 <minOccurs>0</minOccurs>
387 <maxOccurs>1</maxOccurs>
388 </multiplicity>
389 </attribute>
390 </objectType>
391
392 <objectType>
393 <vodml-id>GenericMeasure</vodml-id>
394 <name>GenericMeasure</name>
395 <description>The most generic Measure class. This class may be used to represent data not covered by the specialized cases.</description>
396 <extends>
397 <vodml-ref>meas:Measure</vodml-ref>
398 </extends>
399 <attribute>
400 <vodml-id>GenericMeasure.coord</vodml-id>
401 <name>coord</name>
402 <description>The measured coordinate value.</description>
403 <datatype>
404 <vodml-ref>coords:PhysicalCoordinate</vodml-ref>
405 </datatype>
406 <multiplicity>
407 <minOccurs>1</minOccurs>
408 <maxOccurs>1</maxOccurs>
409 </multiplicity>
410 </attribute>
411 </objectType>
412
413 <objectType>
414 <vodml-id>Position</vodml-id>
415 <name>Position</name>
416 <description>Provides a complete description of a measured positional instant.</description>
417 <extends>
418 <vodml-ref>meas:Measure</vodml-ref>
419 </extends>
420 <constraint>
421 <description>ucd:'pos'</description>
422 </constraint>
423 <attribute>
424 <vodml-id>Position.coord</vodml-id>
425 <name>coord</name>
426 <description>The measured Position value. The Point coordinate supports 1,2, and 3-dimensional cases. Details of the coordinate system (space and frame), are associated with the Point.</description>
427 <datatype>
428 <vodml-ref>coords:Point</vodml-ref>
429 </datatype>
430 <multiplicity>
431 <minOccurs>1</minOccurs>
432 <maxOccurs>1</maxOccurs>
433 </multiplicity>
434 </attribute>
435 </objectType>
436
437 <objectType>
438 <vodml-id>Time</vodml-id>
439 <name>Time</name>
440 <description>Provides a complete description of a measured Temporal instant.</description>
441 <extends>
442 <vodml-ref>meas:Measure</vodml-ref>
443 </extends>
444 <constraint>
445 <description>ucd:'time'</description>
446 </constraint>
447 <attribute>
448 <vodml-id>Time.coord</vodml-id>
449 <name>coord</name>
450 <description>The measured time value. May be provided in any of the TimeStamp subtypes.</description>
451 <datatype>
452 <vodml-ref>coords:TimeStamp</vodml-ref>
453 </datatype>
454 <multiplicity>
455 <minOccurs>1</minOccurs>
456 <maxOccurs>1</maxOccurs>
457 </multiplicity>
458 </attribute>
459 </objectType>
460
461 <objectType>
462 <vodml-id>Polarization</vodml-id>
463 <name>Polarization</name>
464 <description>Provides a complete description of a determined polarization state. Since the polarization coordinate is an enumerated type, there can be no associated numerical error sources.</description>
465 <extends>
466 <vodml-ref>meas:Measure</vodml-ref>
467 </extends>
468 <constraint>
469 <description>error:Error[0]</description>
470 </constraint>
471 <constraint>
472 <description>ucd:'phys.polarization'</description>
473 </constraint>
474 <attribute>
475 <vodml-id>Polarization.coord</vodml-id>
476 <name>coord</name>
477 <description>Determined polarization state. May be provided by any of the PolCoordValue subtypes.</description>
478 <datatype>
479 <vodml-ref>coords:PolCoordinate</vodml-ref>
480 </datatype>
481 <multiplicity>
482 <minOccurs>1</minOccurs>
483 <maxOccurs>1</maxOccurs>
484 </multiplicity>
485 </attribute>
486 </objectType>
487
488 <objectType>
489 <vodml-id>Velocity</vodml-id>
490 <name>Velocity</name>
491 <description>Provides a comple description of a measured Velocity instant.</description>
492 <extends>
493 <vodml-ref>meas:Measure</vodml-ref>
494 </extends>
495 <constraint>
496 <description>ucd:'phys.veloc'</description>
497 </constraint>
498 <attribute>
499 <vodml-id>Velocity.coord</vodml-id>
500 <name>coord</name>
501 <description>The measured Velocity value. The Point coordinate supports 1,2, and 3-dimensional cases. Details of the coordinate system (space and frame), are associated with the Point.</description>
502 <datatype>
503 <vodml-ref>coords:Point</vodml-ref>
504 </datatype>
505 <multiplicity>
506 <minOccurs>1</minOccurs>
507 <maxOccurs>1</maxOccurs>
508 </multiplicity>
509 </attribute>
510 </objectType>
511
512 <objectType>
513 <vodml-id>ProperMotion</vodml-id>
514 <name>ProperMotion</name>
515 <description>Proper motion represented as the velocity in Longitude and Latitude directions of a spherical coordinate space. The associated SpaceFrame provides the details regarding the nature of the coordinate space (eg: Equatorial, Galactic, etc).</description>
516 <extends>
517 <vodml-ref>meas:Measure</vodml-ref>
518 </extends>
519 <constraint>
520 <description>ucd:'pos.pm'</description>
521 </constraint>
522 <attribute>
523 <vodml-id>ProperMotion.coord</vodml-id>
524 <name>coord</name>
525 <description>Velocity in angular distance per unit time. We use the Point type for the proper motion value to be consistent with the Position and Velocity types, allowing representation in different coordinate spaces (eg: Polar).
526 </description>
527 <datatype>
528 <vodml-ref>coords:Point</vodml-ref>
529 </datatype>
530 <multiplicity>
531 <minOccurs>1</minOccurs>
532 <maxOccurs>1</maxOccurs>
533 </multiplicity>
534 </attribute>
535 <attribute>
536 <vodml-id>ProperMotion.cosLat_applied</vodml-id>
537 <name>cosLat_applied</name>
538 <description>It is common, though not universal, practice to quote longitudinal proper motion pre-multiplied by cos(latitude) so that the magnitude of the quantity is not affected by its longitudinal position. We do not constrain the value to one form or the other in this model. Instead, this flag enables providers to convey whether or not the factor has been applied.</description>
539 <datatype>
540 <vodml-ref>ivoa:boolean</vodml-ref>
541 </datatype>
542 <multiplicity>
543 <minOccurs>0</minOccurs>
544 <maxOccurs>1</maxOccurs>
545 </multiplicity>
546 </attribute>
547 </objectType>
548
549 </vo-dml:model>