It is sometimes useful to overplot the sources detected by imgcat0, or oyher codes, with ds9 region markers. As long as your detected table file has the following quantity names:
NumPix number of pixels Xcent Xc (intensity-weighted centroid) Ycent Yc (intensity-weighted centroid) asemi semi-major axis (pixels, second moment)(which imgcat0 does create!) then you can use this routine to overplot the detected source using a fixed-size (user-specified) circles.
% paint_table_sources --help Usage: paint_table_sources Rsco2039 1 N arg1 - Basename of local FITS image and table file arg2 - ds9 frame number where image is currently displayed arg3 - run in debug mode (Y/N)
The user is interactively queried for the minimum number of pixels in a source that will be plotted, the color to be used for the labels, and the radius in pixel units of the circular aperture used to mark the sources.