open-space-toolkit-astrodynamics 10.0.0__py39-none-manylinux2014_x86_64.whl → 10.1.0__py39-none-manylinux2014_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {open_space_toolkit_astrodynamics-10.0.0.dist-info → open_space_toolkit_astrodynamics-10.1.0.dist-info}/METADATA +1 -1
- {open_space_toolkit_astrodynamics-10.0.0.dist-info → open_space_toolkit_astrodynamics-10.1.0.dist-info}/RECORD +10 -8
- ostk/astrodynamics/dataframe.py +477 -0
- ostk/astrodynamics/test/test_dataframe.py +875 -0
- ostk/astrodynamics/test/test_display.py +2 -3
- ostk/astrodynamics/test/trajectory/state/test_numerical_solver.py +2 -2
- ostk/astrodynamics/utilities.py +1 -1
- {open_space_toolkit_astrodynamics-10.0.0.dist-info → open_space_toolkit_astrodynamics-10.1.0.dist-info}/WHEEL +0 -0
- {open_space_toolkit_astrodynamics-10.0.0.dist-info → open_space_toolkit_astrodynamics-10.1.0.dist-info}/top_level.txt +0 -0
- {open_space_toolkit_astrodynamics-10.0.0.dist-info → open_space_toolkit_astrodynamics-10.1.0.dist-info}/zip-safe +0 -0
@@ -19,18 +19,17 @@ from ostk.astrodynamics import Trajectory
|
|
19
19
|
from ostk.astrodynamics import display
|
20
20
|
from ostk.astrodynamics.access import Generator as AccessGenerator
|
21
21
|
from ostk.astrodynamics.trajectory import Orbit
|
22
|
-
from ostk.astrodynamics.trajectory import State
|
23
22
|
from ostk.astrodynamics.trajectory.orbit.model import SGP4
|
24
23
|
from ostk.astrodynamics.trajectory.orbit.model.sgp4 import TLE
|
25
24
|
|
26
25
|
|
27
26
|
class TestDisplay:
|
28
|
-
def test_accesses_plot(self
|
27
|
+
def test_accesses_plot(self):
|
29
28
|
start_instant: Instant = Instant.date_time(
|
30
29
|
DateTime(2023, 1, 3, 0, 0, 0),
|
31
30
|
Scale.UTC,
|
32
31
|
)
|
33
|
-
duration: Duration = Duration.
|
32
|
+
duration: Duration = Duration.hours(12.0)
|
34
33
|
step: Duration = Duration.seconds(10.0)
|
35
34
|
tolerance: Duration = Duration.seconds(1.0)
|
36
35
|
|
@@ -191,7 +191,7 @@ class TestNumericalSolver:
|
|
191
191
|
initial_state: State,
|
192
192
|
numerical_solver: NumericalSolver,
|
193
193
|
):
|
194
|
-
duration_seconds: float =
|
194
|
+
duration_seconds: float = 10.0
|
195
195
|
end_instant: Instant = initial_state.get_instant() + Duration.seconds(
|
196
196
|
duration_seconds
|
197
197
|
)
|
@@ -205,7 +205,7 @@ class TestNumericalSolver:
|
|
205
205
|
|
206
206
|
end_instants: list[Instant] = [
|
207
207
|
initial_state.get_instant() + Duration.seconds(duration)
|
208
|
-
for duration in np.arange(
|
208
|
+
for duration in np.arange(60.0, 100.0, 20.0)
|
209
209
|
]
|
210
210
|
states: list[State] = numerical_solver.integrate_time(
|
211
211
|
initial_state, end_instants, oscillator
|
ostk/astrodynamics/utilities.py
CHANGED
@@ -134,7 +134,7 @@ def convert_state(
|
|
134
134
|
state: trajectory.State,
|
135
135
|
) -> tuple[str, float, float, float, float, float, float, float, float, float]:
|
136
136
|
"""
|
137
|
-
Convert
|
137
|
+
Convert a State into dataframe-ready values.
|
138
138
|
"""
|
139
139
|
|
140
140
|
lla: LLA = LLA.cartesian(
|
File without changes
|
File without changes
|
File without changes
|