| 1 |
<resource schema="__system"> |
| 2 |
<meta name="description">Various RD elements for publication and |
| 3 |
manipulation of Echelle spectra. |
| 4 |
|
| 5 |
Very briefly, Echelle spectra come in single-order varieties or joined. |
| 6 |
The joined spectra can be dealt with using just what's in //ssap. It's |
| 7 |
the split-order varieties we're talking about here. |
| 8 |
|
| 9 |
The recommended way to deal with them is to pull all measurements into |
| 10 |
database tables and generate VOTables containing the requested orders |
| 11 |
on the fly. You'll still need SSA-like tables for them, but with |
| 12 |
some additional columns. |
| 13 |
</meta> |
| 14 |
|
| 15 |
<STREAM id="ssacols"> |
| 16 |
<doc> |
| 17 |
Additional columns for SSA metadata tables describing Echelle |
| 18 |
spectra. |
| 19 |
</doc> |
| 20 |
<column name="n_orders" type="integer" |
| 21 |
ucd="meta.number" |
| 22 |
tablehead="#Orders" |
| 23 |
description="Number of orders in the spectrum." |
| 24 |
verbLevel="15"> |
| 25 |
<values nullLiteral="-1"/> |
| 26 |
</column> |
| 27 |
<column name="order_min" type="integer" |
| 28 |
ucd="instr.order;stat.min" |
| 29 |
tablehead="Min. Order" |
| 30 |
description="Minimal Echelle order in the spectrum." |
| 31 |
verbLevel="15"> |
| 32 |
<values nullLiteral="-1"/> |
| 33 |
</column> |
| 34 |
<column name="order_max" type="integer" |
| 35 |
ucd="instr.order;stat.max" |
| 36 |
tablehead="Max. Order" |
| 37 |
description="Maximal Echelle order in the spectrum." |
| 38 |
verbLevel="15"> |
| 39 |
<values nullLiteral="-1"/> |
| 40 |
</column> |
| 41 |
</STREAM> |
| 42 |
|
| 43 |
<procDef id="setSSAMeta" type="apply"> |
| 44 |
<doc> |
| 45 |
A rowmaker apply to fill the columns inserted with //echelle#ssacols. |
| 46 |
</doc> |
| 47 |
<setup> |
| 48 |
<par name="n_orders" description="Number of orders in the spectrum" |
| 49 |
late="True"/> |
| 50 |
<par name="order_min" late="True" |
| 51 |
description="First Echelle order in the spectrum"/> |
| 52 |
<par name="order_max" late="True" |
| 53 |
description="Last Echelle order in the spectrum"/> |
| 54 |
</setup> |
| 55 |
<code> |
| 56 |
result["n_orders"] = n_orders |
| 57 |
result["order_min"] = order_min |
| 58 |
result["order_max"] = order_max |
| 59 |
</code> |
| 60 |
</procDef> |
| 61 |
</resource> |