open-space-toolkit-astrodynamics 9.0.3__py39-none-manylinux2014_aarch64.whl → 9.1.6__py39-none-manylinux2014_aarch64.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-9.0.3.dist-info → open_space_toolkit_astrodynamics-9.1.6.dist-info}/METADATA +5 -2
- {open_space_toolkit_astrodynamics-9.0.3.dist-info → open_space_toolkit_astrodynamics-9.1.6.dist-info}/RECORD +11 -11
- ostk/astrodynamics/OpenSpaceToolkitAstrodynamicsPy.cpython-39-aarch64-linux-gnu.so +0 -0
- ostk/astrodynamics/converters.py +1 -3
- ostk/astrodynamics/libopen-space-toolkit-astrodynamics.so.9 +0 -0
- ostk/astrodynamics/test/flight/test_maneuver.py +8 -12
- ostk/astrodynamics/test/trajectory/test_local_orbital_frame_factory.py +14 -2
- ostk/astrodynamics/test/trajectory/test_orbit.py +16 -0
- {open_space_toolkit_astrodynamics-9.0.3.dist-info → open_space_toolkit_astrodynamics-9.1.6.dist-info}/WHEEL +0 -0
- {open_space_toolkit_astrodynamics-9.0.3.dist-info → open_space_toolkit_astrodynamics-9.1.6.dist-info}/top_level.txt +0 -0
- {open_space_toolkit_astrodynamics-9.0.3.dist-info → open_space_toolkit_astrodynamics-9.1.6.dist-info}/zip-safe +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: open-space-toolkit-astrodynamics
|
3
|
-
Version: 9.
|
3
|
+
Version: 9.1.6
|
4
4
|
Summary: Orbit, attitude, access.
|
5
5
|
Author: Open Space Collective
|
6
6
|
Author-email: contact@open-space-collective.org
|
@@ -11,7 +11,10 @@ Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: License :: OSI Approved :: Apache Software License
|
12
12
|
Classifier: Operating System :: POSIX :: Linux
|
13
13
|
Description-Content-Type: text/markdown
|
14
|
-
Requires-Dist: open-space-toolkit-
|
14
|
+
Requires-Dist: open-space-toolkit-core ~=3.0
|
15
|
+
Requires-Dist: open-space-toolkit-io ~=3.0
|
16
|
+
Requires-Dist: open-space-toolkit-mathematics ~=3.0
|
17
|
+
Requires-Dist: open-space-toolkit-physics ~=6.0
|
15
18
|
|
16
19
|
# Open Space Toolkit ▸ Astrodynamics
|
17
20
|
|
@@ -1,9 +1,9 @@
|
|
1
1
|
ostk/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
2
|
-
ostk/astrodynamics/OpenSpaceToolkitAstrodynamicsPy.cpython-39-aarch64-linux-gnu.so,sha256=
|
2
|
+
ostk/astrodynamics/OpenSpaceToolkitAstrodynamicsPy.cpython-39-aarch64-linux-gnu.so,sha256=0rx3pizQyJd0MvBpAznZ-_DtPZ461Zt3wYWYMaAAW_c,1857232
|
3
3
|
ostk/astrodynamics/__init__.py,sha256=3gWyqFIbhAfcdeMhmfBPQPlPQTmaOzm-6flkJe745Zk,251
|
4
|
-
ostk/astrodynamics/converters.py,sha256=
|
4
|
+
ostk/astrodynamics/converters.py,sha256=vsm7SHdlPIyIxW1h5ZGAizl284koGaRmyPCu--AQJfA,4670
|
5
5
|
ostk/astrodynamics/display.py,sha256=KiEGsjNftQfoUe-HfZeYpQQQ4TkaEnxtEl6p5_LX5f0,6303
|
6
|
-
ostk/astrodynamics/libopen-space-toolkit-astrodynamics.so.9,sha256=
|
6
|
+
ostk/astrodynamics/libopen-space-toolkit-astrodynamics.so.9,sha256=yWONjEVzubaHlzLdxDeiMWzk92srH67d-1h-yI04H0Q,3215360
|
7
7
|
ostk/astrodynamics/utilities.py,sha256=Jw-AT9CU-a2ERDDSNp7rEhZQKhbmZSCr2flGti9XysU,4813
|
8
8
|
ostk/astrodynamics/viewer.py,sha256=8UxqsvU5wui7gPUwxXaKcIB-509NJiih9Df3mQgXyXY,11776
|
9
9
|
ostk/astrodynamics/pytrajectory/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
@@ -42,7 +42,7 @@ ostk/astrodynamics/test/event_condition/test_instant_condition.py,sha256=Qr5dN6n
|
|
42
42
|
ostk/astrodynamics/test/event_condition/test_logical_condition.py,sha256=09h5TYWtwGt4NQW3k_tziiVs0Q2981rNII9wyKg7p2Q,3321
|
43
43
|
ostk/astrodynamics/test/event_condition/test_real_condition.py,sha256=tle6HVzMFMIIkfRY7CuaA0mPtw3riJBG_JQkc1L0dpk,1374
|
44
44
|
ostk/astrodynamics/test/flight/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
45
|
-
ostk/astrodynamics/test/flight/test_maneuver.py,sha256=
|
45
|
+
ostk/astrodynamics/test/flight/test_maneuver.py,sha256=6LhnNhaiwId-IveUraHnhx8dYxeOgzntP_WPtv9GFjQ,6197
|
46
46
|
ostk/astrodynamics/test/flight/test_profile.py,sha256=RULN-34ERmlZjgNQe6Kj797dklJBKAm-QYUIqitxvwA,5185
|
47
47
|
ostk/astrodynamics/test/flight/test_system.py,sha256=MVaE7lJYisH4vmJPD-G-Hw4wNj-Xe8yMksgu8IXCLvg,1322
|
48
48
|
ostk/astrodynamics/test/flight/system/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
@@ -56,9 +56,9 @@ ostk/astrodynamics/test/solvers/test_finite_difference_solver.py,sha256=49hS9EF7
|
|
56
56
|
ostk/astrodynamics/test/solvers/test_temporal_condition_solver.py,sha256=ukDuIiEbBBvfqbHfiMIsPk5eyeRsWywCvNT1A3YnmIQ,4862
|
57
57
|
ostk/astrodynamics/test/trajectory/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
58
58
|
ostk/astrodynamics/test/trajectory/test_local_orbital_frame_direction.py,sha256=d72J50UGG9m0Atei0UQ8sITU1WdJmws5xgUiacLZMbw,2515
|
59
|
-
ostk/astrodynamics/test/trajectory/test_local_orbital_frame_factory.py,sha256=
|
59
|
+
ostk/astrodynamics/test/trajectory/test_local_orbital_frame_factory.py,sha256=33SuZgkXEgYwXhFftRBaSr9Vv60DDJBi5MiXD5H-n6A,2173
|
60
60
|
ostk/astrodynamics/test/trajectory/test_model.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
61
|
-
ostk/astrodynamics/test/trajectory/test_orbit.py,sha256=
|
61
|
+
ostk/astrodynamics/test/trajectory/test_orbit.py,sha256=cWT1BUq_lV5-MkojKtN3CYIf10fkL24hjEjGIoFF6CY,5578
|
62
62
|
ostk/astrodynamics/test/trajectory/test_propagator.py,sha256=dG31S5FY0NjJ5bnisqJ_HdL7amj_AZAWWLiOmdHfJAc,14233
|
63
63
|
ostk/astrodynamics/test/trajectory/test_segment.py,sha256=ACVMYvjlTyCQHZ2-hFEurK08-LQxt6VlcGTMOrgDHaE,9333
|
64
64
|
ostk/astrodynamics/test/trajectory/test_sequence.py,sha256=gswWqEBTYvbi5TQjF0DNPkAj5COo9Nb9IK7TdwJ_5C0,12882
|
@@ -91,8 +91,8 @@ ostk/astrodynamics/test/trajectory/state/coordinate_subset/test_angular_velocity
|
|
91
91
|
ostk/astrodynamics/test/trajectory/state/coordinate_subset/test_attitude_quaternion.py,sha256=UEu9ApzQLmT87eeISw6_gcHTlX-4b2scIvHz-uE1p_c,393
|
92
92
|
ostk/astrodynamics/test/trajectory/state/coordinate_subset/test_cartesian_position.py,sha256=XvHdk1KjacTwtkgx2jUAc9I9N3nvjPDv03FAanpv8jQ,2702
|
93
93
|
ostk/astrodynamics/test/trajectory/state/coordinate_subset/test_cartesian_velocity.py,sha256=-kd5TZO5TICihbkqDTew2i_tDpggdpe3Yf23046FATM,3057
|
94
|
-
open_space_toolkit_astrodynamics-9.
|
95
|
-
open_space_toolkit_astrodynamics-9.
|
96
|
-
open_space_toolkit_astrodynamics-9.
|
97
|
-
open_space_toolkit_astrodynamics-9.
|
98
|
-
open_space_toolkit_astrodynamics-9.
|
94
|
+
open_space_toolkit_astrodynamics-9.1.6.dist-info/METADATA,sha256=4FtjokttcExlT-_CyKYTF5pZzWtycHPHp9INVFWsB-M,1915
|
95
|
+
open_space_toolkit_astrodynamics-9.1.6.dist-info/WHEEL,sha256=mOT7xFg4RXTjgiIITNfGEOMo-D-dyhP32IbvRKRDdVQ,111
|
96
|
+
open_space_toolkit_astrodynamics-9.1.6.dist-info/top_level.txt,sha256=zOR18699uDYnafgarhL8WU_LmTZY_5NVqutv-flp_x4,5
|
97
|
+
open_space_toolkit_astrodynamics-9.1.6.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
98
|
+
open_space_toolkit_astrodynamics-9.1.6.dist-info/RECORD,,
|
Binary file
|
ostk/astrodynamics/converters.py
CHANGED
@@ -61,9 +61,7 @@ def coerce_to_instant(value: Instant | datetime | str) -> Instant:
|
|
61
61
|
raise TypeError("Argument must be a datetime, an Instant, or a str.")
|
62
62
|
|
63
63
|
|
64
|
-
def coerce_to_iso(
|
65
|
-
value: Instant | datetime | str, timespec: str = "microseconds"
|
66
|
-
) -> Instant:
|
64
|
+
def coerce_to_iso(value: Instant | datetime | str, timespec: str = "microseconds") -> str:
|
67
65
|
"""
|
68
66
|
Return an ISO string from value.
|
69
67
|
|
Binary file
|
@@ -101,7 +101,6 @@ class TestManeuver:
|
|
101
101
|
acceleration_profile: list[np.ndarray],
|
102
102
|
mass_flow_rate_profile: list[float],
|
103
103
|
):
|
104
|
-
|
105
104
|
assert maneuver.is_defined()
|
106
105
|
|
107
106
|
assert maneuver.get_instants() == instants
|
@@ -132,23 +131,20 @@ class TestManeuver:
|
|
132
131
|
self,
|
133
132
|
maneuver: Maneuver,
|
134
133
|
):
|
135
|
-
assert
|
136
|
-
|
137
|
-
assert
|
138
|
-
1.26e-4, rel=1e-4
|
139
|
-
)
|
140
|
-
|
141
|
-
assert float(
|
134
|
+
assert maneuver.calculate_delta_v() is not None
|
135
|
+
assert maneuver.calculate_delta_mass().in_kilograms() is not None
|
136
|
+
assert (
|
142
137
|
maneuver.calculate_average_thrust(
|
143
138
|
initial_spacecraft_mass=Mass(100.0, Mass.Unit.Kilogram)
|
144
139
|
)
|
145
|
-
|
146
|
-
|
147
|
-
assert
|
140
|
+
is not None
|
141
|
+
)
|
142
|
+
assert (
|
148
143
|
maneuver.calculate_average_specific_impulse(
|
149
144
|
initial_spacecraft_mass=Mass(100.0, Mass.Unit.Kilogram)
|
150
145
|
)
|
151
|
-
|
146
|
+
is not None
|
147
|
+
)
|
152
148
|
|
153
149
|
def test_to_tabulated_dynamics(
|
154
150
|
self,
|
@@ -13,8 +13,13 @@ from ostk.astrodynamics.trajectory import LocalOrbitalFrameFactory
|
|
13
13
|
|
14
14
|
|
15
15
|
@pytest.fixture
|
16
|
-
def
|
17
|
-
return
|
16
|
+
def parent_frame() -> Frame:
|
17
|
+
return Frame.GCRF()
|
18
|
+
|
19
|
+
|
20
|
+
@pytest.fixture
|
21
|
+
def local_orbital_frame_factory(parent_frame: Frame) -> LocalOrbitalFrameFactory:
|
22
|
+
return LocalOrbitalFrameFactory.VNC(parent_frame)
|
18
23
|
|
19
24
|
|
20
25
|
@pytest.fixture
|
@@ -41,6 +46,13 @@ class TestLocalOrbitalFrameFactory:
|
|
41
46
|
assert LocalOrbitalFrameFactory.TNW(Frame.GCRF()) is not None
|
42
47
|
assert LocalOrbitalFrameFactory.VVLH(Frame.GCRF()) is not None
|
43
48
|
|
49
|
+
def test_accessors(
|
50
|
+
self,
|
51
|
+
parent_frame: Frame,
|
52
|
+
local_orbital_frame_factory: LocalOrbitalFrameFactory,
|
53
|
+
):
|
54
|
+
assert parent_frame == local_orbital_frame_factory.access_parent_frame()
|
55
|
+
|
44
56
|
def test_generate_frame(
|
45
57
|
self,
|
46
58
|
local_orbital_frame_factory: LocalOrbitalFrameFactory,
|
@@ -58,6 +58,22 @@ class TestOrbit:
|
|
58
58
|
assert state is not None
|
59
59
|
assert isinstance(state, State)
|
60
60
|
|
61
|
+
@pytest.mark.parametrize(
|
62
|
+
"frame_type",
|
63
|
+
[
|
64
|
+
(Orbit.FrameType.NED),
|
65
|
+
(Orbit.FrameType.LVLH),
|
66
|
+
(Orbit.FrameType.VVLH),
|
67
|
+
(Orbit.FrameType.LVLHGD),
|
68
|
+
(Orbit.FrameType.LVLHGDGT),
|
69
|
+
(Orbit.FrameType.QSW),
|
70
|
+
(Orbit.FrameType.TNW),
|
71
|
+
(Orbit.FrameType.VNC),
|
72
|
+
],
|
73
|
+
)
|
74
|
+
def test_get_orbital_frame(self, orbit: Orbit, frame_type: Orbit.FrameType):
|
75
|
+
assert orbit.get_orbital_frame(frame_type) is not None
|
76
|
+
|
61
77
|
def test_get_revolution_number_at(self, orbit: Orbit):
|
62
78
|
assert (
|
63
79
|
orbit.get_revolution_number_at(
|
File without changes
|
File without changes
|
File without changes
|