function oc_search_pos_single_2mass, ra, dec, radius, nstars, _extra=extra ; Searches for stars in the 2MASS catalog. ; ; Inputs: ; ra: J2000 RA of search center (radians, double) ; dec: J2000 Dec of search center (radians, double) ; radius: Search radius (radians, double) ; ; Outputs: ; nstars: optional returned value which indicates number of stars found. ; ; Returned value: ; star: List of matching stars (array[nstars] of structures) ; ; Details: ; This routine searches the 2MASS catalog. It is a wrapper routine to the ; functions that actually do the searching. ; ; Author: HBT ; ; History: ; 25-Apr-2006: Original version HBT. Based on oc_search_single_tyc2.pro catalog_pass = '2MASS' return, oc_search_pos_fullcat(catalog=catalog_pass, ra, dec, radius, $ nstars, _extra=extra) end