LWS
lwscoadd IDL routine

lwscoadd_koa

Name

lwscoadd_koa -- Convert raw 6-dimensional LWS image to 2-D FITS frame

Purpose

Read an FITS file generated by the W. M. Keck Observatory's Long Wavelength Spectrometer (LWS) into IDL data and header variables, coadds extensions, and writes result to output FITS file.
filename
Scalar string containing the name of the FITS file (including extension) to be read. If the filename has a *.gz extension, it will be treated as a gzip compressed file. If it has a .Z extension, it will be treated as a Unix compressed file.

Outputs

result
Co-added (2-D) FITS FITS files constructed from designated record.

Example

Error Handling

If an error is encountered reading the FITS file, then the error message is displayed

Procedures Used

Requirements

Needs routines listed above from the IDL Astronomy Library.

Note

Under Unix, lwscoadd_koa can also read gzip or Unix compressed FITS files. See this description for other ways of reading FITS files with IDL.

Author

Gregory D. Wirth, W. M. Keck Observatory

Support

Send questions to the

Modification History

19-Jan-2000 [GDW]
Original version
22-Aug-2014 [JH]
Modifications for KOA:
  • Removed messages silent option & returned-numbers
  • added writefits
  • See Also

    The source code for lwscoadd_koa.pro
    The IRAF version of lwscoadd


    Go to: LWS Home Page - Instruments Home Page - Keck Home Page

    Last modified: Wed Jan 30 11:20:24 HST 2002