radecbox - Search an starbase data table catalog for targets in an ra dec specified box.
`radecbox` *file* *ra* *dec* *width*
file
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.
ra
Right Ascension of the center of the search box in hours.
dec Declination of the center of the search box in degrees.
width
Width of the search box in degrees.
height Height of the search box in hours. This parameter is optional and the height is computed from the width for create a square box on the sky if the height is omitted.
rcol
The column name of the ra column defaults to "ra".
dcol
The column name of the dec column defaults to "dec".
search
The search method to use. Three search methods are
implemented. The default method is "fast"
debug
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 square box 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.
john@@panic: [index](index.html) -mb -h catalog.tab RA
john@@panic: [index](index.html) -mi -h catalog.tab Dec
john@@panic: radecbox catalog.tab ra=2:30:03.5 dec=34:45:00 width=0:03:00
radeccirc - Search an starbase data table catalog for targets in an ra dec specified circle.