open-space-toolkit-astrodynamics 11.0.0__py39-none-manylinux2014_aarch64.whl → 11.1.0__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-11.0.0.dist-info → open_space_toolkit_astrodynamics-11.1.0.dist-info}/METADATA +1 -1
- {open_space_toolkit_astrodynamics-11.0.0.dist-info → open_space_toolkit_astrodynamics-11.1.0.dist-info}/RECORD +7 -7
- ostk/astrodynamics/libopen-space-toolkit-astrodynamics.so.11 +0 -0
- ostk/astrodynamics/test/flight/test_profile.py +44 -50
- {open_space_toolkit_astrodynamics-11.0.0.dist-info → open_space_toolkit_astrodynamics-11.1.0.dist-info}/WHEEL +0 -0
- {open_space_toolkit_astrodynamics-11.0.0.dist-info → open_space_toolkit_astrodynamics-11.1.0.dist-info}/top_level.txt +0 -0
- {open_space_toolkit_astrodynamics-11.0.0.dist-info → open_space_toolkit_astrodynamics-11.1.0.dist-info}/zip-safe +0 -0
@@ -4,7 +4,7 @@ ostk/astrodynamics/__init__.py,sha256=3gWyqFIbhAfcdeMhmfBPQPlPQTmaOzm-6flkJe745Z
|
|
4
4
|
ostk/astrodynamics/converters.py,sha256=xr1BDaY2od8IsNq-3isubaxainncgH8_yihZ6Mf38n4,2697
|
5
5
|
ostk/astrodynamics/dataframe.py,sha256=njimcfT2cvnSOp9eBR1Ej-LuYpXbVieAVEBk2tYW4Vg,18761
|
6
6
|
ostk/astrodynamics/display.py,sha256=KiEGsjNftQfoUe-HfZeYpQQQ4TkaEnxtEl6p5_LX5f0,6303
|
7
|
-
ostk/astrodynamics/libopen-space-toolkit-astrodynamics.so.11,sha256=
|
7
|
+
ostk/astrodynamics/libopen-space-toolkit-astrodynamics.so.11,sha256=lO4WE4EJoDzV__SW13-X0bhe05T7eY--WJl1bbwzsOw,3350128
|
8
8
|
ostk/astrodynamics/utilities.py,sha256=Yu5Yydq22gNIHi6ylqeujDENcueb1JfUE6d93h1m9XE,4795
|
9
9
|
ostk/astrodynamics/viewer.py,sha256=8UxqsvU5wui7gPUwxXaKcIB-509NJiih9Df3mQgXyXY,11776
|
10
10
|
ostk/astrodynamics/pytrajectory/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
@@ -45,7 +45,7 @@ ostk/astrodynamics/test/event_condition/test_logical_condition.py,sha256=09h5TYW
|
|
45
45
|
ostk/astrodynamics/test/event_condition/test_real_condition.py,sha256=tle6HVzMFMIIkfRY7CuaA0mPtw3riJBG_JQkc1L0dpk,1374
|
46
46
|
ostk/astrodynamics/test/flight/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
47
47
|
ostk/astrodynamics/test/flight/test_maneuver.py,sha256=6LhnNhaiwId-IveUraHnhx8dYxeOgzntP_WPtv9GFjQ,6197
|
48
|
-
ostk/astrodynamics/test/flight/test_profile.py,sha256=
|
48
|
+
ostk/astrodynamics/test/flight/test_profile.py,sha256=FOYo-GXGTCtXhKQosXqX6hhrkXPrSyenPkM1lazyEEc,4819
|
49
49
|
ostk/astrodynamics/test/flight/test_system.py,sha256=MVaE7lJYisH4vmJPD-G-Hw4wNj-Xe8yMksgu8IXCLvg,1322
|
50
50
|
ostk/astrodynamics/test/flight/system/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
51
51
|
ostk/astrodynamics/test/flight/system/test_propulsion_system.py,sha256=jLUC74YjIQz7APr-kQcdYRYiKm8lfequjosptG29kmI,1964
|
@@ -93,8 +93,8 @@ ostk/astrodynamics/test/trajectory/state/coordinate_subset/test_angular_velocity
|
|
93
93
|
ostk/astrodynamics/test/trajectory/state/coordinate_subset/test_attitude_quaternion.py,sha256=UEu9ApzQLmT87eeISw6_gcHTlX-4b2scIvHz-uE1p_c,393
|
94
94
|
ostk/astrodynamics/test/trajectory/state/coordinate_subset/test_cartesian_position.py,sha256=XvHdk1KjacTwtkgx2jUAc9I9N3nvjPDv03FAanpv8jQ,2702
|
95
95
|
ostk/astrodynamics/test/trajectory/state/coordinate_subset/test_cartesian_velocity.py,sha256=-kd5TZO5TICihbkqDTew2i_tDpggdpe3Yf23046FATM,3057
|
96
|
-
open_space_toolkit_astrodynamics-11.
|
97
|
-
open_space_toolkit_astrodynamics-11.
|
98
|
-
open_space_toolkit_astrodynamics-11.
|
99
|
-
open_space_toolkit_astrodynamics-11.
|
100
|
-
open_space_toolkit_astrodynamics-11.
|
96
|
+
open_space_toolkit_astrodynamics-11.1.0.dist-info/METADATA,sha256=yYiRpTugeOyvQWU2cK_8raeWP7cLw3GtemFlFxudmqU,1916
|
97
|
+
open_space_toolkit_astrodynamics-11.1.0.dist-info/WHEEL,sha256=kYqHudTOMtjp4at7li7kQygMBvMc9voLd-PjCaTm7Ps,110
|
98
|
+
open_space_toolkit_astrodynamics-11.1.0.dist-info/top_level.txt,sha256=zOR18699uDYnafgarhL8WU_LmTZY_5NVqutv-flp_x4,5
|
99
|
+
open_space_toolkit_astrodynamics-11.1.0.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
100
|
+
open_space_toolkit_astrodynamics-11.1.0.dist-info/RECORD,,
|
Binary file
|
@@ -29,22 +29,55 @@ from ostk.astrodynamics.flight.profile.model import Tabulated as TabulatedModel
|
|
29
29
|
|
30
30
|
@pytest.fixture
|
31
31
|
def instant() -> Instant:
|
32
|
-
return Instant.date_time(DateTime(2020, 1,
|
32
|
+
return Instant.date_time(DateTime(2020, 1, 1, 0, 0, 30), Scale.UTC)
|
33
33
|
|
34
34
|
|
35
35
|
@pytest.fixture
|
36
|
-
def
|
36
|
+
def transform_model() -> TransformModel:
|
37
37
|
def dynamic_provider_generator(instant: Instant):
|
38
38
|
return Transform.identity(instant)
|
39
39
|
|
40
|
-
return
|
41
|
-
|
42
|
-
|
43
|
-
frame=Frame.GCRF(),
|
44
|
-
),
|
40
|
+
return TransformModel(
|
41
|
+
dynamic_provider=DynamicProvider(dynamic_provider_generator),
|
42
|
+
frame=Frame.GCRF(),
|
45
43
|
)
|
46
44
|
|
47
45
|
|
46
|
+
@pytest.fixture
|
47
|
+
def tabulated_model() -> TabulatedModel:
|
48
|
+
return TabulatedModel(
|
49
|
+
states=[
|
50
|
+
State(
|
51
|
+
instant=Instant.date_time(datetime(2020, 1, 1, 0, 0, 0), Scale.UTC),
|
52
|
+
position=Position.meters((0.0, 0.0, 0.0), Frame.GCRF()),
|
53
|
+
velocity=Velocity.meters_per_second((0.0, 0.0, 0.0), Frame.GCRF()),
|
54
|
+
attitude=Quaternion.unit(),
|
55
|
+
angular_velocity=(0.0, 0.0, 0.0),
|
56
|
+
attitude_frame=Frame.GCRF(),
|
57
|
+
),
|
58
|
+
State(
|
59
|
+
instant=Instant.date_time(datetime(2020, 1, 1, 0, 1, 0), Scale.UTC),
|
60
|
+
position=Position.meters((0.0, 0.0, 0.0), Frame.GCRF()),
|
61
|
+
velocity=Velocity.meters_per_second((0.0, 0.0, 0.0), Frame.GCRF()),
|
62
|
+
attitude=Quaternion.unit(),
|
63
|
+
angular_velocity=(0.0, 0.0, 0.0),
|
64
|
+
attitude_frame=Frame.GCRF(),
|
65
|
+
),
|
66
|
+
],
|
67
|
+
)
|
68
|
+
|
69
|
+
|
70
|
+
@pytest.fixture(
|
71
|
+
params=[
|
72
|
+
"transform_model",
|
73
|
+
"tabulated_model",
|
74
|
+
]
|
75
|
+
)
|
76
|
+
def profile(request) -> Profile:
|
77
|
+
model: TransformModel | TabulatedModel = request.getfixturevalue(request.param)
|
78
|
+
return Profile(model=model)
|
79
|
+
|
80
|
+
|
48
81
|
class TestProfile:
|
49
82
|
def test_constructors(self, profile: Profile):
|
50
83
|
assert profile is not None
|
@@ -68,7 +101,10 @@ class TestProfile:
|
|
68
101
|
assert axes is not None
|
69
102
|
assert isinstance(axes, Axes)
|
70
103
|
|
71
|
-
def test_get_body_frame(self, profile: Profile
|
104
|
+
def test_get_body_frame(self, profile: Profile):
|
105
|
+
if Frame.exists("Name"):
|
106
|
+
Frame.destruct("Name")
|
107
|
+
|
72
108
|
frame = profile.get_body_frame("Name")
|
73
109
|
|
74
110
|
assert frame is not None
|
@@ -109,45 +145,3 @@ class TestProfile:
|
|
109
145
|
assert profile is not None
|
110
146
|
assert isinstance(profile, Profile)
|
111
147
|
assert profile.is_defined()
|
112
|
-
|
113
|
-
def test_tabulated(self):
|
114
|
-
profile = Profile(
|
115
|
-
model=TabulatedModel(
|
116
|
-
states=[
|
117
|
-
State(
|
118
|
-
instant=Instant.date_time(
|
119
|
-
datetime(2020, 1, 1, 0, 0, 0), Scale.UTC
|
120
|
-
),
|
121
|
-
position=Position.meters((0.0, 0.0, 0.0), Frame.GCRF()),
|
122
|
-
velocity=Velocity.meters_per_second(
|
123
|
-
(0.0, 0.0, 0.0), Frame.GCRF()
|
124
|
-
),
|
125
|
-
attitude=Quaternion.unit(),
|
126
|
-
angular_velocity=(0.0, 0.0, 0.0),
|
127
|
-
attitude_frame=Frame.GCRF(),
|
128
|
-
),
|
129
|
-
State(
|
130
|
-
instant=Instant.date_time(
|
131
|
-
datetime(2020, 1, 1, 0, 1, 0), Scale.UTC
|
132
|
-
),
|
133
|
-
position=Position.meters((0.0, 0.0, 0.0), Frame.GCRF()),
|
134
|
-
velocity=Velocity.meters_per_second(
|
135
|
-
(0.0, 0.0, 0.0), Frame.GCRF()
|
136
|
-
),
|
137
|
-
attitude=Quaternion.unit(),
|
138
|
-
angular_velocity=(0.0, 0.0, 0.0),
|
139
|
-
attitude_frame=Frame.GCRF(),
|
140
|
-
),
|
141
|
-
],
|
142
|
-
),
|
143
|
-
)
|
144
|
-
|
145
|
-
assert isinstance(profile, Profile)
|
146
|
-
assert profile.is_defined()
|
147
|
-
|
148
|
-
assert (
|
149
|
-
profile.get_state_at(
|
150
|
-
Instant.date_time(datetime(2020, 1, 1, 0, 0, 30), Scale.UTC)
|
151
|
-
)
|
152
|
-
is not None
|
153
|
-
)
|
File without changes
|
File without changes
|
File without changes
|