stam.gaia.calc_extinction

stam.gaia.calc_extinction(b, parallax, z_sun=1.4, sigma_dust=150, R_G=2.740, R_BP=3.374, R_RP=2.035)[source]

Calculate the extinction and reddening, based on Galactic latitude and distance, using eq. 2 of Sollima (2019): https://ui.adsabs.harvard.edu/abs/2019MNRAS.489.2377S/abstract R coefficients from Casagrande & VandenBerg (2018), table 2: https://ui.adsabs.harvard.edu/abs/2018MNRAS.479L.102C/abstract

Parameters:
  • b (array_like) – Galactic latitude, in deg.

  • parallax (array_like) – Parallax, in mas.

  • z_sun (float, optional) – Sun’s height above the Galactic plane, in pc (default: 1.4 pc).

  • sigma_dust (float, optional) – The Gaussian distribution sigma of the Galactic dust, in pc (default: 150 pc).

  • R_G (float, optional) – Gaia G-band extinction coefficient (default: 2.740).

  • R_BP (float, optional) – Gaia Gbp-band extinction coefficient (default: 3.374).

  • R_RP (float, optional) – Gaia Grp-band extinction coefficient (default: 2.035).

Returns:

  • e_bprp (array_like) – Reddening in the Gaia bands, E(Gbp-Grp).

  • A_G (array_like) – Gaia G-band extinction, A_G = R_G * E(Gbp-Grp).