Small plot straight from GAIA #215
Replies: 3 comments 1 reply
-
|
coool, thanks for sharing!! I'll have to investigate astroquery some more and maybe add a few examples plotting data from it in the examples section. btw, I've been working on building a Starplot catalog builder for Gaia DR3 -- the initial version is available at https://github.com/steveberardi/starplot-gaia-dr3/releases/tag/v0.1.0. Most queries with it should take a few seconds or less. also, quick tip: if you put |
Beta Was this translation helpful? Give feedback.
-
|
Nice tip! Yes! I've seen it. I think it's great! I thought the direct download option was for those who want to do something specific without downloading all of GAIA (maybe there could be a reduced version, like mag <= 15 or something similar?) Last year it was very fast, almost no waiting. I think they're making some big changes for DR4. One idea, but perhaps for another thread, is to have a catalog-agnostic build function: instead of adapting the script to the catalog, the user adapts the catalog to one more generic script (sometimes it's easier to manipulate the data in a spreadsheet) Especially for DSO. |
Beta Was this translation helpful? Give feedback.
-
Yeah, I'm planning to build multiple versions with different magnitude ranges like that, once I get more confirmation that the magnitude/BV calculations are correct and that there aren't any bugs/etc
Not sure I follow this. Do you mean have a function something like |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I prepared this quick example as a proof of concept. It can probably be improved. The script downloads a predefined circular area (centered on RA and Dec, and with a defined radius) of basic star data from the GAIA catalog, builds the Starplot catalog, and generates the map of the area. It requires astroquery to download the catalog.
The catalog query are async (
launch_job_async) to avoid being limited to a maximum of 2000 records, and is currently responding very slowly. So you will likely have to wait several minutes. If you want to modify the query (more fields, data filters, etc), please see the Astroquery GAIA documentation.With the below code, I generated this map centered on the open cluster NGC 3293 (Gem Cluster, in Carina), with 2° radius.
Please take into account the directory settings for the files, the coordinate format, and the diameter (I don't know what happens if it's too large, spacetime rupture?). All this in the config section.
Tip: If you have already download and build the catalog, and only want to modify the map, please comment the first two functions at the end
query()andbuild().Enjoy!
Beta Was this translation helpful? Give feedback.
All reactions