parallax_uncertainty#

pygaia.errors.astrometric.parallax_uncertainty(gmag, release='dr4')#

Calculate the sky averaged parallax uncertainty as a function of G, for a given Gaia data release.

Parameters:
  • gmag (float or float array) – Value(s) of G-band magnitude.

  • release (str) – Specify the Gaia data release for which the performance is to be simulated. ‘dr3’ -> Gaia (E)DR3, ‘dr4’ -> Gaia DR4, ‘dr5’ -> Gaia DR5. Default is ‘dr4’.

Returns:

parallax_uncertainty – The parallax uncertainty in micro-arcseconds.

Return type:

float or array

Raises:

ValueError – When an invalid string is specified for the release parameter.