IRAF help page for package noao.imred.iids, program sums

from NOAO sums -- Generate sums of the sky and object spectra for each apertureUSAGEPARAMETERSDESCRIPTIONEXAMPLES

sums -- Generate sums of the sky and object spectra for each aperture


USAGE

sums input records


PARAMETERS

input

The root file name for the input spectra in the string.

records

The range of spectra indicating the elements of the string. The names of the spectra will be formed by appending the range elements to the input root name.

output

This is the root file name for the names of the spectra which will be created by the summation operation.

start_rec

The starting record number to be appended to the root name of the created spectra.


DESCRIPTION

All the object spectra for each aperture are summed, and the sky spectra are also summed to produce two new spectra for each observing aperture. Exposure times are accumulated. No tests are made to check whether the object is consistent among the specified spectra. This could be accomplished by checking the titles or telescope positions, but it isn't.

The header parameters OFLAG and BEAM-NUM must be properly set in the headers.


EXAMPLES

The following example forms 4 new spectra from nite1.2001-nite1.2002, nite1.2003-nite1.2004, ... assuming this string is derived from IIDS spectra.

cl> sums nite1 2001-2100


This page automatically generated from the iraf .hlp file. If you would like your local iraf package .hlp files converted into HTML please contact Dave Mills at NOAO.

dmills@noao.edu