[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Sand 1, D-72076 Tübingen, Germany
New Address!   --   Neue Adresse!
[Uni logo]


FTADDCOL Source code in ftaddcol.pro

FTADDCOL

Name
      FTADDCOL
Purpose
      Routine to add a field to a FITS ASCII table
Calling Sequence
      ftaddcol, h, tab, name, idltype, [ tform, tunit, tscal, tzero, tnull ]
Input Parameters
      h - FITS table header.  It will be updated as appropriate
      tab - FITS table array.  Number of columns will be increased if
               neccessary.
      name - field name, scalar string
      idltype - idl data type (as returned by SIZE function) for field,
               For string data (type=7) use minus the string length.
Optional Input Parameters
       tform - format specification 'qww.dd' where q = A, I, E, or D
       tunit - string giving physical units for the column.
       tscal - scale factor
       tzero - zero point for field
       tnull - null value for field
       Use '' as the value of tform,tunit,tscal,tzero,tnull if you want
       the default or no specification of them in the table header.
Output Parameters
       h,tab - updated to allow new column of data
Procedures Used
       FTINFO, FTSIZE, GETTOK(), SXADDPAR
Revision History
       version 1  D. Lindler   July, 1987
       Converted to IDL V5.0   W. Landsman   September 1997
       Updated call to new FTINFO   W. Landsman   April 2000

Last modified by pro2html on 2002 September 04 at 03:37 UTC

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

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