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.

Parameters:
  • incl_focus (bool) – if True, include the focus ccds.

  • coef (tuple) – coefficient to convert from pixel to degree.

Return type:

shapely.geometry.MultiPolygon

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.

Parameters:
  • origin (float) – origin of the ra coordinates.

  • incl_focus (bool) – if True, include the focus ccds.

  • fieldid_name (str) – name of the fieldid column.

Return type:

geopandas.GeoDataFrame

class skysurvey.survey.des.DES(data=None, fields=None, footprint=None, **kwargs)[source]#

Bases: GridSurvey

The 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: Survey

The 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().