/ICRS2GCC

Project with Fredi Quispe H and Antonia Fernandez: To carry out the transformation of coordinates from ICRS (International Celestial Reference System) to Galactocentric coordinates (CGC) using Bayesian method for stars with full astrometric information in Gaia.

Primary LanguagePythonMIT LicenseMIT

ICRS2GCC

Project with Fredi Quispe H, Antonia Fernandez, and Belinda Blakley

Objective:

To carry out the transformation of coordinates from ICRS (International Celestial Reference System) to GalactoCentric coordinates (GCC) using Bayesian method for stars with full astrometric information in Gaia.

$$ \mathrm{\left[ \alpha,\delta,\mu_{\alpha}*\mu_{\delta},\varpi,~rv \right]{ICRS}\rightarrow \left[X,~Y,~Z,~V{x},~V_{y},~V_{z} \right]_{CGC}} $$

Theoretical framework:

To carry out the transformation from ICRS to CGC, it is necessary to have the following parameters: Position, proper motion in right ascension and declination, distance, radial velocity and the coefficients of correlation between parameters. However, in order to take into account the correlation coefficients between the parameters (given by Gaia) and the propagation of errors during the transformation, for stars with relative error in parallax ($f \equiv \sigma_{\varpi}/\varpi < 0.1$) and ($f > 0.1$), it is necessary to perform a Bayesian treatment. This procedure is described Marchetti et al. 2018 (section 2) for both cases.


Steps:

  1. Query object from Gaia EDR3 database (for this step we can use astroquery)

  2. Sampling ICRS coordinates using multivariate gaussian distribution

    • Get the covariance matrix using the correlations coefficients from Gaia.
    • Get the distance ($f < 0.1$):
      • Run 1000 Monte Carlo simulations
      • Calculate the distance inverting the paralaxe ($d=1/\varpi$) for each simulation
      • Get the distance as the mean of all the distances found in the simulations
    • Get the distance ($f > 0.1$) or ($f < 0$):
      • Use MCMC to estimate the posterior distribution of the distance (using priors and likelihood described in the paper)
      • Extract distance from the posterior distribution
  3. Transform the elements of the sampling using the Galactocentric "function" in astropy