[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Waldhäuser Str. 64, D-72076 Tübingen, Germany
[Uni logo]


FTAB_PRINT Source code in ftab_print.pro

FTAB_PRINT

Name
       FTAB_PRINT
Purpose
       Print the contents of a FITS (binary or ASCII) table extension.
Explanation
       User can specify which rows or columns to print
Calling Sequence
       FTAB_PRINT, filename, columns, rows, [ TEXTOUT=, FMT=, EXTEN_NO=]
Input Parameters
       filename - scalar string giving name of a FITS file containing a
               binary or ASCII table
       columns - string giving column names, or vector giving
               column numbers (beginning with 1).  If string
               supplied then column names should be separated by comma's.
       rows - (optional) vector of row numbers to print (beginning with 0).
               If not supplied or set to scalar, -1, then all rows
               are printed.
Keyword Parameters
       EXTEN_NO - Extension number to read.   If not set, then the first
               extension is printed (EXTEN_NO=1)
       TEXTOUT - scalar number (0-7) or string (file name) determining
               output device (see TEXTOPEN).  Default is TEXTOUT=1, output
               to the user's terminal
       FMT = Format string for print display (binary tables only).   If not
               supplied, then any formats in the TDISP keyword fields will be
               used, otherwise IDL default formats.    For ASCII tables, the
               format used is always as stored in the FITS table.
Example
       Print all rows of the first 5 columns of the first extension of the
       file 'wfpc.fits'
               IDL> ftab_print,'wfpc.fits',indgen(5)+1
System Variables
       Uses the non-standard system variables !TEXTOUT and !TEXTUNIT
       which must be defined (e.g. with ASTROLIB) prior to compilation.
Procedures Used
       FITS_OPEN, FITS_READ, FTPRINT, TBPRINT
Revision History
       version 1  W. Landsman    August 1997
       Converted to IDL V5.0   W. Landsman   September 1997

Last modified by pro2html on 2001 August 07 at 09:43 UTC

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

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