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

from NOAO coefs -- Extract dispersion coefs from mtn HeNeAr headersUSAGEPARAMETERSDESCRIPTIONEXAMPLESTIME REQUIREMENTSSEE ALSO

coefs -- Extract dispersion coefs from mtn HeNeAr headers


USAGE

coefs input records database


PARAMETERS

input

The input image root name for the spectral images containing the dispersion coefficients.

records

The range of records for which the root name applies.

database

The database file name which will contain the coefficients.


DESCRIPTION

The spectra specified by the combination of the root name and the records are scanned for the presence of dispersion coefficients. If present, the coefficients and necessary information are written to the file indicated by the database parameter. This file an then be used by the linearization program DISPCOR to correct any spectra for which the database is appropriate.

Each invocation of COEFS appends to the database file, or creates a new file if necessary.

The following assumptions are made concerning the coefficients, which are always correct for IIDS and IRS mountain reduced data at Kitt Peak.

5 (1)

The coefficients represent Legendre polynomials.

(2)

The coefficients apply to pixels 1 through 1024 in the original data.


EXAMPLES

The following example reads the coefficients from the headers for nite1 arc spectra taken near the beginning and end of the night and creates a database file called nite1.db:

cl> coefs nite1 3-4,201-202 nite1.db


TIME REQUIREMENTS

Approximately 1 second per spectrum is required. This is primarily overhead due to file access.


SEE ALSO

dispcor, identify,


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