Personal tools
You are here: Home / COSMOS2 / spectral-map

spectral-map

Back to Programs

spectral-map

spectral-map uses the information in an spectral map to calculate the expected locations, on each chip, of spectral lines. as well as their location on an 8- chip mosaic. Output is a file containing coordinate information, aperture type, and object name.


USAGEspectral-map -m mapfile -l linefile -b binning[-c] [-e]
INPUT
mapfile.map is the applicable spectral map file
linefile is either one wavelength, or a file with a list of wavelengths to be plotted
binning is the binning of the CCD data
OUTPUTmapfile.xy aperture data file
PARAMETERSnone


Details:

The binning parameter can be a single number (1,2,4) or a double number (i.e. 12) if binning is different in the x and y directions. If linefile is a number (i.e. contains no alphabetical characters) it is interpreted as a single wavelength for the linelist. If the flag -c is included, spectral-lines calculates the positions of objects along the slit rather that the slit center; if the flag -e is included, the two ends of the slit are marked instead.


Each line of the output file has the following format:

X(mosaic)   Y(mosaic)   Object #    ObjectName   Chip      X(ccd)     Y(ccd)  Wavelength


Back to Programs