zkbt / thefriendlystars

Python toolkit for making finder charts with catalogs that cover a small patch of the sky.
MIT License
0 stars 1 forks source link

Write a function to count good comparison stars. #10

Open zkbt opened 3 months ago

zkbt commented 3 months ago

exoplanet-atlas can/should provide a list of exoplanet targets, which can be filtered by various criteria. One extra check that we might often want to do, especially for observing with a big telescope that has a small field of view, would be to count the number of "good comparison stars" that fall within a particular angular radius on the sky. In this case, the most basic criterion for being "good" as a comparison star would be to be similar in brightness to (or brighter than) the target star.

We could use get_gaia (or a custom version that doesn't necessarily need to focus on much fainter stars that might be irrelevant) to get the stars in the field, figure out which one is the target star (often it's obvious, but it might not always be for high proper motion stars, so we might need to make some other modifications to get_gaia to make this work), and then count how many stars within a given radius (say 6 arcminute) have a magnitude within a particular range relative to the target (say +/- 0.75 magnitudes).

If quick, this could be used to filter through all the known exoplanets, and find the ones that are easier to observe from the ground!