idlastro / FITS ASCII & Binary Table I/O: FTINFO

[Source code]

NAME
FTINFO
PURPOSE
Return an informational structure from a FITS ASCII table header.
CALLING SEQUENCE
ftinfo,h,ft_str, [Count = ]
INPUTS
h - FITS ASCII table header, string array
OUTPUTS
ft_str - IDL structure with extracted info from the FITS ASCII table
         header.   Tags include
 .tbcol - starting column position in bytes
 .width - width of the field in bytes
 .idltype - idltype of field.
                7 - string, 4- real*4, 3-integer, 5-real*8
 .tunit - string unit numbers
 .tscal - scale factor
 .tzero - zero point for field
 .tnull - null value for the field
 .tform - format for the field
 .ttype - field name
OPTIONAL OUTPUT KEYWORD
Count - Integer scalar giving number of fields in the table
PROCEDURES USED
GETTOK(), SXPAR()
NOTES
This procedure underwent a major revision in May 2000, and **THE
NEW CALLING SEQUENCE IS INCOMPATIBLE WITH THE OLD ONE **
HISTORY
D. Lindler  July, 1987
Converted to IDL V5.0   W. Landsman   September 1997
Major rewrite, return structure   W. Landsman   April 2000