get_catalog
- stcal.tweakreg.astrometric_utils.get_catalog(right_ascension, declination, epoch=2016.0, search_radius=0.1, catalog='GAIADR3', timeout=30.0)[source]
Extract catalog from VO web service.
- Parameters:
right_ascension (float) – Right Ascension (RA) of center of field-of-view (in decimal degrees)
declination (float) – Declination (Dec) of center of field-of-view (in decimal degrees)
epoch (float or None, optional) – Reference epoch used to update the coordinates for proper motion (in decimal year). When
Noneno proper motion correction will be performed and all sources (even those without proper motion) will be returned. When notNoneonly sources with proper motion will be returned. Default: 2016.0search_radius (float, optional) – Search radius (in decimal degrees) from field-of-view center to use for sources from catalog. Default: 0.1 degrees
catalog (str, optional) – Name of catalog to query, as defined by web-service. Default: ‘GAIADR3’
timeout (float, optional) – Timeout in seconds to wait for the catalog web service to respond. Default: 30.0 s
- Returns:
csv – CSV object of returned sources with all columns as provided by catalog
- Return type:
~astropy.table.Table