Extract the circle markers from a ds9 regions file and build a new regions file that uses point types. The user specifies the point type and color.
For a more detiled description see:
% ds9_region_circle2point --help
Usage: ds9_region_circle2point P1_XYcenStars.reg new.reg circle blue Y
arg1 - name of region file with circle markers
arg2 - name of new region file to be made
arg3 - name of new point marker type (circle, box, ...)
arg4 - colorof new point markers
arg5 - run in debug mode (Y/N)
Point types availble in ds9:
circle
box
diamond
cross
x
arrow
boxcircle
A practical use of this routine is illustrated below.
![]() |
| On the left is an example of the the star positions overplotted on an images gathered in a dithered observation. The XY positions were computed with the ds9_imstats_fitslist code and the regions file used circle markers with a 1 pixel radius. On the right we have used ds9_region_circle2point to change the region type to circle points. This is obviously easier to see. |