Open zkbt opened 6 months ago
Very commented code playing with part of this here: https://gist.github.com/zkbt/9c99459ffe82d05f9e55658f47956ca0
Awesome work you've been making on this, @Autumn10677 ! We should start talking about how to package up what you have into a handy function that could be pushed up here to use alongside get_gaia
and plot_gaia
!
One (possibly silly and not worth the effort but maybe a fun) matplotlib
coding challenge would be to try to have a way to display the light curves locally on the finder chart, like drawing a tiny light curve plot at the location of each star for which one has been downloaded. For example, it might end up looking something like this (again, probably mostly only focusing on the brightest stars):
Practically, to make this work, it's probably easiest to define some conversion between the "x = time" and "y = flux" of a light curve and the "x = projected right ascension offset" and "y = declination offset" of the finder chart, and then plot the light curves using those converted coordinates one by one on top of the finder chart?
I think the above silly visualization idea might be a big enough thing that we should just spin it off into its own GitHub Issue. I think a minimal thing to finish to call this particular Issue #3 finished might be to add little labels with numbers/letters/names/IDs next to each star on the finder and then label the (normal, straightforwardly plotted) light curves to match.
Or, honestly, to call this Issue closed, let's please just push some well-documented code in a function that can download light curves for some subset of a get_gaia
output, and make them available for whatever visualization or calculations afterward!
It would be great to be able to get and plot light curves for as many stars as possible in the field of view. I think the way to approach this is to get a table of stars with
get_gaia
(see here), and then uselightkurve
to ask for TESS light curves of the stars brighter than a certain brightness threshold.Some early steps:
get_gaia
andplot_gaia
to make some finder charts for some patches of the skylightkurve
to get a light curve for a star, either by its position or its Gaia ID@Autumn10677 , this is way too short of a description. Please let me know where you get stuck!