E C H S E L E C T
Routine name:
ECHSELECT
Function:
Interactive object and sky selection from echellogram.
Description:
This application takes a corrected echellogram (one that has had
the orders straightened, probably by CDIST), and generates a
number of collapsed echellograms (images where each cross-section
is a separate echelle spectrum). To determine which cross-sections
should be added to produce the sky and object spectra it gets the
user to indicate the relevant limits on a plot of the corrected
echelogram collapsed in the spectra direction. For each order
the user can select a range of cross-sections to be used for the
object, and a number of ranges of cross-sections to be used for
the sky. For each order, the object cross-sections are added
and the sky cross-sections are added and then scaled by the
factor (number of object cross-sections / number of sky cross
sections). The object cross-sections are formed into one collapsed
echellogram and the sky cross-sections are formed into another
collapsed echellogram. Optionally, a straightened arc can also
be processed using the same object and sky cross-section information,
in this case producing two collapsed arc echellograms, one for the
cross-sections designated as object, one for those designated as
sky, but in this case without any scaling being applied.
Command parameters:
IMAGE (File) The name of the corrected echellogram.
XSTART (Numeric) The first x-value to be used when collapsing
the image along the wavelength direction.
XEND (Numeric) The last x-value to be used when collapsing
the image along the wavelength direction.
MSTART (Integer) The order number for the first order.
MDELTA (Integer) 1 if order numbers increase with cross-
section, -1 if they decrease.
OBJOUT (File) The name of the object collapsed echellogram.
SKYOUT (File) The name of the sky collapsed echellogram.
DISNCHAN (Integer) Length of displayed section.
MOVETOX (Numeric) New plot centre x value.
ORDER (Integer) Next echelle order to work on.
LOW (Numeric) Minimum value to display.
HIGH (Numeric) Maximum value to display.
Command keywords:
WHOLE Yes if all of spectral range is to be used
PREVIOUS Yes if previous selection is to be used as a starting
point for the interactive selection.
ADD Used to confirm that more than one cross section are
to be used for an order's object.
CLEAR Used to confirm that all settings for an order to be
cleared.
QUITSEL Used to confirm quitting work on an echelle order.
Data quality information: Ignored.
Error data: Ignored.
Authors: Keith Shortridge, AAO
Files:
Selections made by ECHSELECT are written to ECHSELECT.LIS in the
default directory. This begins with a number of comment lines -
all of which have an '*' in the first column, and is then followed
by a single line for each cross-section which has been selected,
giving cross-section number and order number, in format 2I10.
If the cross-section is part of the sky selected for that order,
the order number given is the negative of the actual order number.
(Note that this program cannot cope with zeroth order!). This
file is also that read if PREVIOUS is set.
FIGARO A general data reduction system