| 1 |
/* @(#)spec_comm.h 19.1 (ESO-IPG) 02/25/03 13:45:25 */ |
| 2 |
/* @(#)spec_comm.h 19.1 (ESO-IPG) 02/25/03 13:45:25 */ |
| 3 |
/* |
| 4 |
* ECHEL context commands |
| 5 |
*/ |
| 6 |
#define C_INIT "init/Echel " |
| 7 |
#define C_SAVE "save/Echel " |
| 8 |
#define C_CLEAN "clean/Echel " |
| 9 |
#define C_SEARCH "search/Echel " |
| 10 |
#define C_PLOT_SEARCH "plot/search " |
| 11 |
#define C_IDENT "xident/Echel " |
| 12 |
|
| 13 |
#define C_SELINE "@s lnident,seline " |
| 14 |
#define C_SELLIN_ALL "sel/tab 'lintab' all" |
| 15 |
#define C_SELCAT_ALL "sel/tab 'lincat' all" |
| 16 |
#define C_NODEL "@s lnident,nodel " |
| 17 |
#define C_CALIB_RBR "calib/Echel " |
| 18 |
#define C_CALIB_RBR2 "calib/twice " |
| 19 |
#define C_CALIB_EDIT_D "plot/delta edit " |
| 20 |
#define C_CALIB_EDIT_C "plot/calib edit " |
| 21 |
#define C_CALIB_ERAS "erase/Echel " |
| 22 |
#define C_CALIB_CURS "plot/calib cursor " |
| 23 |
#define C_PLOT_DELTA "plot/delta " |
| 24 |
#define C_PLOT_CALIB "plot/calib " |
| 25 |
#define C_PLOT_IDENT "plot/ident " |
| 26 |
#define C_PLOT_DISTOR "plot/distort " |
| 27 |
#define C_PLOT_RESID "plot/residual " |
| 28 |
|
| 29 |
#define C_REBIN "rebin/Echel " |
| 30 |
#define C_APP_DISP "apply/disp " |
| 31 |
#define C_RECTIFY "rectify/Echel " |
| 32 |
#define C_PLOT_SPEC "plot/spec " |
| 33 |
|
| 34 |
#define C_EXTR_GCOOR "gcoord/Echel " |
| 35 |
#define C_EXTR_FIT_SKY "skyfit/Echel " |
| 36 |
#define C_EXTR_AVERAGE "extract/average " |
| 37 |
#define C_EXTR_WEIGHTED "extract/Echel " |
| 38 |
|
| 39 |
#define C_EXTIN "extin/Echel " |
| 40 |
#define C_INTEGR "integr/Echel " |
| 41 |
#define C_PLOT_RESP "plot/response " |
| 42 |
#define C_FLUX_FIT "response/Echel " |
| 43 |
#define C_CORRECT "calib/flux " |
| 44 |
#define C_FLUX_FILT "response/filter " |
| 45 |
#define C_PLOT_FLUX "plot/flux " |
| 46 |
#define C_EDIT_FLUX "edit/flux " |
| 47 |
|
| 48 |
#define C_GRAPHICS "graph/Echel " |
| 49 |
#define C_DISPLAY "make/display " |
| 50 |
#define C_LOAD_IMA "load/Echel " |
| 51 |
|
| 52 |
#define C_BATCHRED "batch/Echel " |
| 53 |
#define C_REDUCE "reduce/Echel " |
| 54 |
#define C_REDINIT "reduce/init " |
| 55 |
#define C_REDSAVE "reduce/save " |
| 56 |
|
| 57 |
/* |
| 58 |
* Commands for updating the ECHEL keywords |
| 59 |
*/ |
| 60 |
#define K_INSTRUME "set/Echel INSTRUME = " |
| 61 |
#define K_WLC "set/Echel WLC = " |
| 62 |
#define K_WIDTH "set/Echel WIDTH = " |
| 63 |
#define K_THRES "set/Echel THRES = " |
| 64 |
#define K_SEAMTD "set/Echel SEAMTD = " |
| 65 |
#define K_YSTART "set/Echel YSTART = " |
| 66 |
#define K_YWIDTH "set/Echel YWIDTH = " |
| 67 |
#define K_YSTEP "set/Echel YSTEP = " |
| 68 |
#define K_WLCMTD "set/Echel WLCMTD = " |
| 69 |
#define K_TOL "set/Echel TOL = " |
| 70 |
#define K_FITD "set/Echel FITD = " |
| 71 |
#define K_DCX1 "set/Echel DCX = " |
| 72 |
#define K_DCX2 "set/Echel DCX = ," |
| 73 |
#define K_LINTAB "set/Echel LINTAB = " |
| 74 |
#define K_COERBR "set/Echel COERBR = " |
| 75 |
#define K_SESSION "set/Echel SESSION = " |
| 76 |
#define K_LINCAT "set/Echel LINCAT = " |
| 77 |
#define K_WRANG1 "set/Echel WRANG = " |
| 78 |
#define K_WRANG2 "set/Echel WRANG = ," |
| 79 |
#define K_IMIN "set/Echel IMIN = " |
| 80 |
#define K_ALPHA "set/Echel ALPHA = " |
| 81 |
#define K_WLCNITER1 "set/Echel WLCNITER = " |
| 82 |
#define K_WLCNITER2 "set/Echel WLCNITER = ," |
| 83 |
#define K_MAXDEV "set/Echel MAXDEV = " |
| 84 |
#define K_GUESS "set/Echel GUESS = " |
| 85 |
#define K_COROPT "set/Echel COROPT = " |
| 86 |
#define K_CORVISU "set/Echel CORVISU = " |
| 87 |
#define K_SHIFT "set/Echel SHIFT = " |
| 88 |
#define K_WCENTER "set/Echel WCENTER = " |
| 89 |
#define K_AVDISP "set/Echel AVDISP = " |
| 90 |
#define K_TWODOPT "set/Echel TWODOPT = " |
| 91 |
|
| 92 |
#define K_REBMTD "set/Echel REBMTD = " |
| 93 |
#define K_REBSTRT "set/Echel REBSTRT = " |
| 94 |
#define K_REBEND "set/Echel REBEND = " |
| 95 |
#define K_REBSTP "set/Echel REBSTP = " |
| 96 |
|
| 97 |
#define K_EXTMTD "set/Echel EXTMTD = " |
| 98 |
#define K_OBJECT1 "set/Echel OBJECT = " |
| 99 |
#define K_OBJECT2 "set/Echel OBJECT = ," |
| 100 |
#define K_LOWSKY1 "set/Echel LOWSKY = " |
| 101 |
#define K_LOWSKY2 "set/Echel LOWSKY = ," |
| 102 |
#define K_UPPSKY1 "set/Echel UPPSKY = " |
| 103 |
#define K_UPPSKY2 "set/Echel UPPSKY = ," |
| 104 |
|
| 105 |
#define K_RON "set/Echel RON = " |
| 106 |
#define K_GAIN "set/Echel GAIN = " |
| 107 |
#define K_SIGMA "set/Echel SIGMA = " |
| 108 |
#define K_RADIUS "set/Echel RADIUS = " |
| 109 |
#define K_SKYORD "set/Echel SKYORD = " |
| 110 |
#define K_SKYMOD "set/Echel SKYMOD = " |
| 111 |
#define K_ORDER "set/Echel ORDER = " |
| 112 |
#define K_NITER "set/Echel NITER = " |
| 113 |
|
| 114 |
#define K_COMET "set/Echel COMET = " |
| 115 |
#define K_FFIT "set/Echel FFIT = " |
| 116 |
#define K_FDEG "set/Echel FDEG = " |
| 117 |
#define K_FVISU "set/Echel FVISU = " |
| 118 |
|
| 119 |
#define K_RESPONSE "set/Echel RESPONSE = " |
| 120 |
#define K_RESPTAB "set/Echel RESPTAB = " |
| 121 |
#define K_EXTAB "set/Echel EXTAB = " |
| 122 |
#define K_STD "set/Echel STD = " |
| 123 |
#define K_FLUXTAB "set/Echel FLUXTAB = " |
| 124 |
#define K_FILTMED "set/Echel FILTMED = " |
| 125 |
#define K_FILTSMO "set/Echel FILTSMO = " |
| 126 |
#define K_FITD "set/Echel FITD = " |
| 127 |
#define K_PLOTYP "set/Echel PLOTYP = " |
| 128 |
#define K_FITYP "set/Echel FITYP = " |
| 129 |
#define K_RESPLOT "set/Echel RESPLOT = " |
| 130 |
#define K_SMOOTH "set/Echel SMOOTH = " |
| 131 |
|
| 132 |
#define K_NPIX "set/Echel NPIX = " |
| 133 |
#define K_START "set/Echel START = " |
| 134 |
#define K_STEP "set/Echel STEP = " |
| 135 |
|
| 136 |
#define LIST_WLC 0 |
| 137 |
#define LIST_REBIN_RBR 1 |
| 138 |
#define LIST_REBIN_2D 2 |
| 139 |
#define LIST_REBIN_TBL 3 |
| 140 |
#define LIST_EXTIN 4 |
| 141 |
#define LIST_INTEGR 5 |
| 142 |
#define LIST_FLUX_FILT 6 |
| 143 |
#define LIST_FIT_SKY 7 |
| 144 |
#define LIST_EXT_AVER 8 |
| 145 |
#define LIST_EXT_WEIGHT 9 |
| 146 |
#define LIST_LINCAT 10 |
| 147 |
#define LIST_GUESS 11 |
| 148 |
#define LIST_FLUX_TBL 12 |
| 149 |
#define LIST_EXTIN_TBL 13 |
| 150 |
#define LIST_SESSION 14 |
| 151 |
#define LIST_LOAD_IMA 15 |
| 152 |
#define LIST_BROWSER 16 |
| 153 |
#define LIST_CORRECT 17 |
| 154 |
|
| 155 |
#define DIALOG_REBIN_RBR 0 |
| 156 |
#define DIALOG_REBIN_2D 1 |
| 157 |
#define DIALOG_REBIN_TBL 2 |
| 158 |
#define DIALOG_SESSION 3 |
| 159 |
#define DIALOG_EXTIN 4 |
| 160 |
#define DIALOG_EXT_AVER 5 |
| 161 |
#define DIALOG_EXT_WEIGHT 6 |
| 162 |
#define DIALOG_CORRECT 7 |
| 163 |
|
| 164 |
/* Reduction form definitions */ |
| 165 |
#define K_INPUTF "set/Echel INPUTF = " |
| 166 |
#define K_INPNUMB "set/Echel INPNUMB = " |
| 167 |
#define K_OUTPUTF "set/Echel OUTPUTF = " |
| 168 |
#define K_OUTNUMB "set/Echel OUTNUMB = " |
| 169 |
#define K_ROTOPT "set/Echel ROTOPT = " |
| 170 |
#define K_ROTSTART "set/Echel ROTSTART = " |
| 171 |
#define K_ROTSTEP "set/Echel ROTSTEP = " |
| 172 |
#define K_TRIMOPT "set/Echel TRIMOPT = " |
| 173 |
#define K_TRIM1 "set/Echel TRIM = " |
| 174 |
#define K_TRIM2 "set/Echel TRIM = ," |
| 175 |
#define K_TRIM3 "set/Echel TRIM = ,," |
| 176 |
#define K_TRIM4 "set/Echel TRIM = ,,," |
| 177 |
#define K_REBOPT "set/Echel REBOPT = " |
| 178 |
#define K_ECHELSESS "set/Echel SESSION = " |
| 179 |
#define K_REDRBMTD "set/Echel REBMTD = " |
| 180 |
#define K_EXTOPT "set/Echel EXTOPT = " |
| 181 |
#define K_REDEXTAB "set/Echel EXTAB = " |
| 182 |
#define K_RESPOPT "set/Echel RESPOPT = " |
| 183 |
#define K_REDRESP "set/Echel RESPONSE = " |
| 184 |
#define K_BIASOPT "set/Echel BIASOPT = " |
| 185 |
#define K_DARKOPT "set/Echel DARKOPT = " |
| 186 |
#define K_FLATOPT "set/Echel FLATOPT = " |
| 187 |
#define K_DARK "set/Echel DARK = " |
| 188 |
#define K_FLAT "set/Echel FLAT = " |
| 189 |
#define K_BIAS "set/Echel BIAS = " |
| 190 |
|
| 191 |
#define LIST_REDSESS 0 |
| 192 |
#define LIST_INPUTF 1 |
| 193 |
#define LIST_BIAS 2 |
| 194 |
#define LIST_DARK 3 |
| 195 |
#define LIST_FLAT 4 |
| 196 |
#define LIST_LONGSESS 5 |
| 197 |
#define LIST_REDEXTAB 6 |
| 198 |
#define LIST_REDRESP 7 |
| 199 |
|
| 200 |
#define DIALOG_REDSESS 0 |