GaiaCatalog#

class prose.blocks.catalogs.GaiaCatalog(correct_pm=True, limit=10000, mode: Optional[str] = None)[source]#

Query gaia catalog

Catalog is written in Image.catalogs as a pandas DataFrame. If mode is “”crossmatch” the index of catalog sources in the DataFrame matches with the index of sources in Image.sources

read Image.sources if mode is “crossmatch” and valid Image.wcs

write Image.catalogs

  • Image.sources if mode is “crossmatch”

  • Image.catalogs

Parameters:
  • correct_pm (bool, optional) – whether to correct proper motion, by default True

  • limit (int, optional) – limit number of stars queried, by default 10000

  • mode (["replace", "crossmatch", None], optional) – “crossmatch” to match existing Image.sources or “replace” to use queried stars as Image.sources. Default is None and only write to Image.catalogs