stam.gaia.calc_color_uncertainty

stam.gaia.calc_color_uncertainty(gaia, color_filter1='u', color_filter2='z', photsystem='sdss')[source]

Calculate the Gaia color uncertainty in arbitrary colors, using data from the gaiadr3.synthetic_photometry_gspc table.

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

  • color_filter1 (str, optional) – Bluer band to use for the color calculation (default: u).

  • color_filter2 (str, optional) – Redder band to use for the color calculation (default: z).

  • mag_filter (str, optional) – Which band to use for the magnitude axis (default: Gmag).

  • photsystem (str, optional) – The photometric system of the filters (default: sdss).

Returns:

color_error – Gaia uncertainty of the selected color.

Return type:

array_like