effects.milkyway

Contents

effects.milkyway#

This module provides utilities and model for Milky Way dust extinction.

skysurvey.effects.milkyway.get_mwebv(ra, dec, which='planck')[source]#

Get the Milky Way E(B-V) extinction parameter for input coordinates.

This is based on dustmaps. If this is the first time you use it, you may have to download the maps first (instructions will be given).

Parameters:
  • ra (float, array) – Coordinates.

  • dec (float, array) – Coordinates.

  • which (str) – Name of the dustmap to use. - planck: Planck (2013) - sfd: Schlegel, Finkbeiner & Davis (1998)

Returns:

E(B-V) values.

Return type:

array