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.

Propagating 0 seconds with cowell fails

See original GitHub issue

Currently we can only use the basic mean_method function to propagate orbits. As the Orbit.Sample() can now accept other propagators as well, we must be able to use cowell method as well. 🐞 Problem We can’t use the cowell’s method and other propagators to propagate the orbit because of differences in the parameters passed in the normal propagator while using Orbit.Sample().

🖥 Please paste the output of following commands

conda info -a

python -c "import poliastro.testing; poliastro.testing.test()" python3 -c “import poliastro.testing; poliastro.testing.test()” ============================= test session starts ============================== platform linux – Python 3.6.3, pytest-3.4.1, py-1.5.2, pluggy-0.6.0 rootdir: /home/shreyas/poliastro, inifile: setup.cfg plugins: cov-2.5.1 collected 141 items

poliastro/src/poliastro/tests/test_bodies.py … [ 4%] poliastro/src/poliastro/tests/test_coordinates.py … [ 6%] poliastro/src/poliastro/tests/test_hyper.py … [ 14%] poliastro/src/poliastro/tests/test_iod.py … [ 20%] poliastro/src/poliastro/tests/test_jit.py … [ 22%] poliastro/src/poliastro/tests/test_maneuver.py … [ 26%] poliastro/src/poliastro/tests/test_patched_conics.py … [ 28%] poliastro/src/poliastro/tests/test_plotting.py … [ 34%] poliastro/src/poliastro/tests/test_plotting3d.py … [ 39%] poliastro/src/poliastro/tests/test_stumpff.py … [ 41%] poliastro/src/poliastro/tests/test_twobody.py … [ 42%] poliastro/src/poliastro/tests/test_util.py … [ 47%] poliastro/src/poliastro/tests/tests_neos/test_dastcom5.py … [ 53%] poliastro/src/poliastro/tests/tests_neos/test_neos_neows.py … [ 58%] poliastro/src/poliastro/tests/tests_twobody/test_angles.py … [ 63%] poliastro/src/poliastro/tests/tests_twobody/test_decorators.py … [ 64%] poliastro/src/poliastro/tests/tests_twobody/test_orbit.py … [ 74%] … [ 78%] poliastro/src/poliastro/tests/tests_twobody/test_propagation.py … [ 83%] . [ 84%] poliastro/src/poliastro/tests/tests_twobody/test_sample.py … [ 92%] poliastro/src/poliastro/tests/tests_twobody/test_states.py … [100%]

========================= 141 passed in 21.47 seconds ==========================

🎯 Goal To be able to Propagate the orbit using different propagators.

💡 Possible solutions

📋 Steps to solve the problem

  • Comment below about what you’ve started working on.
  • Add, commit, push your changes
  • Submit a pull request and add this in comments - Addresses #<put issue number here>
  • Ask for a review in comments section of pull request
  • Celebrate your contribution to this project 🎉

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:20 (20 by maintainers)

github_iconTop GitHub Comments

1reaction
astrojuanlucommented, Mar 5, 2018

I think that iss.sample(method=cowell) won’t raise the error after this was merged:

https://github.com/poliastro/poliastro/pull/330

However, iss.propagate(0 * u.s, method=cowell) or iss.sample([0] * u.s, method=cowell) should do.

0reactions
astrojuanlucommented, Sep 17, 2018

The original issue was, but the problem changed and we continued discussing it here:

https://github.com/poliastro/poliastro/issues/328#issuecomment-391666709

I need to think carefully on the API and which cases do we accept, and also there’s one doctest failing because of it (see #454), so I prefer to take care of it myself.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Auditions That Shocked & Impressed Simon Cowell & Judges ...
Auditions That Shocked & Impressed Simon Cowell & Judges On America's Got Talent 2022!
Read more >
New Simon Cowell video baffles fans after unrecognisable ...
New Simon Cowell video baffles fans after unrecognisable star sparked 'melting' comments. A fresh furore has broken out after the reality ...
Read more >
Cowell Object - A.I. Solutions
(1 = Integration Failed, 0 = Integration Nominal, -1 = No Integration has been ... The number of seconds the propagated object is...
Read more >
Accurate orbit propagation in the presence of planetary close ...
The second step is to represent the two-body problem with linear differential equations that do not contain the singularity r = 0.
Read more >
An analysis of orbital propagators for low earth orbit rendezvous
In all three cases the Cowell propagator displays the least error. The Encke propagator is generally the second most accurate, except in 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