radeccirc - Search an starbase data table catalog for targets in an ra dec
specified circle. radeccirc file ra dec radius
SYNOPSYS
radecbox file ra dec radius
Input catalog to search, this file must have ra and dec columns. If the search parameter not set to "row" the input file must be be a real file (not a pipe) and be numericly indexed on the ra column. The ra column should be in units of hours and the dec column should be in units of degrees.
Right Ascension of the center of the search box in hours.
The radius of the circle to search in degrees.
The column name of the ra column defaults to "ra".
The column name of the dec column defaults to "dec".
The search method to use. Three search methods are implemented. The default method is "fast"
Control debug output. The default is debug=0. When debug=1 the commands that will be executec are printed out on the standard error instead. When debug=2 the commands are printed and executed.
Search a for all the stars withing a 3 arc minute circle radius at 2:30:03.5 hours RA and 34:45:00 deg Dec. If the catalog is indexes the search will be done using the fast index program search.
Then search at the same point with a 3 arc minute circle diameter circle.
john@@panic: @index -mb -h catalog.tab RA john@@panic: @index -mi -h catalog.tab Dec john@@panic: radeccirc catalog.tab ra=2:30:03.5 dec=34:45:00 radius=0:03:00 john@@panic: radeccirc catalog.tab ra=2:30:03.5 dec=34:45:00 width=0:03:00