map-spectra

map-spectra calculates the mapping between science plane (wavelength and slit coordinate) and ccd focal plane for a given observation set.

USAGE
map-spectra observset
INPUT
observset.obsdef name of an existing observation definition file
OUTPUT
observset.map is a file with the mapping information
PARAMETERS
minlambda
minimum wavelength
maxlambda
maximum wavelength
minpixl
minimum number of pixels of spectrum on a chip
use_holes map alignment holes as well as slits


Details

  minpixl allows one to discard very short spectrum segments if desired. map-spectra does not map slits when an end of the slit falls off the edge of the ccd. Slits that are not mapped because an insufficent number of pixels are entirely on one or more ccd's are reported when the program exits. You must set use_holes to "y" if you intend to use the alignment stars during the extraction in extract-2dspec.

Back to programs