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

find TLE for given cartesian state vector using Nelder-Mead optimization #28

Merged

Conversation

spire-josh-singer
Copy link
Contributor

Idea is to transform specific cartesian state vector to a TLE such that if SGP4 is initialized with those parameters, it would produce the state vector if propagated to that epoch.

the method is

We vary all 6 orbital parameters in the TLE. The objective function runs SGP4 and figures out the sum of squares error in the position and velocity vectors.

Copy link

@elliemcc-spire elliemcc-spire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good - just a small clippy warning for vec

src/tlegen.rs Outdated Show resolved Hide resolved
Copy link

@elliemcc-spire elliemcc-spire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@spire-josh-singer spire-josh-singer merged commit 363b33e into master Jul 19, 2023
3 checks passed
@spire-josh-singer spire-josh-singer deleted the jbs_infer_tle_from_state_vector_using_optimization branch July 19, 2023 12:28
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

Successfully merging this pull request may close these issues.

2 participants