apogee_sf

Contents

apogee_sf#

gaiaunlimited.selectionfunctions.apogee_sf(apparentH, unreddenedJK, position)#

Returns the probability that a star of given intrinsic colour (J-K)_0 and apparent magnitude H and given position on the sky was targeted by APOGEE or APOGEE-2.

Parameters:
  • apparentH (float or 1-d array) – the apparent magnitude H of the source.

  • unreddenedJK (float or 1-d array) – the intrinsic (J-K) colour of the source.

  • position (astropy.coordinates.SkyCoord) – Sky coordinates at which to compute the selection function.

Returns:

The selection function as either a float (between 0 and 1) or a numpy array of floats, with the same length as the input.