Personal tools
You are here: Home / COSMOS / map-spectra

map-spectra

map-spectra

Back to Programs

map-spectra

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


USAGEmap-spectra observset
INPUTobservset.obsdef name of an existing observation definition file
OUTPUTobservset.map is a file with the mapping information
PARAMETERS
minlambdaminimum wavelength
maxlambdamaximum wavelength
minpixlminimum number of pixels of spectrum on a chip
use_holesmap alignment holes as well as slits
chipnumnumber of chips being used


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 insufficient number of pixels are entirely on one or more CCDs 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.

If you are working with a subset of data that consists of 4 chips, you can also change chipnum to 4 instead of 8, in order for later programs to work with the output map file. This was a recent, but temporary, fix for subsets of data and currently works only if you have the subset chips 1-4.


Back to Programs