Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Gaia queries for stellar properties #2

Closed
bmorris3 opened this issue Jun 4, 2019 · 2 comments
Closed

Enhancement: Gaia queries for stellar properties #2

bmorris3 opened this issue Jun 4, 2019 · 2 comments

Comments

@bmorris3
Copy link

bmorris3 commented Jun 4, 2019

Enhancement proposal: use astroquery to get the stellar distance and radius like I do in this example, rather than hard-coding the answers into the notebook. You'll need to come up with a more clever way of selecting the correct answer from the query response than choosing the first row, as I did in the example. You might find that the answer is the star closest to the input coordinates. You can measure distances between coordinates using SkyCoord.separation(). 📐

@tcjansen tcjansen added this to the GSoC Phase 1 milestone Jun 6, 2019
@tcjansen
Copy link
Owner

tcjansen commented Jun 6, 2019

Just as an update on this, the astroquery.Gaia table has a column for distance to the input coordinate, so I used that in place of SkyCoord.separation().

As for choosing the star nearest to the given coordinates (which is what I would have suggested as well), it worked great for HAT-P-11, but became a problem when SkyCoord and Gaia disagreed on the RA and Dec of Trappist-1... they give:

SkyCoord: 346.622, -5.0414
Gaia: 346.626, -5.0435

Since Gaia has a source closer to the SkyCoord coordinates than its TRAPPIST-1 coordinates, it selects the wrong object.

What's more, Gaia unfortunately doesn't have a stellar radius for TRAPPIST-1...
All to say I think we need to query a different catalog for this star!

@bmorris3
Copy link
Author

bmorris3 commented Jun 6, 2019

Ok, let's supply it with the radius, distance, and effective temperature parameters for TRAPPIST-1 manually from Gillon et al. 2017.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
GSoC Progress
  
Done
Development

No branches or pull requests

2 participants