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

Add orbital elements processing #95

Closed
attipaci opened this issue Nov 13, 2024 · 0 comments · Fixed by #96 or #98
Closed

Add orbital elements processing #95

attipaci opened this issue Nov 13, 2024 · 0 comments · Fixed by #96 or #98
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@attipaci
Copy link
Collaborator

attipaci commented Nov 13, 2024

We should be able to compute the positions of Solar-system bodies from orbital elements.

The proposed approach can be summarized as:

  • Add a new entry to enum novas_object_type, e.g. NOVAS_ORBITAL_OBJECT, specifying that the object in question is defined by orbital elements.
  • Create new novas_orbital structure to store orbital elements.
  • Add a orbit field to object. (This will make object a little bulkier, but it does not break a thing...)
  • Add function to convert novas_orbital to x,y,z coordinates and velocity vectors.
  • ephemeris can then use above function for NOVAS_ORBITAL_OBJECT type objects.

Once we have such a framework, we can parse orbital data e.g. from MPCORB data format(s)...

@attipaci attipaci added the enhancement New feature or request label Nov 13, 2024
@attipaci attipaci added this to the 1.2.0 milestone Nov 13, 2024
@attipaci attipaci self-assigned this Nov 13, 2024
@attipaci attipaci linked a pull request Nov 13, 2024 that will close this issue
@attipaci attipaci changed the title Orbital elements processing Add orbital elements processing Nov 13, 2024
@attipaci attipaci pinned this issue Nov 15, 2024
@attipaci attipaci linked a pull request Nov 17, 2024 that will close this issue
@attipaci attipaci reopened this Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant