stam.gaia.get_extinction_in_band
- stam.gaia.get_extinction_in_band(e_bv, R_G=2.740, R_BP=3.374, R_RP=2.035)[source]
Convert the extinction and reddening to the selected bands.
Gaia band R coefficients from Casagrande & VandenBerg (2018), table 2: https://ui.adsabs.harvard.edu/abs/2018MNRAS.479L.102C/abstract
Johnson-Cousins bands R coefficients from Munari and Carraro (1996), table 2 (assuming Rv=3.1): https://ui.adsabs.harvard.edu/abs/1996A%26A…314..108M/abstract
- Parameters:
e_bv (float) – The E(B-V) value in mag.
mag_filter (str, optional) – The main band (default: “Gmag”).
color_filter1 (str, optional) – The first color band (default: “G_BPmag”).
color_filter2 (str, optional) – The second color band (default: “G_RPmag”).
R_G (float, optional) –
R_BP (float, optional) –
R_RP (float, optional) –
R_V (float, optional) –
- Returns:
excess (array_like) – Reddening (color excess) in the selected color, e.g. E(BP-RP).
A (array_like) – Extinction in the selected main band, e.g. A_G.