correct_flux_excess_factor#
- agabpylib.gaia.edrthree.correct_flux_excess_factor(bp_rp, phot_bp_rp_excess_factor)#
Calculate the corrected flux excess factor for the input Gaia EDR3 data.
- Parameters:
bp_rp (float or float array) – The (BP-RP) colour listed in the Gaia EDR3 archive.
phot_bp_rp_excess_factor (float or float array) – The flux excess factor listed in the Gaia EDR3 archive.
- Returns:
phot_bp_rp_excess_factor_cor – The corrected value for the flux excess factor, which is zero for “normal” stars.
- Return type:
float or float array
Notes
This function is applicable to photometry from both Gaia EDR3 and Gaia DR3.
Examples
>>> phot_bp_rp_excess_factor_corr = correct_flux_excess_factor(bp_rp, phot_bp_rp_flux_excess_factor)