magnitude_uncertainty#

pygaia.errors.photometric.magnitude_uncertainty(band, maglist: array([], dtype=float64) = 15.0, release='dr4')#

Provide the uncertainty for \(G\), \(G_\mathrm{BP}\), and \(G_\mathrm{RP}\) as a function of magnitude (math:G, \(G_\mathrm{BP}\), and \(G_\mathrm{RP}\), respectively).

Parameters:
  • band (str) – name of the band for which the uncertainties are requested (case-insensitive). Must be one of “g”, “gbp”, or “grp”.

  • maglist (ndarray, float) – List of magnitudes in the same band for which the uncertainties are requested. Must be a scalar float value or an array of float values. The values must be in the range [4, 21].

  • release (str) – Gaia data release for which the uncertainties are requested (case-insensitive). Must be one of “dr3”, “dr4”, or “dr5”.

Returns:

uncs – Array with uncertainties in units of mmag.

Return type:

ndarray, float