| 1 |
<resource resdir="__system" schema="dc"> |
| 2 |
<meta name="creationDeate">2020-07-23T14:00:00</meta> |
| 3 |
<meta name="description">Table structures and other RD material |
| 4 |
for serialising time series.</meta> |
| 5 |
|
| 6 |
<mixinDef id="phot-0"> |
| 7 |
<doc> |
| 8 |
*Warning:* The specs here are strongly in flux. The interface here |
| 9 |
is quite likely to change. If you use this mixin, please tell |
| 10 |
[email protected] so we can inform you of incompatible |
| 11 |
changes, and make sure you have robust regression tests in place. |
| 12 |
|
| 13 |
A mixin for a simple photometric time series. Mix this in to |
| 14 |
get columns obs_time and phot, properly declared for |
| 15 |
the `2020 time series note`_. |
| 16 |
|
| 17 |
Parameters marked with “SIL literal” can take a C-style token, a |
| 18 |
quoted string, or a reference to a column or param, where the name is |
| 19 |
prefixed by an @. |
| 20 |
|
| 21 |
.. _2020 time series note: http://ivoa.net/documents/Notes/LightCurveTimeSeries/ |
| 22 |
</doc> |
| 23 |
|
| 24 |
<mixinPar key="timescale" description="Time scale of the time coordinate. |
| 25 |
Choose a value from http://www.ivoa.net/rdf/timescale (SIL literal)"/> |
| 26 |
<mixinPar key="refposition" description="Reference position for the time |
| 27 |
coordinate. Choose a value from http://www.ivoa.net/rdf/refposition |
| 28 |
(SIL literal)."/> |
| 29 |
<mixinPar key="time0" description="JD of the epoch (“day 0”) of the time |
| 30 |
coordinate; this is 0 for JD itself, 2400000.5 for MJD (SIL literal)."/> |
| 31 |
|
| 32 |
<mixinPar key="refframe" description="Frame of coordinates you may be |
| 33 |
giving (SIL literal).">__NULL__</mixinPar> |
| 34 |
<mixinPar key="pos_epoch" description="Epoch you give the position for |
| 35 |
(SIL literal).">__NULL__</mixinPar> |
| 36 |
<mixinPar key="longitude" description="Longitude/RA of the position |
| 37 |
(SIL literal; you have to define params/columns yourself if you |
| 38 |
want to reference something here).">__NULL__</mixinPar> |
| 39 |
<mixinPar key="latitude" description="Latitude/Dec of the position |
| 40 |
(SIL literal; you have to define params/columns yourself if you want |
| 41 |
to reference something here).">__NULL__</mixinPar> |
| 42 |
|
| 43 |
<mixinPar key="independent_axes" description="Axes that describe the |
| 44 |
time (only change if you define ones in addition to the obs_time |
| 45 |
provided by the mixin; SIL literal)">[@obs_time]</mixinPar> |
| 46 |
<mixinPar key="dependent_axes" description="Axes with values varying |
| 47 |
with time (only change if you define ones in addition to phot provided |
| 48 |
by the mixin; SIL literal)">[@phot]</mixinPar> |
| 49 |
|
| 50 |
<mixinPar key="filterIdentifier" description="Identifier for the |
| 51 |
passband the photometry is for (as defined by the Note). This is a |
| 52 |
SIL literal, and since it will probably contain characters like '/', |
| 53 |
will likely have to quote it as in |
| 54 |
``filterIdentifier='"Gaia/G"'``."/> |
| 55 |
<mixinPar key="zeroPointFlux" description="Flux at the given zero point, |
| 56 |
in Jy; SIL literal).">__NULL__</mixinPar> |
| 57 |
<mixinPar key="magnitudeSystem" description="Magnitude system used: Vega, |
| 58 |
AB,... (SIL literal)">__NULL__</mixinPar> |
| 59 |
<mixinPar key="effectiveWavelength" description="Central wavelength |
| 60 |
(or similar measure) for the passband used for the photometry, in |
| 61 |
meters (SIL literal)"/> |
| 62 |
|
| 63 |
<mixinPar key="time_description" description="Description |
| 64 |
of the time coordinate. We assume it's in days; if you have something |
| 65 |
else, override the obs_time coordinate as described in `mixins`_." |
| 66 |
>Time</mixinPar> |
| 67 |
<mixinPar key="phot_description" description="Description |
| 68 |
of the photometric coordinate." |
| 69 |
>Flux</mixinPar> |
| 70 |
<mixinPar key="phot_unit" description="Unit of the photometric |
| 71 |
coordinate; something like mag, Jy, 1e-20 W/(Hz.m**2)."/> |
| 72 |
<mixinPar key="phot_ucd" description="UCD of the photometric |
| 73 |
coordinate; something like phot.mag;em.opt.V or |
| 74 |
phot.flux;em.x-ray.hard"/> |
| 75 |
|
| 76 |
<events> |
| 77 |
<dm> |
| 78 |
(votable:Coords) { |
| 79 |
time: (votable:TimeCoordinate) { |
| 80 |
frame: |
| 81 |
(votable:TimeFrame) { |
| 82 |
timescale: \timescale |
| 83 |
refPosition: \refposition |
| 84 |
time0: \time0 } |
| 85 |
location: @obs_time |
| 86 |
} |
| 87 |
space: |
| 88 |
(votable:SphericalCoordinate) { |
| 89 |
frame: (votable:SpaceFrame) { |
| 90 |
orientation: \refframe |
| 91 |
epoch: \pos_epoch } |
| 92 |
longitude: \longitude |
| 93 |
latitude: \latitude |
| 94 |
} |
| 95 |
} |
| 96 |
</dm> |
| 97 |
|
| 98 |
<dm> |
| 99 |
(ndcube:Cube) { |
| 100 |
independent_axes: \independent_axes |
| 101 |
dependent_axes: \dependent_axes |
| 102 |
} |
| 103 |
</dm> |
| 104 |
|
| 105 |
<dm> |
| 106 |
(phot:PhotCal) { |
| 107 |
filterIdentifier: \filterIdentifier |
| 108 |
zeroPointFlux: \zeroPointFlux |
| 109 |
magnitudeSystem: \magnitudeSystem |
| 110 |
effectiveWavelength: \effectiveWavelength |
| 111 |
value: @phot |
| 112 |
} |
| 113 |
</dm> |
| 114 |
|
| 115 |
<param name="dataproduct_type" type="text" |
| 116 |
ucd="meta.code.class" |
| 117 |
utype="obscore:ObsDataset.dataProductType">timeseries</param> |
| 118 |
<param name="dataproduct_subtype" type="text" |
| 119 |
ucd="meta.code.class" |
| 120 |
utype="obscore:ObsDataset.dataProductSubtype">lightcurve</param> |
| 121 |
|
| 122 |
<column name="obs_time" type="double precision" |
| 123 |
unit="d" ucd="time.epoch" |
| 124 |
tablehead="Time" |
| 125 |
description="\time_description"/> |
| 126 |
<column name="phot" type="double precision" |
| 127 |
unit="\phot_unit" ucd="\phot_ucd" |
| 128 |
tablehead="Phot" |
| 129 |
description="\phot_description"/> |
| 130 |
</events> |
| 131 |
|
| 132 |
</mixinDef> |
| 133 |
</resource> |