1
!@(#)ccdshow.prg 19.1 (ESO-DMD) 02/25/03 14:16:02
2
!+++++++++++++++++++++++++++++++++++++++++++++++++++++++
3
!.COPYRIGHT (C) 1991 European Southern Observatory
5
!.AUTHOR Rein H. Warmels, ESO - Garching
6
!.KEYWORDS Direct imaging, CCD
7
!.PURPOSE Display CCD session parameters
8
!.VERSION 920416 RHW Creation
10
!-------------------------------------------------------
11
DEFINE/PARAM P1 GENERAL C
12
IF P8(1:1) .EQ. "H" GOTO HELP
14
BRANCH P1(1:2) GE,BS,DK,FF,SK,OT,MO -
15
GENERAL,BIAS,DARK,FLAT,SKY,OTHER,MOSAIC
16
BRANCH P1(1:2) OV,IL,FR,FX OVERSC,ILLUM,FRINGE,FIX
17
BRANCH P1(1:2) HE,SC HELP,SCI
18
WRITE/OUT "*** Sorry, unknown option (consult the help for legal ones)"
24
SHOW/SESS "**************** CCD Parameters *******************"
29
SESSLINE = 0 ! Initialize the line counter
30
SHOW/SESS "--- General Control Setup ----"
31
SHOW/SESS "Object : IDENT ={IDENT}; [descr={.IDENT}]"
32
SHOW/SESS "Observer : OBSER ={OBSER}; [descr={.OBSER}]"
33
SHOW/SESS "Telescope : TELES ={TELES}; [descr={.TELES}]"
34
SHOW/SESS "Instrument : INSTR ={INSTR}; [descr={.INSTR}]"
35
SHOW/SESS "Detector : DETEC ={DETEC}; [descr={.DETEC}]"
36
SHOW/SESS " DIRECT ={DIRECT}; [descr={.DIRECT}]"
37
SHOW/SESS " BINNING={BINNING(1)}, {BINNING(2)}; [descr={.BINNING}]"
38
SHOW/SESS " READMOD={READMOD}; [descr={.READMOD}]"
39
SHOW/SESS " READON ={READON}; [descr={.READON}]"
40
SHOW/SESS " AD_VAL ={AD_VAL}; [descr={.AD_VAL}]"
41
SHOW/SESS "Descriptors : Exp. type={EXP_DESC}"
42
SHOW/SESS " Exp. time={O_DESC}"
43
SHOW/SESS "Image section : IM_SEC={IM_SEC}"
44
SHOW/SESS "Bad pixel file : FX_TABLE={FX_TABLE}"
45
SHOW/SESS "Reduction mode : REDUCT={REDUCT}"
46
SHOW/SESS "Input specs : CCD_IN={CCD_IN}"
47
SHOW/SESS "Exp. columns: SC_COL=:{SC_COL}"
48
SHOW/SESS " BS_COL=:{BS_COL} DK_COL=:{DK_COL}"
49
SHOW/SESS " FF_COL=:{FF_COL} SK_COL=:{SK_COL}"
54
SESSLINE = 0 ! Initialize the line counter
55
SHOW/SESS "--- Bias Combining Setup ----"
56
SHOW/SESS "Input specific.: CCD_IN={CCD_IN}"
57
SHOW/SESS "Exposure type : BS_TYP={BS_TYP}"
58
SHOW/SESS "Sigma frame : BS_SIG={BS_SIG}"
59
SHOW/SESS "Method : BS_MET={BS_MET}"
60
SHOW/SESS "Delete : BS_DEL={BS_DEL}"
61
SHOW/SESS "Statistics : BS_STA={BS_STA}"
62
SHOW/SESS "M/M/M scaling : BS_SCA={BS_SCA}"
63
SHOW/SESS "M/M/M offset : BS_OFF={BS_OFF}"
64
SHOW/SESS "M/M/M section : BS_SEC={BS_SEC}"
65
SHOW/SESS "Exp. scaling : BS_EXP={BS_EXP}"
66
SHOW/SESS "Weighting : BS_WEI={BS_WEI}"
67
SHOW/SESS "Valid pix range: BS_RAN={BS_RAN(1)},{BS_RAN(2)}"
68
SHOW/SESS "Low/High reject: BS_CLP={BS_CLP(1)},{BS_CLP(2)}"
69
SHOW/SESS "Blank value : BS_NUL={BS_NUL}"
74
SESSLINE = 0 ! Initialize the line counter
75
SHOW/SESS "--- Dark Combining Setup ----"
76
SHOW/SESS "Input specific.: CCD_IN={CCD_IN}"
77
SHOW/SESS "Exposure type : DK_TYP={DK_TYP}"
78
SHOW/SESS "Sigma frame : DK_SIG={DK_SIG}"
79
SHOW/SESS "Method : DK_MET={DK_MET}"
80
SHOW/SESS "Delete : DK_DEL={DK_DEL}"
81
SHOW/SESS "Statistics : DK_STA={DK_STA}"
82
SHOW/SESS "M/M/M scaling : DK_SCA={DK_SCA}"
83
SHOW/SESS "M/M/M offset : DK_OFF={DK_OFF}"
84
SHOW/SESS "M/M/M section : DK_SEC={DK_SEC}"
85
SHOW/SESS "Exp. scaling : DK_EXP={DK_EXP}"
86
SHOW/SESS "Weighting : DK_WEI={DK_WEI}"
87
SHOW/SESS "Valid pix range: DK_RAN={DK_RAN(1)},{DK_RAN(2)}"
88
SHOW/SESS "Low/High reject: DK_CLP={DK_CLP(1)},{DK_CLP(2)}"
89
SHOW/SESS "Blank value : DK_NUL={DK_NUL}"
94
SESSLINE = 0 ! Initialize the line counter
95
SHOW/SESS "--- Flat Field Combining Setup ----"
96
SHOW/SESS "Input specific.: CCD_IN={CCD_IN}"
97
SHOW/SESS "Exposure type : FF_TYP={FF_TYP}"
98
SHOW/SESS "Sigma frame : FF_SIG={FF_SIG}"
99
SHOW/SESS "Method : FF_MET={FF_MET}"
100
SHOW/SESS "Delete : FF_DEL={FF_DEL}"
101
SHOW/SESS "Statistics : FF_STA={FF_STA}"
102
SHOW/SESS "M/M/M scaling : FF_SCA={FF_SCA}"
103
SHOW/SESS "M/M/M offset : FF_OFF={FF_OFF}"
104
SHOW/SESS "M/M/M section : FF_SEC={FF_SEC}"
105
SHOW/SESS "Exp. scaling : FF_EXP={FF_EXP}"
106
SHOW/SESS "Weighting : FF_WEI={FF_WEI}"
107
SHOW/SESS "Valid pix range: FF_RAN={FF_RAN(1)},{FF_RAN(2)}"
108
SHOW/SESS "Low/High reject: FF_CLP={FF_CLP(1)},{FF_CLP(2)}"
109
SHOW/SESS "Blank value : FF_NUL={FF_NUL}"
114
SESSLINE = 0 ! Initialize the line counter
115
SHOW/SESS "--- Sky Flat Combining Setup ----"
116
SHOW/SESS "Input specific.: CCD_IN={CCD_IN}"
117
SHOW/SESS "Exposure type : SK_TYP={SK_TYP}"
118
SHOW/SESS "Sigma frame : SK_SIG={SK_SIG}"
119
SHOW/SESS "Method : SK_MET={SK_MET}"
120
SHOW/SESS "Delete : SK_DEL={SK_DEL}"
121
SHOW/SESS "Statistics : SK_STA={SK_STA}"
122
SHOW/SESS "M/M/M scaling : SK_SCA={SK_SCA}"
123
SHOW/SESS "M/M/M offset : SK_OFF={SK_OFF}"
124
SHOW/SESS "M/M/M section : SK_SEC={SK_SEC}"
125
SHOW/SESS "Exp. scaling : SK_EXP={SK_EXP}"
126
SHOW/SESS "Weighting : SK_WEI={SK_WEI}"
127
SHOW/SESS "Valid pix range: SK_RAN={SK_RAN(1)},{SK_RAN(2)}"
128
SHOW/SESS "Low/High reject: SK_CLP={SK_CLP(1)},{SK_CLP(2)}"
129
SHOW/SESS "Blank value : SK_NUL={SK_NUL}"
134
SESSLINE = 0 ! Initialize the line counter
135
SHOW/SESS "--- Other Frame Combining Setup ----"
136
SHOW/SESS "Input catalogue: CCD_IN={CCD_IN}"
137
SHOW/SESS "Exposure type : OT_TYP={OT_TYP}"
138
SHOW/SESS "Sigma frame : OT_SIG={OT_SIG}"
139
SHOW/SESS "Method : OT_MET={OT_MET}"
140
SHOW/SESS "Delete : OT_DEL={OT_DEL}"
141
SHOW/SESS "Statistics : OT_STA={OT_STA}"
142
SHOW/SESS "M/M/M scaling : OT_SCA={OT_SCA}"
143
SHOW/SESS "M/M/M offset : OT_OFF={OT_OFF}"
144
SHOW/SESS "M/M/M section : OT_SEC={OT_SEC}"
145
SHOW/SESS "Exp. scaling : OT_EXP={OT_EXP}"
146
SHOW/SESS "Weighting : OT_WEI={OT_WEI}"
147
SHOW/SESS "Valid pix range: OT_RAN={OT_RAN(1)},{OT_RAN(2)}"
148
SHOW/SESS "Low/High reject: OT_CLP={OT_CLP(1)},{OT_CLP(2)}"
149
SHOW/SESS "Blank value : OT_NUL={OT_NUL}"
155
SHOW/SESS "Mean section : MO_SEC={MO_SEC}"
156
SHOW/SESS "Subtract median: MO_SUBT={MO_SUBT}"
157
SHOW/SESS "Mosaic origin : MO_CORN={MO_CORN}"
158
SHOW/SESS "Direction : MO_DIREC={MO_DIREC}"
159
SHOW/SESS "Raster pattern : MO_RAST={MO_RAST}"
160
SHOW/SESS "Overlap : MO_OVER={MO_OVER(1)},{MO_OVER(2)}"
161
SHOW/SESS "Interpolant : MO_INTER={MO_INTER}"
162
SHOW/SESS "Min. # pixels : MO_MNPX={MO_MNPX}"
163
SHOW/SESS "Trim col/rows : MO_TRIM={MO_TRIM(1)},{MO_TRIM(2)},{MO_TRIM(3)},{MO_TRIM(4)}"
164
SHOW/SESS "Blank value : MO_NUL={MO_NUL}"
169
SESSLINE = 0 ! Inilialize the line counter
170
SHOW/SESS "Overscan sect. : OV_SEC={OV_SEC}"
171
SHOW/SESS "Interactive fit: OV_IMODE={OV_IMODE}"
172
SHOW/SESS "Fitting funct. : OV_FUNCT={OV_FUNCT}"
173
SHOW/SESS "Order of fit : OV_ORDER={OV_ORDER}"
174
SHOW/SESS "# comb. points : OV_AVER={OV_AVER}"
175
SHOW/SESS "Number of iter : OV_ITER={OV_ITER}"
176
SHOW/SESS "Low/high rej. : OV_REJEC={OV_REJEC}"
181
SESSLINE = 0 ! Initialize the line counter
182
SHOW/SESS "--- Pixel Correction Parameters ----"
184
SHOW/SESS "Bad pixel file : FX_TABLE={FX_TABLE}"
185
SHOW/SESS "Correct. method : FX_METH={FX_METH}"
186
SHOW/SESS "Expansion facts : FX_FACT={FX_FACT}"
187
SHOW/SESS "Fitting params. : FX_FPAR={FX_FPAR}"
188
SHOW/SESS "Background noise: FX_NOISE={FX_NOISE}"
193
SESSLINE = 0 ! Initialize the line counter
194
SHOW/SESS "--- Illumination Setup ----"
195
SHOW/SESS "Input frame : CCD_IN={CCD_IN}"
196
SHOW/SESS "Exposure type : IL_TYP={IL_TYP}"
197
SHOW/SESS "Smooth box in x: IL_XBOX={IL_XBOX(1)},{IL_XBOX(2)}"
198
SHOW/SESS "Smooth box in y: IL_YBOX={IL_YBOX(1)},{IL_YBOX(2)}"
199
SHOW/SESS "Clip pixels: : IL_CLIP={IL_CLIP}"
200
SHOW/SESS "Low/High clip : IL_SIGMA={IL_SIGMA(1)},{IL_SIGMA(2)}"
205
SESSLINE = 0 ! Initialize the line counter
206
SHOW/SESS "--- Fringing Correction Setup ----"
207
SHOW/SESS "Input frame : CCD_IN={CCD_IN}"
208
SHOW/SESS "Exposure type : FR_TYP={FR_TYP}"
209
SHOW/SESS "Smooth box in x: IL_XBOX={IL_XBOX(1)},{IL_XBOX(2)}"
210
SHOW/SESS "Smooth box in y: IL_YBOX={IL_YBOX(1)},{IL_YBOX(2)}"
211
SHOW/SESS "Clip pixels: : IL_CLIP={IL_CLIP}"
212
SHOW/SESS "Low/High clip : IL_SIGMA={IL_SIGMA(1)},{IL_SIGMA(2)}"
217
SESSLINE = 0 ! Initialize the line counter
218
SHOW/SESS "--- Science Frame Reduction Setup ----"
219
SHOW/SESS "Input frm/tbl : CCD_IN={CCD_IN}"
220
SHOW/SESS "Exposure type : SC_TYP={SC_TYP}"
221
SHOW/SESS "List steps only: SC_PROC={SC_PROC}"
223
SHOW/SESS "Oversc. corr. : SC_SCAN={SC_SCAN}"
224
SHOW/SESS "Trim the frame : SC_TRIM={SC_TRIM}"
225
SHOW/SESS "Fix bad pixel : SC_FXPIX={SC_FXPIX}"
226
SHOW/SESS "Bias correct. : SC_BSCOR={SC_BSCOR}"
227
SHOW/SESS "Dark correct. : SC_DKCOR={SC_DKCOR}"
228
SHOW/SESS "Flat correct. : SC_FFCOR={SC_FFCOR}"
229
SHOW/SESS "Illum correct. : SC_ILCOR={SC_ILCOR}"
230
SHOW/SESS "Fringe correct.: SC_FRCOR={SC_FRCOR}"
232
SHOW/SESS "Bias frame : SC_BSFRM={SC_BSFRM}"
233
SHOW/SESS "Dark frame : SC_DKFRM={SC_DKFRM}"
234
SHOW/SESS "Flat frame : SC_FFFRM={SC_FFFRM}"
235
SHOW/SESS "Illum frame : SC_ILFRM={SC_ILFRM}"
236
SHOW/SESS "Fringe frame : SC_FRFRM={SC_FRFRM}"
242
SESSLINE = 0 ! Initialize the line counter
243
SHOW/SESS " ***** CCD standard reduction package - Main Help *****"
244
SHOW/SESS " *** Please report errors, bugs or problems to Rein Warmels ***"
246
SHOW/SESS " This is the list of high level commands in the CCD reduction"
247
SHOW/SESS " package. They are listed in a number groups covering CCD keyword"
248
SHOW/SESS " handling, automatic reduction, manual reduction, special "
249
SHOW/SESS " calibration frames, and miscellaneous"
250
SHOW/SESS " Most commands read the input parameters from the keyword settings."
251
SHOW/SESS " In some cases, a keyword setting can be overruled by specifying "
252
SHOW/SESS " the parameter on the command line."
253
SHOW/SESS " Default parameters are indicated by square brackets (`[]')."
254
SHOW/SESS " More help is available for each command by using HELP <command>."
256
SHOW/SESS " The following commands are available:"
257
SHOW/SESS " INITIAL/CCD [name]"
258
SHOW/SESS " Initialize the ccd package"
259
SHOW/SESS " LOAD/CCD [instr]"
260
SHOW/SESS " Load telescope/instrument specific default into CCD context"
261
SHOW/SESS " SAVE/CCD name"
262
SHOW/SESS " Save the keyword settings "
263
SHOW/SESS " SHOW/CCD [subject]"
264
SHOW/SESS " Show the complete setup of the CCD package"
265
SHOW/SESS " SET/CCD keyw=value [...]"
266
SHOW/SESS " Set the CCD keywords"
267
SHOW/SESS " HELP/CCD [keyword]"
268
SHOW/SESS " provide help information for a CCD keyword"
271
SHOW/SESS " MKREDTBL/CCD ass_tab red_tab"
272
SHOW/SESS " Create a CCD input table for pipeline CCD reduction"
273
SHOW/SESS " REDUCE/CCD [in_spec] [out_frm] [proc_opt]"
274
SHOW/SESS " DO (partical) calibration of one or more science frames"
275
SHOW/SESS " COMBINE/CCD exp [in_spec] [out_frm]
276
SHOW/SESS " Combine CCD frames using table, catalogue, file list input"
279
SHOW/SESS " OVERSCAN/CCD [in_fram] [out_fram] CCD_area"
280
SHOW/SESS " Fit the bias offset in the overscan region and correct"
281
SHOW/SESS " FIXPIX/CCD [in_fram] [out_fram] [fix_table] [fix_meth]"
282
SHOW/SESS " Correct bad pixels using a pixel file"
283
SHOW/SESS " TRIM/CCD [in_fram] [out_fram] [im_sec] [del_flg]"
284
SHOW/SESS " Extract the useful data fro the ccd frame"
285
SHOW/SESS " BIAS/CCD [in_fram] [out_fram] [bs_fram]"
286
SHOW/SESS " Correct the input frame for the additive bias offset"
287
SHOW/SESS " DARK/CCD [in_fram] [out_fram] [dk_fram]"
288
SHOW/SESS " Correct the input frame for the additive dark offset"
289
SHOW/SESS " FLAT/CCD [in_fram] [out_fram] [ff_fram]"
290
SHOW/SESS " Do a flat fielding of the input frame"
291
SHOW/SESS " ILLUMINATE/CCD [in_spec] [out_frm] [il_fram]"
292
SHOW/SESS " Do the illumination correction of the input frame"
293
SHOW/SESS " FRINGE/CCD [in_spec] [out_frm] [fr_fram]"
294
SHOW/SESS " Do a fringe correction of the input frame"
297
SHOW/SESS " ILLCOR/CCD [in_spec] [out_frm] [xboxmn,xboxmx] [yboxmn,yboxmx]"
298
SHOW/SESS " [clip] [lowsig,higsig]"
299
SHOW/SESS " Create the flat field calibration frames"
300
SHOW/SESS " ILLFLAT/CCD [in_spec] [out_frm] [xboxmn,xboxmx] [yboxmn,yboxmx]"
301
SHOW/SESS " [clip] [lowsig,higsig]"
302
SHOW/SESS " Create illumination corrected flat field frame(s)"
303
SHOW/SESS " SKYCOR/CCD [in_spec] [out_frm] [xboxmn,xboxmx] [yboxmn,yboxmx]"
304
SHOW/SESS " [clip] [lowsig,higsig]"
305
SHOW/SESS " Create sky illumination correction flat field(s)"
306
SHOW/SESS " SKYFLAT/CCD [in_spec] [out_frm] [xboxmn,xboxmx] [yboxmn,yboxmx]"
307
SHOW/SESS " [clip] [lowsig,higsig]"
308
SHOW/SESS " Create illumination correction sky flat(s)"
309
SHOW/SESS " FRCOR/CCD [in_spec] [out_frm] [xboxmn,xboxmx] [yboxmn,yboxmx]"
310
SHOW/SESS " [clip] [lowsig,higsig]"
311
SHOW/SESS " Create fringe correction frame(s)"
314
SHOW/SESS " CREATE/MOSAIC in_cat out_frm out_tab nx_sub,ny_sub [not1,not2,...]"
315
SHOW/SESS " [nocol,norow]"
316
SHOW/SESS " Mosaic a set of (infrared) ccd frames"
317
SHOW/SESS " ALIGN/MOSAIC in_frm in_tab out_frm method,data [xref,yref] "
318
SHOW/SESS " [xoff,yoff] [x_size,y_size]"
319
SHOW/SESS " Align the elements of the mosaiced frame"
320
SHOW/SESS " MATCH/MOSAIC in_frm in_tab out_frm method,data [match] [xref,yref]"
321
SHOW/SESS " [xoff,yoff] [x_size,y_size]"
322
SHOW/SESS " Align and match the elements of the mosaiced frame"
323
SHOW/SESS " SHIFT/MOSAIC out_tab [curs_opt] [csx,csy] [clear_opt]"
324
SHOW/SESS " Get x and y shifts of the subraster in the mosaic frame"