FTINFO
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