Default steps 2D plots are too visible #294
Comments
Notice that, while fixing the previous one, one might step into #265. |
Started working on this issue |
Thanks @nikita-astronaut, keep us posted! Notice that the propagation might fail and distract you, see the last comment in this issue. |
This is a good moment to say that just increasing the number of points is not going to be the preferred solution. In the report "The generalized Sundman transformation for propagation of high-eccentricity elliptical orbits" we can read:
Take a look at this plot: We are now in the situation of Figure 2.d), since we're uniformly sampling the true anomaly: https://github.com/poliastro/poliastro/blob/24a9299f/src/poliastro/twobody/orbit.py#L295-L302 And before we introduced the https://github.com/anhiga/poliastro/blob/cd0a31ca3e7ffc99a3/src/poliastro/plotting.py#L169-L182 The most immediate fix for this issue, in my view, would be to use a uniform sample of the eccentric anomaly instead of the true anomaly. However, from the same report:
I will therefore accept a pull request (with plots of the before/after situation) that use the eccentric anomaly as a first step, but implementing an s-integrator as described in the report would be a great next step (see #253). |
I found another book that might be useful: "Regularization in Orbital Mechanics: Theory and Practice" (https://doi.org/10.1515/9783110559125) |
I will now read the report and try to implement the s-integration. |
Or in #265, for that matter. Notice that, when we have a working propagator, we can include the pericenter in all the samplings if we consider it appropriate, see #294 (comment). |
馃悶 Problem
With the default number of points, the steps in the pericenter are too visible:
This came after the propagation changes in plotting and the different way to compute the data points.
馃幆 Goal
Make the plots smooth again.
馃挕 Possible solutions
num_points
馃搵 Steps to solve the problem
Addresses #<put issue number here>
The text was updated successfully, but these errors were encountered: