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

How to draw stars onto the sky? #213

Open
FEXAQAQ opened this issue Jun 12, 2024 · 4 comments
Open

How to draw stars onto the sky? #213

FEXAQAQ opened this issue Jun 12, 2024 · 4 comments

Comments

@FEXAQAQ
Copy link

FEXAQAQ commented Jun 12, 2024

In the past few weeks, I have been studying how to parse the stars in skydata and draw them onto the sky. I want to print out a list of all stars, as well as their names/coordinates.

I know that it initially loads the relevant data from "app.vue" via "addDataSource" and adds it in "SweObj.prototype.addDataSource" inside "obj.js", but I don't understand how it works later. It parses the coordinates of the internal file and then draws them onto the sky. I printed a lot of places, but no progress was made. Does anyone know?

I will be very grateful.

@gzotti
Copy link
Member

gzotti commented Jun 12, 2024

Why don't you simply fetch the original catalogs? You may avoid data artifacts from processing into a speed/memory optimized structure.

@FEXAQAQ
Copy link
Author

FEXAQAQ commented Jun 12, 2024

Why don't you simply fetch the original catalogs? You may avoid data artifacts from processing into a speed/memory optimized structure.

Hi gzotti,
Does the original catalog refer to the original catalog of the stars?
/dist/skydata/stars/Norder0/Dir0/Npix0.eph

Thank you for your patient answer!

Sorry, my English department is not good, so I use translators. Some of the explanations may not be very good. Please bear with me.

@gzotti
Copy link
Member

gzotti commented Jun 12, 2024

No, I mean Gaia or Hipparcos astrometric catalogs from ESA.

@FEXAQAQ
Copy link
Author

FEXAQAQ commented Jun 12, 2024

No, I mean Gaia or Hipparcos astrometric catalogs from ESA.

Yes, you are right, maybe this is the best way.

I'm just out of curiosity about how the project works.
I think it's very cool. I want to say that there are many types of stars and the number is very large. I am impressed by how he can analyze this information and draw it very quickly.

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

No branches or pull requests

2 participants