Detailed API documentation#
pygaia.astrometry.constants Module#
Provides numerical constants useful for astrometric calculations.
pygaia.astrometry.coordinates Module#
Provides tools for coordinate transformation and epoch propagation.
Functions#
|
Calculate the angular distance between pairs of sky coordinates. |
Classes#
|
Provides methods for carrying out transformations between different coordinate (reference) systems. |
|
Enumeration with the available coordinate tranformations. |
Provides methods for transforming the astrometry and radial velocity of a given source to a different epoch. |
pygaia.astrometry.vectorastrometry Module#
Provides vector astrometry functions.
Functions#
|
Convert spherical to Cartesian coordinates. |
|
Convert Cartesian to spherical coordinates. |
|
Calculate the so-called normal triad [p, q, r] associated with a spherical coordinate system. |
|
Construct an elementary rotation matrix describing a rotation around the x, y, or z-axis. |
|
From the given phase space coordinates calculate the astrometric observables, including the radial velocity, which here is seen as the sixth astrometric parameter. |
|
From the input astrometric parameters calculate the phase space coordinates. |
pygaia.errors.astrometric Module#
Provides functions for simulation the astrometric uncertainties in the Gaia catalogue data for Gaia DR3+. The code reproduces the uncertainty model described on the Gaia science performance pages.
Functions#
|
Calculate the sky averaged parallax uncertainty as a function of G, for a given Gaia data release. |
|
Calculate the sky averaged position uncertainties from G, for a given Gaia data release. |
|
Calculate the sky averaged proper motion uncertainties from G, for a given Gaia data release. |
|
Calculate the sky averaged total position uncertainty as a function of G and for the given Gaia data release. |
|
Calculate the sky averaged total proper motion uncertainty as a function of G and for the given Gaia data release. |
pygaia.errors.photometric Module#
Provides functions for simulating the photometric (\(G\), \(G_\mathrm{BP}\), \(G_\mathrm{RP}\)) uncertainties on the Gaia broad-band photometry for Gaia DR3+. The code reproduces the uncertainty model described on the Gaia science performance pages.
Code taken (with permission) from the notebook at gaia-dpci/gaia-dr3-photometric-uncertainties
Functions#
|
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). |
Classes#
Estimate the log(mag) vs mag uncertainty for \(G\), \(G_\mathrm{BP}\), \(G_\mathrm{RP}\) based on Gaia EDR3 photometry. |
pygaia.errors.spectroscopic Module#
Provides functions for simulating the radial velocity uncertainties in the Gaia DR3+ catalogue data. The code reproduces the uncertainty model described on the Gaia science performance pages.
Functions#
|
Simulate the Gaia DR3 radial velocity uncertainty for the input list of \(G_\mathrm{RVS}\), \(T_\mathrm{eff}\), and \(\log(g)\) values. |
pygaia.errors.utils Module#
Utility functions for the uncertainty simulations.
Functions#
|
Calculate the value for the parameter z in the formula for parallax errors as a function of G and (V-I). |
|
Calculate the value for the parameter z in the formula for G magnitude errors as a function of G and (V-I). |
|
Calculate the value for the parameter z in the formula for the BP and RP magnitude errors as a function of G and (V-I). |
pygaia.photometry.transformations Module#
Provides transformations between Gaia and a few other photometric systems.
The transformations are taken from the Gaia DR3 documentation.
Functions#
|
Transformation from Johnson-Cousins \(V-I_\mathrm{c}\) to Gaia magnitudes. |
|
Transformation from Johnson-Cousins \(V-I_\mathrm{c}\) to \(G-I_\mathrm{c}\). |
|
Calculate \(G_\mathrm{RVS}\) from the input value(s) of \(G-G_\mathrm{RP}\). |
|
Calculate \(G_\mathrm{RVS}\) from the input value(s) of \(V-I_\mathrm{c}\). |
pygaia.photometry.utils Module#
Provides utility functions for photometric transformations. Values of \(M_V\) and \(V-I_\mathrm{c}\) are from Pickles (1998).
Functions#
|
Obtain \((V-I_\mathrm{c})\) for the input spectral type. |
|
Obtain \(M_V\) (absolute magnitude in \(V\)-band) for the input spectral type. |
|
Obtain \(M_G\) (absolute magnitude in \(G\)-band) for the input spectral type. |
pygaia.plot.sky Module#
Function for visualizing coordinate transformations on the sky.
Functions#
|
Produce a sky-plot in a given coordinate system with the meridians and parallels for another coordinate system overlayed. |