CatalogQuerier

class CatalogQuerier[source]

Class to handle external data queries using Astroquery Vizier. This class is a wrapper for the Astroquery Vizier and Skybot classes. This class providies

  1. Vizier catalog query (SDSS, GAIA, 2MASS, AllWISE, PS1)
    • SDSS: SDSS DR17

    • GAIA: Gaia DR3

    • 2MASS: 2MASS All-Sky Point Source Catalog

    • AllWISE: AllWISE Data Release

    • PS1: PanSTARRS DR1

  2. Skybot catalog query (SKYBOT)
    • SKYBOT: Skybot

__init__(catalog_key=None)[source]

Methods

query(self, coord, epoch=None, radius_arcsec=3600)

Query a specific catalog around given coordinates.

This method will search for the catalog in the catalog defined by the current_catalog_key. If the current_catalog_key is ‘SKYBOT’, it will use the Skybot catalog query. Otherwise, it will use the Vizier catalog query.

Parameters:
  • coord (SkyCoord) – The coordinates to query.

  • epoch (Time, optional) – The epoch to query.

  • radius_arcsec (float, optional) – The radius to query in arcseconds.

Returns:

The catalog table.

Return type:

Table

change_catalog(self, catalog_key)

Change the current catalog to query.

Parameters:

catalog_key (str) – The catalog key to change to.

Return type:

None

show_available_catalogs(self)

Display available catalogs.

Returns:

list of catalog keys – List of available catalogs.

Return type:

list

Properties

Key Properties

Property

Description

catalog_ids

Get the available catalog IDs.

config

Get the configuration of the CatalogQuerier.

current_catalog_id

Get the current catalog ID.