frb.surveys.desi
DESI
- class frb.surveys.desi.DESI_Survey(coord, radius, **kwargs)[source]
Bases:
DL_SurveyClass to handle queries on the DESI survey
Child of DL_Survey which uses datalab to access NOAO
- Args:
coord (SkyCoord) – Coordinate for surveying around
radius (Angle) – Search radius around the coordinate
- get_catalog(query=None, query_fields=None, print_query=False, exclude_stars=False, zcat_primary_only=True, **kwargs)[source]
Grab a catalog of sources around the input coordinate to the search radius
- Args:
query – SQL query
query_fields (list, optional) – Over-ride list of items to query
exclude_stars (bool,optional) – If the field ‘spectype’ is present and is ‘STAR’, remove those objects from the output catalog.
print_query (bool) – Print the SQL query generated
zcat_primary_only (bool) – If True, only return objects with zcat_primary=True
- Returns:
- Catalog of sources returned
Can be empty
- Return type:
astropy.table.Table