Performs the wavelength calibration of an image by using the polynomial fits obtained with fitlin for other frames. Generates a flux calibration spectrum using splines. Calculates the airmass for fixed observing conditions. Corrects spectra from atmospheric and interstellar extinction. Calculates and subtracts a sky image by fitting polynomials to each channel.
Measures indices in a fully calibrated image.
The program requires an external file containing the index definitions. For this purpose, the program looks first for a file called 'myindex.dat' in the current directory. If this last file is also missing, the program stops. Determines redshifts by using cross correlation. Transforms r.a. and dec.