GaiaCatalog#
- class prose.blocks.catalogs.GaiaCatalog(correct_pm=True, limit=10000, mode: 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.sourcesif mode is “crossmatch” and validImage.wcswrite
Image.catalogsImage.sourcesif 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