stam.gaia.calc_absmag_uncertainty

stam.gaia.calc_absmag_uncertainty(gaia)[source]

Calculate the Gaia absolute magnitude uncertainty in an arbitrary band, using data from the gaiadr3.synthetic_photometry_gspc table.

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

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

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

Returns:

mg_error – Gaia absolute magnitude uncertainty in the selected band.

Return type:

array_like