[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Sand 1, D-72076 Tübingen, Germany
[Uni logo]


SXDELPAR Source code in sxdelpar.pro

SXDELPAR

Name
       SXDELPAR
Purpose
       Procedure to delete a keyword parameter(s) from a FITS header
Calling Sequence
       sxdelpar, h, parname
Input Parameters
       h - FITS or STSDAS header, string array
       parname - string or string array of keyword name(s) to delete
Output Parameters
       h - updated FITS header, If all lines are deleted from
               the header, then h is returned with a value of 0
Example
       Delete the astrometry keywords CDn_n from a FITS header, h
       IDL> sxdelpar, h, ['CD1_1','CD1_2','CD2_1','CD2_2']
Note
       (1)  No message is returned if the keyword to be deleted is not found
       (2)  All appearances of a keyword in the header will be deleted
Revision History
       version 1  D. Lindler Feb. 1987
       Converted to new IDL  April 1990 by D. Lindler
       Test for case where all keywords are deleted    W. Landsman Aug 1995
       Converted to IDL V5.0   W. Landsman   September 1997
       Allow for headers with more than 32767 lines W. Landsman Jan. 2003

Last modified by pro2html on 2003 February 05 at 04:40 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically