def conesearch(center, radius, verb=1, **kwargs):
 from .. import conf
 (ra, dec) = _validate_coord(center)
 sr = _validate_sr(radius)
 verb = _local_conversion(int, verb)
 if (verb not in (1, 2, 3)):
  raise ConeSearchError(u'Verbosity must be 1, 2, or 3')
 args = {u'RA': ra, u'DEC': dec, u'SR': sr, u'VERB': verb}
 return vos_catalog.call_vo_service(conf.conesearch_dbname, kwargs=args, **kwargs)

def conesearch ( center , radius , verb = 1 , ** kwargs ) : from . . import conf ( ra , dec ) = _validate_coord ( center ) sr = _validate_sr ( radius ) verb = _local_conversion ( int , verb ) if ( verb not in ( 1 , 2 , 3 ) ) : raise ConeSearchError ( u'Verbosity must be 1, 2, or 3' ) args = { u'RA' : ra , u'DEC' : dec , u'SR' : sr , u'VERB' : verb } return vos_catalog . call_vo_service ( conf . conesearch_dbname , kwargs = args , ** kwargs )
perform cone search and returns the result of the first successful query .