question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Propagation is inconsistent sometimes

See original GitHub issue

For example:

op = StaticOrbitPlotter()

op.plot(
    Orbit.from_vectors(
        Sun,
        [0.36137779, 0.84843643, 0.36772403] * u.au,
        [-0.01849308, -0.00788258, -0.00339819] * u.au / u.day,
    ),
    trail=True,
)

trail

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Meugecommented, Apr 20, 2020

It seems the problem comes from the propagate method as there is a discrepancy in the position values. As you may notice from the example below:

from poliastro.bodies import Earth
from poliastro.twobody import Orbit
from poliastro.twobody.propagation import propagate

position = [-6045, -3490, 2500] * u.km
velocity = [-3.457, 6.618, 2.533] * u.km / u.s

ss = Orbit.from_vectors(Earth, position, velocity)

coordinates = propagate(ss,ss.epoch.reshape(1))
print(coordinates)
print(ss.rv()[0]) #The one define in position

Output

 
[(-7010.52954739, 1276.67143012, 3581.24784291)] km
[-6045. -3490.  2500.] km

0reactions
astrojuanlucommented, Apr 22, 2020

Original figure after merging #926:

trail

✔️

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is propagation delay? - TechTarget
Inconsistent propagation delay in an IC can cause data errors or race conditions on a chip. Therefore, the propagation delay is an important...
Read more >
The constraint propagation algorithm - IBM
The constraint propagation algorithm is straightforward in principle. ... whether any values in the domains of other decision variables are now inconsistent.
Read more >
Topic: Inconsistent Stats | WordPress.com Forums
Sometimes when I look at my stats they seem to go up and down throughout the ... I suspect it has to do...
Read more >
Relationship-Based Change Propagation: A Case Study
Re- quirements of a system are often incomplete or inconsistent, and hence need to be extended or modified over time. Cus- tomers may...
Read more >
Theory propagation and reification - ScienceDirect.com
The latter is normally a major undertaking and often can only be achieved ... by the store) or disentailed (is inconsistent with the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found