stam.gaia.calc_gaia_extinction

stam.gaia.calc_gaia_extinction(gaia, **kwargs)[source]

Calculate the extinction and reddening for all the sources in the Gaia table.

Parameters:
  • gaia (FITS table) – Gaia table.

  • kwargs (optional) – Any additional keyword arguments to be passed to stam.gaia.calc_extinction.

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