[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

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


TBDELROW Source code in tbdelrow.pro

TBDELROW

Name
       TBDELROW
Purpose
       Delete specified row or rows of data from a FITS binary table
Calling Sequence
       TBDELROW, h, tab, rows
Parameters
       h,tab - FITS binary table header and data array.  H and TAB will
               be updated on output with the specified row(s) deleted.
       rows  -  scalar or vector, specifying the row numbers to delete
               First row has index 0.   If a vector it will be sorted and
               duplicates removed by TBDELROW
Example
       Compress a table to include only non-negative flux values
       flux = TBGET(h,tab,'FLUX')       ;Obtain original flux vector
       bad = where(flux lt 0)           ;Find negative fluxes
       TBDELROW,h,tab,bad               ;Delete rows with negative fluxes
Procedure
       Specified rows are deleted from the data array, TAB.  The NAXIS2
       keyword in the header is updated.
Revision History
       Written   W. Landsman        STX Co.     August, 1988
       Checked for IDL Version 2, J. Isensee, July, 1990
       Converted to IDL V5.0   W. Landsman   September 1997

Last modified by pro2html on 2001 April 26 at 03:12 UTC

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

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