next up previous 79
Next: EXTLIST-Adds non-contiguous lines of an image to form a spectrum
Up: Applications in detail
Previous: EXAM-Display the contents/structure of data file


EXTIN-Correct spectrum for atmospheric extinction

Description:
Given a spectrum and a calibration spectrum whose elements give the extinction coefficients at the wavelengths of the spectrum, corrects that spectrum for atmospheric extinction.

Parameters:
SPECTRUM
The spectrum specified by SPECTRUM will be corrected for extinction, given the extinction coefficients in the coefficient spectrum, and taking account of the air mass of the observation. So SPECTRUM should have a valid value for .OBS.SECZ (the program will complain if it doesn't). The correction algorithm used allows for the data being calibrated in magnitudes.
COEFF
A spectrum whose elements give the extinction coefficients applicable for the observation. COEFF will normally have been prepared by first generating a spiketrum from a table of coefficients using GSPIKE and then using LINTERP to linearly interpolate between them.
OUTPUT
Specifies the name of the calibrated spectrum to be produced by EXTIN. Note that this can be the same as for SPECTRUM, in which case the operation will be performed in situ.

Source comments:
 E X T I N

 Corrects a spectrum for extinction, given a coefficient spectrum
 which gives the interpolated extinction coefficients over the
 wavelength range of the spectrum.  The spectrum must have
 a valid .OBS.SECZ value.

 Command parameters -

 SPECTRUM    (Character) The spectrum to be corrected.
 COEFF       (Character) The coefficient spectrum.
 OUTPUT      (Character) The resulting spectrum.

 Command keywords - None

 User variables used - None

                                     KS / CIT 24th July 1984


next up previous 79
Next: EXTLIST-Adds non-contiguous lines of an image to form a spectrum
Up: Applications in detail
Previous: EXAM-Display the contents/structure of data file

FIGARO A general data reduction system
Starlink User Note 86
Keith Shortridge, Horst Meyerdierks,
Malcolm Currie, Martin Clayton, Jon Lockley,
Anne Charles, Clive Davenhall,
Mark Taylor, Tim Ash, Tim Wilkins, Dave Axon,
John Palmer, Anthony Holloway and
Vito Graffagnino
2004 February 17
E-mail:ussc@star.rl.ac.uk

Copyright © 2009 Science and Technology Facilities Council