idlastro / DAOPHOT-Type Photometry Procedures: T_GROUP

[Source code]

NAME
T_GROUP
PURPOSE
Driver procedure (for GROUP) to place stars in non-overlapping groups.
EXPLANATION
This procedure is part of the DAOPHOT sequence that places star
positions with non-overlapping PSFs into distinct groups   
Input and output are to FITS ASCII tables
CALLING SEQUENCE
T_GROUP, fitsfile, [ rmax, XPAR = , YPAR = , NEWTABLE = ]
INPUTS
FITSFILE -  Name of disk FITS ASCII table containing the X,Y positions
        in FITS (FORTRAN) convention (first pixel is 1,1)
OPTIONAL INPUTS
rmax - maximum allowable distance between stars in a single group
OPTIONAL INPUT KEYWORDS
XPAR, YPAR - scalar strings giving the field name in the output table
        containing the X and Y coordinates.   If not supplied,
        then the fields 'X' and 'Y' are read.
NEWTABLE - scalar giving name of output disk FITS ASCII table.   If not
        supplied, 
PROCEDURES
FTADDCOL, FTGET(), FTINFO, FTPUT, GROUP, READFITS(), SXADDHIST, 
SXADDHIST, WRITEFITS
REVISION HISTORY
Written, W. Landsman        STX Co.      May, 1996
Converted to IDL V5.0   W. Landsman   September 1997
pdated for new FTINFO call    W. Landsman    May 2000