survey.des#
This module defines the DES and DESWide survey classes and utilities functions for the DECam footprint and the DES fields.
- skysurvey.survey.des.get_des_footprint(incl_focus=False, coef=(6.53, 6.12))[source]#
DECam footprint (with or without the ‘F’ ccds). (see https://noirlab.edu/science/programs/ctio/instruments/Dark-Energy-Camera/characteristics)
Footprint is north up ; east right.
- skysurvey.survey.des.get_des_field_coordinates(fieldid_name='fieldid')[source]#
Get the radec location of the DES shallow (8) and deep (2) fields.
- Parameters:
fieldid_name (str) – name of the fieldid column.
- Return type:
pandas.DataFrame
- skysurvey.survey.des.get_des_fields(origin=180, incl_focus=False, fieldid_name=None)[source]#
Get the DES fields as a geopandas.GeoDataFrame.
- class skysurvey.survey.des.DES(data=None, fields=None, footprint=None, **kwargs)[source]#
Bases:
GridSurveyThe DES grid-based survey with predefined fields and DECam footprint.
- Parameters:
data (pandas.DataFrame) – observing data.
fields (geodataframe) – field definitions.
footprint (shapely.geometry) – footprint in the sky of the observing camera.
_DEFAULT_FIELDS (geopandas.GeoDataFrame) – The standard DES field definitions loaded via
get_des_fields()._FOOTPRINT (shapely.geometry.Polygon) – The DECam camera footprint loaded via
get_des_footprint().
- class skysurvey.survey.des.DESWide(footprint=None, nside=200, data=None)[source]#
Bases:
SurveyThe DES wide-field survey with the DECam footprint.
- Parameters:
footprint (shapely.geometry) – footprint in the sky of the observing camera
nside (int) – healpix nside parameter
data (pandas.DataFrame) – observing data.
_FOOTPRINT (shapely.geometry.Polygon) – The DECam camera footprint loaded via
get_des_footprint().