Code Monkey home page Code Monkey logo

icrs2gcc's Introduction

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

icrs2gcc's People

Contributors

belindathemoon avatar fredifqh avatar antoffigueroa avatar

Stargazers

Chetan Chawla avatar Sarah Blunt avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.