File: node12.html

package info (click to toggle)
gcx 0.9.8-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 5,052 kB
  • ctags: 3,446
  • sloc: ansic: 37,409; sh: 3,059; perl: 1,453; makefile: 162
file content (304 lines) | stat: -rw-r--r-- 11,109 bytes parent folder | download | duplicates (2)
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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<!--Converted with LaTeX2HTML 2002-2-1 (1.71)
original version by:  Nikos Drakos, CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>Native Star Files</TITLE>
<META NAME="description" CONTENT="Native Star Files">
<META NAME="keywords" CONTENT="gcx">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="gcx.css">

<LINK REL="next" HREF="node13.html">
<LINK REL="previous" HREF="node11.html">
<LINK REL="up" HREF="gcx.html">
<LINK REL="next" HREF="node13.html">
</HEAD>

<BODY >

<DIV CLASS="navigation"><!--Navigation Panel-->
<A NAME="tex2html706"
  HREF="node13.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="/usr/share/latex2html/icons/next.png"></A> 
<A NAME="tex2html702"
  HREF="gcx.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="/usr/share/latex2html/icons/up.png"></A> 
<A NAME="tex2html696"
  HREF="node11.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="/usr/share/latex2html/icons/prev.png"></A> 
<A NAME="tex2html704"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 SRC="/usr/share/latex2html/icons/contents.png"></A>  
<BR>
<B> Next:</B> <A NAME="tex2html707"
  HREF="node13.html">Command Line Options</A>
<B> Up:</B> <A NAME="tex2html703"
  HREF="gcx.html">GCX User's Manual</A>
<B> Previous:</B> <A NAME="tex2html697"
  HREF="node11.html">Robust Averaging</A>
 &nbsp; <B>  <A NAME="tex2html705"
  HREF="node1.html">Contents</A></B> 
<BR>
<BR></DIV>
<!--End of Navigation Panel-->

<H1><A NAME="SECTION001200000000000000000"></A><A NAME="ap:format"></A>
<BR>
Native Star Files
</H1>

<P>
The file format used by <SMALL>GCX </SMALL>for star catalogs, recipies and
observation reports consists of lists of token-value pairs. 
Each list is enclosed in brackets. The value part of each 
pair can be a number, a string (enclosed in double quotes) or 
another list. The order of the pairs within the list is not important.

<P>
A file can contain several top-level lists. Each such list is called 
a ``frame''. A typical recipe frame looks like:
<PRE>
( recipe ( object "aucyg" ra "20:18:32.76" dec "34:23:21.3" 
    equinox 2000 comments "generated from tycho2" ) 
  sequence "tycho2" 
  stars (

    (name "2680-1551" type std mag 7.48
    ra "20:17:54.500" dec "34:05:25.22" perr 0.0071
    comments "p=T "
    smags "v=7.344/0.020 b=8.654/0.020 vt=7.483/0.011 bt=9.024/0.017"
    flags ( astrom ) ) 

    (name "2680-1588" type std mag 7.79
    ra "20:16:56.755" dec "34:08:22.86" perr 0.0057
    comments "p=T "
    smags "v=7.795/0.020 b=7.745/0.020 vt=7.790/0.011 bt=7.731/0.015"
    flags ( astrom ) ) 

    (name "aucyg" type target mag 9.5
    ra "20:18:32.76" dec "34:23:21.3" 
    comments "p=V t=M s=M6e-M7e m(p)=9.50/15.30"
    flags ( var ) ) ) 
  )
</PRE>
An observation report frame can look like:
<PRE>
( observation ( filter "b" object "aucyg" ra "20:18:39.31" 
    dec "34:23:05.6" equinox 2000 mjd 53236.9839856 
    telescope "SCT" aperture 30 exptime 20 sns_temp 238.3 
    latitude "44:25:50.0" longitude "-26:06:50.0" 
    altitude 75 airmass 1.223 observer "R. Corlan" ) 
  noise ( read 7 eladu 2 flat 0 ) 
  ap_par ( r1 5 r2 9 r3 13 sky_method "synthetic_mode" ) 
    (name "AU_CYG_39" type std mag 12.1
    ra "20:17:47.15" dec "34:32:01.4" 
    smags "v=12.062/-0.001 b-v=1.982/-0.002 b=14.044/0.002"
    imags "b=-7.256/0.167"
    residual -0.209 stderr 1.25 
    noise (photon 0.13 sky 0.074 read 0.075 scint 0.0021)
    centroid (x 876.89 y 385.24 xerr 0.0085 yerr 0.0065 dx -0.18 dy -0.15)
    flags ( astrom centered ) ) 

    (name "AU_CYG_10" type std mag 13
    ra "20:17:44.52" dec "34:21:00.0" 
    smags "v=12.961/-0.001 b-v=0.765/-0.001 b=13.726/0.001"
    imags "b=-7.991/0.089"
    residual 0.208 stderr 2.33 
    noise (photon 0.066 sky 0.038 read 0.038 scint 0.0021)
    centroid (x 569.61 y 331.56 xerr 0.002 yerr 0.0017 dx 0.19 dy -0.17)
    flags ( astrom centered ) ) 

    (name "aucyg" type target mag 9.5
    ra "20:18:32.76" dec "34:23:21.3" 
    comments "p=V t=M s=M6e-M7e m(p)=9.50/15.30"
    smags "b=12.642/0.085"
    imags "b=-8.867/0.042"
    centroid (x 782.90 y 615.40 xerr 0.0079 yerr 0.0064 dx 0.17 dy 0.07)
    noise (photon 0.031 sky 0.017 read 0.017 scint 0.0021)
    flags ( var centered ) ) ) 
  transform ( band "b" zp 21.509 zperr 0.074 zpme1 1.29 ) )
</PRE>
A typical catalog frame would be:
<PRE>
( catalog (comments "Internal catalog output")
    stars (
      ( name "piuma" type catalog ra "08:39:11.70" dec "65:01:15.0"
        flags ( var ) )
      ( name "lpup" type catalog ra "07:13:31.90" dec "-44:38:39.0"
        flags ( var ) )
      ( name "piori" type catalog ra "04:54:15.10" dec "02:26:26.4"
        flags ( var ) ) ) )
</PRE>

<P>
All three forms of the star file have in common the top-level token <TT>  stars</TT> which is followed by the list of all stars within the frame. 
Each star is also represented by a list, having some of the following
  tokens:
<TABLE CELLPADDING=3>
<TR><TD ALIGN="LEFT">name</TD>
<TD ALIGN="LEFT">string</TD>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=227>The name of the star;</TD>
</TR>
<TR><TD ALIGN="LEFT">type</TD>
<TD ALIGN="LEFT">symbol</TD>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=227>The type of the star: <TT>std</TT> for standards, 
<TT>target</TT> for targets, <TT>catalog</TT> far catalog objects and 
<TT>field</TT> for field stars;</TD>
</TR>
<TR><TD ALIGN="LEFT">ra</TD>
<TD ALIGN="LEFT">string</TD>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=227>Right ascension in HMS format;</TD>
</TR>
<TR><TD ALIGN="LEFT">dec</TD>
<TD ALIGN="LEFT">string</TD>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=227>Declination in DMS format;</TD>
</TR>
<TR><TD ALIGN="LEFT">perr</TD>
<TD ALIGN="LEFT">number</TD>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=227>Position error in arc seconds;</TD>
</TR>
<TR><TD ALIGN="LEFT">equinox</TD>
<TD ALIGN="LEFT">number</TD>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=227>Equinox of coordinates;</TD>
</TR>
<TR><TD ALIGN="LEFT">mag</TD>
<TD ALIGN="LEFT">number</TD>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=227>Generic magnitude of the star, used for display 
purposes only;</TD>
</TR>
<TR><TD ALIGN="LEFT">smags</TD>
<TD ALIGN="LEFT">string</TD>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=227>A string describing the standard magnitudes of the star
and their errors. See Section&nbsp;<A HREF="node8.html#sec:recipe">7.7</A> for the format;</TD>
</TR>
<TR><TD ALIGN="LEFT">imags</TD>
<TD ALIGN="LEFT">string</TD>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=227>A string describing the instrumental magnitudes of the star
and their errors;</TD>
</TR>
<TR><TD ALIGN="LEFT">centroid</TD>
<TD ALIGN="LEFT">list</TD>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=227>A list containing positional information. <TT>x</TT> and
<TT>y</TT> are frame coordinates of the star's centroid. <TT>xerr</TT> amd
<TT>yerr</TT> are the estimated position errors calculated by the
centroiding code. <TT>dx</TT> and <TT>dy</TT> are the amounts by which the
star's centroid is shifted from the catalog position;</TD>
</TR>
<TR><TD ALIGN="LEFT">noise</TD>
<TD ALIGN="LEFT">list</TD>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=227>A list of components of the star's instrumental noise
model;</TD>
</TR>
<TR><TD ALIGN="LEFT">residual</TD>
<TD ALIGN="LEFT">number</TD>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=227>The residual of the star after the zeropoint fit;</TD>
</TR>
<TR><TD ALIGN="LEFT">stderr</TD>
<TD ALIGN="LEFT">number</TD>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=227>The standard error (scaled residual) of the star after the zeropoint fit;</TD>
</TR>
<TR><TD ALIGN="LEFT">flags</TD>
<TD ALIGN="LEFT">list</TD>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=227>A list of reduction flags.</TD>
</TR>
</TABLE>

<P>
Some top-level tokens of the star files are:
<TABLE CELLPADDING=3>
<TR><TD ALIGN="LEFT">stars</TD>
<TD ALIGN="LEFT">list</TD>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=227>List of stars in the frame;</TD>
</TR>
<TR><TD ALIGN="LEFT">recipe</TD>
<TD ALIGN="LEFT">list</TD>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=227>A list of recipe parameters. Most important are the target
  object and field center coordinates;</TD>
</TR>
<TR><TD ALIGN="LEFT">observation</TD>
<TD ALIGN="LEFT">list</TD>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=227>Parameters of the ccd frame from which the data was
  obtained. See Section&nbsp;<A HREF="node8.html#sec:annotations">7.5</A> for more details;</TD>
</TR>
<TR><TD ALIGN="LEFT">catalog</TD>
<TD ALIGN="LEFT">list</TD>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=227>Identifies the frame as a catalog frame. The most
  important token in this list is <TT>comments</TT>;</TD>
</TR>
<TR><TD ALIGN="LEFT">sequence</TD>
<TD ALIGN="LEFT">string</TD>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=227>The source of the standard magnitudes in the star
  list;</TD>
</TR>
<TR><TD ALIGN="LEFT">noise</TD>
<TD ALIGN="LEFT">list</TD>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=227>A list of parameters of the CCD noise model used to
  calculate instrumental errors;</TD>
</TR>
<TR><TD ALIGN="LEFT">ap_par</TD>
<TD ALIGN="LEFT">list</TD>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=227>Parameters used by the aperture photometry routine
  (aperture sizes and sky estimation method);</TD>
</TR>
<TR><TD ALIGN="LEFT">transform</TD>
<TD ALIGN="LEFT">list</TD>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=227>transformation coefficients, zeropoint and 
  extinction coefficients used to calculate the standard magnitudes of
  target stars.</TD>
</TR>
</TABLE>

<P>
The native star format can be converted to a tabular format using the
report converter function as described in Appendix&nbsp;<A HREF="node14.html#ap:repconv">E</A>.

<P>

<DIV CLASS="navigation"><HR>
<!--Navigation Panel-->
<A NAME="tex2html706"
  HREF="node13.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="/usr/share/latex2html/icons/next.png"></A> 
<A NAME="tex2html702"
  HREF="gcx.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="/usr/share/latex2html/icons/up.png"></A> 
<A NAME="tex2html696"
  HREF="node11.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="/usr/share/latex2html/icons/prev.png"></A> 
<A NAME="tex2html704"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 SRC="/usr/share/latex2html/icons/contents.png"></A>  
<BR>
<B> Next:</B> <A NAME="tex2html707"
  HREF="node13.html">Command Line Options</A>
<B> Up:</B> <A NAME="tex2html703"
  HREF="gcx.html">GCX User's Manual</A>
<B> Previous:</B> <A NAME="tex2html697"
  HREF="node11.html">Robust Averaging</A>
 &nbsp; <B>  <A NAME="tex2html705"
  HREF="node1.html">Contents</A></B> </DIV>
<!--End of Navigation Panel-->
<ADDRESS>
root
2005-11-27
</ADDRESS>
</BODY>
</HTML>