region_file_fits

beast.plotting.make_ds9_region_file.region_file_fits(input_file, col_color=None, col_thresh=None)[source]

Make a ds9 region file out of the catalog or AST fits file.

If you want some circles to be a different color, use the col_color and col_thresh to choose the column and threshold.

The region file will be saved in the same place and with the same name as input file, but with .reg instead of .fits.

Parameters
input_filesstring

path+file of the catalog or AST fits file

col_colorstring (default=None)

name of the column to use for coloring region circles differently

col_threshfloat (default=None)

sources with values greater than this will have regions colored differently