blob: df5dc2f39f4c3c961e80e076a474e2ba5ab18f6a (
plain) (
blame)
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
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
|
# APPHOT.DDF -- Data definition for apphot package output
builtin catalog functions
builtin domain statements
-------------------------------------------------------------------------------
# domain statements
domain bool type=short format="%b"
domain posint type=short format="%5d"
domain pixels type=real format="%9.3f"
domain fwhmpsf type=real format="%9.3f"
domain counts type=real format="%15.7g"
domain sigma type=real format="%15.7g"
domain mag type=real format="%7.3f"
domain pars type=real format="%15.7g"
domain electrons type=short format="%5d"
domain ratio type=real format=%15.7g"
# Apphot database descriptor
record apphot {
iraf char[] "current version of iraf"
host char[] "host machine"
user char[] "user name"
package char[] "package name"
version char[] "package version"
}
--------------------------------------------------------------------------------
# History record (1 per modification of the apphot database)
record history {
task char[] "task name"
date ltime "date dask was run"
firstrec posint "first record written by task"
lastrec posint "last record written by task"
}
------------------------------------------------------------------------------
# Data dependent parameter set (>= 1 per task execution)
record datapars {
fwhmpsf pixels "full width half max of the psf"
emission bool "emission/absorption"
noise model char[] "data noise mode"
threshold counts "intensity threshold"
sigma counts "sigma of sky pixels"
gain char[] "image gain keyword"
epadu ratio "gain electrons/adu"
ccread char[] "image readout noise keyword"
readnoise electrons "readout noise electrons"
}
# Centering algorithm parameter set (>= 1 per task execution)
record centerpars {
calgorithm char[] "centering algoritm"
cboxwidth fwhmpsf "centering box width"
maxshift fwhmpsf "maximum shift"
cmaxiter posint "maximum number of iterations"
minsnratio ratio "minimum signal to noise ratio"
clean bool "use clean algorithm"
rclean fwhmpsf "cleaning radius"
rclip fwhmpsf "clipping radius"
kclean sigma "sigma clean"
}
# Sky fitting algorithm parameter set (>= 1 per task execution)
record fitskypars {
salgorithm char[] "sky fitting algorithm"
annulus fwhmpsf "inner sky annulus"
dannulus fwhmpsf[] "width of inner sky annulus"
smaxiter posint "maximum number od iterations"
skreject sigma "ksigma rejection"
snreject posint "maximum number of rejections"
khist sigma "half width of histogram"
binsize sigma "binsize of histogram"
smooth bool "smooth the histogram"
rgrow fwhmpsf "region growing radius"
skyvalue counts "user supplied sky value"
}
# Photometry parameter set (>= 1 per task execution)
record photpars {
weighting char[] "weighting scheme"
apertures fwhmpsf "list of apertures"
zmagnitude mag "magnitude zero point"
exposure char[] "image exposure time keyword"
itime "" "exposure time"
}
# Polygonal photometry parameter set (>= 1 per task execution)
record polypars {
zmagnitude mag "magnitude zero point"
exposure char[] "image exposure time keyword"
itime "" "exposure time"
}
# Radial profile fitting parameters (>= 1 per task execution)
record radprofpars {
radius fwhmpsf "maximum profile radius"
stepsize fwhmpsf "profile step size"
order posint "number of spline pieces in fit"
kreject sigma "k sigma rejection"
nreject posint "max number of rejection cycles"
}
# Point spread function modeling parameters (>= 1 per task execution)
record psfpars {
function char[] "analytic function"
box fwhmpsf "fitting box size"
kreject sigma "sigma rejection limit"
nreject posint "max number of rejections"
}
--------------------------------------------------------------------------------
# Computed center answers (1 per star)
record center {
datapars posint "record id of datapars record"
centerpars posint "record id of centerpars record"
image char[] "image name"
xinit pixels "initial x position"
yinit pixels "initial y position
id posint "sequence number in table"
coords char[] "coordinate list filename"
lid posint "sequence number in coord list"
xcenter pixels "x center position"
ycenter pixels "y center position"
xshift pixels "x position shift"
yshift pixels "y position shift"
xerror pixels "x position error"
yerror pixels "y position error"
cerrcode posint "centering error code"
cerrstring char[] "centering error message"
}
# Computed fitsky answers (1 per star)
record fitsky {
datapars posint "record id of datapars record"
fitskypars posint "record id of fitskyprs record"
image char[] "image name"
xinit pixels "initial x position"
yinit pixels "initial y position
id posint "sequence number in table"
coords char[] "coordinate list filename"
lid posint "sequence number in coord list"
skyvalue counts "sky value"
skysigma counts "standard deviation of sky"
skyskew counts "skew of sky pixels"
nskypix posint "number of sky pixels"
nskyreject posint "number of rejected pixels"
serrcode posint "sky fitting error code"
serrstring char[] "sky fitting error message"
}
# Computed phot answers (1 per star)
record phot {
datapars posint "record id of datapars record"
centerpars posint "record id of centerpars record"
photpars posint "record id of photometry record"
image char[] "image name"
xinit pixels "initial x position"
yinit pixels "initial y position
id posint "sequence number in table"
coords char[] "coordinate list filename"
lid posint "sequence number in coord list"
xcenter pixels "x center position"
ycenter pixels "y center position"
xshift pixels "x position shift"
yshift pixels "y position shift"
xerror pixels "x position error"
yerror pixels "y position error"
cerrcode posint "centering error code"
cerrstring char[] "centering error message"
skyvalue counts "sky value"
skysigma counts "standard deviation of sky"
skyskew counts "skew of sky pixels"
nskypix posint "number of sky pixels"
nskyreject posint "number of rejected pixels"
serrcode posint "sky fitting error code"
serrstring char[] "sky fitting error message"
aperts pixels[] "list of apertures"
sums counts[] "list of sums"
areas pixels[] "list of areas"
mags mag[] "list of magnitudes"
magerrs mag[] "list of mag errors
merrcodes posint[] "list of errcodes
merrstrings char[] "list of error messages"
}
# Computed wphot answers (1 per star)
record wphot {
datapars posint "record id of datapars record"
centerpars posint "record id of centerpars record"
fitskypars posint "record id of fitskypars record"
photpars posint "record id of photpars record"
image char[] "image name"
xinit pixels "initial x position"
yinit pixels "initial y position
id posint "sequence number in table"
coords char[] "coordinate list filename"
lid posint "sequence number in coord list"
xcenter pixels "x center position"
ycenter pixels "y center position"
xshift pixels "x position shift"
yshift pixels "y position shift"
xerror pixels "x position error"
yerror pixels "y position error"
cerrcode posint "centering error code"
cerrstring char[] "centering error message"
skyvalue counts "sky value"
skysigma counts "standard deviation of sky"
skyskew counts "skew of sky pixels"
nskypix posint "number of sky pixels"
nskyreject posint "number of rejected pixels"
serrcode posint "sky fitting error code"
serrstring char[] "sky fitting error message"
aperts pixels[] "list of apertures"
sums counts[] "list of sums"
areas pixels[] "list of areas"
mags mag[] "list of magnitudes"
magerrs mag[] "list of mag errors
merrcode posint[] "list of errcodes
merrstrings char[] "list of error messages"
}
# Computed polyphot answers (1 per star)
record polyphot {
datapars posint "record id of datapars record"
centerpars posint "record id of centerpars record"
fitskypars posint "record id of fitskypars record"
polypars posint "record id of polypars record"
image char[] "image name"
xinit pixels "initial x position"
yinit pixels "initial y position
id posint "sequence number in table"
coords char[] "coordinate list filename"
lid posint "sequence number in coord list"
xcenter pixels "x center position"
ycenter pixels "y center position"
xshift pixels "x position shift"
yshift pixels "y position shift"
xerror pixels "x position error"
yerror pixels "y position error"
cerrcode posint "centering error code"
cerrstring char[] "centering error message"
skyvalue counts "sky value"
skysigma counts "standard deviation of sky"
skyskew counts "skew of sky pixels"
nskypix posint "number of sky pixels"
nskyreject posint "number of rejected pixels"
serrcode posint "sky fitting error code"
serrstring char[] "sky fitting error message"
sum counts[] "aperture sum"
area pixels[] "aperture area"
mag mag[] "magnitude"
magerr mag[] "magnitude error"
merrcode posint[] "error code"
merrstring char[] "error message"
polygons char[] "name of polygons files"
pid posint "polygon sequence number"
oldxmean pixels "original mean x of polygon"
oldymean pixels "original mean y of polygon"
minradius pixels "min sky radius to exclude polygon"
nver posint "number of vertices"
xvertices pixels[] "list of x vertices coords"
yvertices pixels[] "list of y vertices coords"
}
# Computed radprof answers (1 per star)
record radprof {
datapars posint "record id of datapars record"
centerpars posint "record id of centerpars record"
fitskypars posint "record id of fitskypars record"
photpars posint "record id of photpars record"
radprofpars posint "record id of radprofpars record"
image char[] "image name"
xinit pixels "initial x position"
yinit pixels "initial y position
id posint "sequence number in table"
coords char[] "coordinate list filename"
lid posint "sequence number in coord list"
xcenter pixels "x center position"
ycenter pixels "y center position"
xshift pixels "x position shift"
yshift pixels "y position shift"
xerror pixels "x position error"
yerror pixels "y position error"
cerrcode posint "centering error code"
cerrstring char[] "centering error message"
skyvalue counts "sky value"
skysigma counts "standard deviation of sky"
skyskew counts "skew of sky pixels"
nskypix posint "number of sky pixels"
nskyreject posint "number of rejected pixels"
serrcode posint "sky fitting error code"
serrstring char[] "sky fitting error message"
aperts pixels[] "list of apertures"
sums counts[] "list of sums"
areas pixels[] "list of areas"
mags mag[] "list of magnitudes"
magerrs mag[] "list of mag errors
merrs posint[] "list of error codes
merrstrings char[] "list of error messages"
pfwhm pixels "fitted profile fwhmpsf"
inorm counts "intensity normalization factor"
tinorm counts "total intensity normalization factor"
errcode posint "error code"
errstring char[] "error message"
rlist pixels[] "radii"
intensities counts[] "fitted intensities"
tintensities counts[] "integral of fitted total intensities"
}
# Computed fitpsf answers (1 per star)
record fitpsf {
datapars posint "record id of datapars record"
fitpsfpars posint "record id of fitpsf record"
image char[] "image name"
xinit pixels "initial x position"
yinit pixels "initial y position
id posint "sequence number in table"
coords char[] "coordinate list filename"
lid posint "sequence number in coord list"
npars posint "number of parameters"
params pars[] "list of parameters"
parerrs pars[] "list of parameter errors"
}
-------------------------------------------------------------------------------
|