/IMAGE imageNow we can execute
COPY/DISPLAY
/ECHELLE
or
CALIBRATE/ECHELLE DONE ! If the order definition is already done.
This command is the first step in the reduction. It finds the positions of the orders and extracts the comparison lines. The user is prompted for the identification of two calibration lines on the image display, repeated in overlapped regions of adjacent orders. For a detailed description of the wavelength calibration, see Section D.10.1. This identification is performed with the cursor. In case the orders are not overlapped, use the method ANGLE:NoteEFOSC reduction, the recommended method is TWO-D. In this method a bivariate polynomial is fitted to the initial identifications, instead of the monovariate polynomial involved in methods PAIR and ANGLE.
/ECHELLE WLCMTD=ANGLEwhich performs the wavelength calibration differently, this time prompting for a minimum of four identifications anywhere in the spectrum.
CALIBRATE/ECHELLE DONE
Press in the control box of the display and provide the asked order number and wavelengths.
If the automatic identification procedure does not converge to a satisfactory solution, use the level 1 command:
/ECHELLE [wlc] [lincat] [dc] [tol] [wlcloop] [wlcmtd] [guess]to compute new dispersion coefficients. Use commands:
/RESIDUALto display the results. You have to specify all parameters, because you are dealing with level 1 commands. The definition of the orders should give a standard deviation of less than 0.5 pixel and the dispersion coefficients should be fitted to better than 0.2 pixel.
SEND/PLOT VERSATEC
READ/HISTOGRAM line.tbl :RESIDUAL 0.08 -0.04,0.04
The extracted orders in the pixel domain can be resampled into wavelengths with the command REBIN/ECHELLE. A method to verify the wavelength calibration consists of extracting and resampling the wavelength calibration frame and displaying the resampled image with a large scaling factor on the Y-axis. The variation of wavelength coverage from one order to the next should be smooth. Different regions of the resampled image and in particular the overlaps can be verified with the command PLOT/SPECTRUM.
/ECHELLE {WLC} &wSolutions are computed by default for each independent order (SET/ECH WLCOPT=1D). They can also be computed using a global bivariate polynomial (SET/ECH WLCOPT=2D).
REBIN/ECHELLE &w &r
PLOT/SPECTRUM &r 4000,4050
Once a solution has been obtained for a particular set-up, using either of the echelles, you should save the results via
/ECHELLE nameFor all the observations done with the same instrumental set-up, one can now use in CALIBRATE/ECHELLE this dispersion relation as a first guess to the final coefficients by specifying the parameter GUESS:
/ECHELLE WLCMTD=GUESS GUESS=nameThe main advantage is that when using the GUESS option, no interaction is required to identify the lines in CALIBRATE/ECHELLE. After searching for the lines which are to be used for the determination of the dispersion relation the program applies as a first guess the coefficients used in the session previously saved and then starts the automatic identification.
The command CALIBRATE/ECHELLE has proved to be extremely flexible and reliable. However, the first-time users might run into some problems. The most frequent problems are listed below and a suggestion for their cure is given: