open-space-toolkit-astrodynamics 13.1.0__py39-none-manylinux2014_aarch64.whl → 15.0.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-13.1.0.dist-info → open_space_toolkit_astrodynamics-15.0.0.dist-info}/METADATA +4 -4
- {open_space_toolkit_astrodynamics-13.1.0.dist-info → open_space_toolkit_astrodynamics-15.0.0.dist-info}/RECORD +59 -28
- {open_space_toolkit_astrodynamics-13.1.0.dist-info → open_space_toolkit_astrodynamics-15.0.0.dist-info}/WHEEL +1 -1
- ostk/astrodynamics/OpenSpaceToolkitAstrodynamicsPy.cpython-39-aarch64-linux-gnu.so +0 -0
- ostk/astrodynamics/__init__.pyi +785 -0
- ostk/astrodynamics/access.pyi +588 -0
- ostk/astrodynamics/conjunction/__init__.pyi +3 -0
- ostk/astrodynamics/conjunction/message/__init__.pyi +3 -0
- ostk/astrodynamics/conjunction/message/ccsds.pyi +723 -0
- ostk/astrodynamics/converters.pyi +58 -0
- ostk/astrodynamics/data/__init__.pyi +3 -0
- ostk/astrodynamics/data/provider.pyi +22 -0
- ostk/astrodynamics/dynamics.pyi +329 -0
- ostk/astrodynamics/event_condition.pyi +580 -0
- ostk/astrodynamics/flight/__init__.pyi +547 -0
- ostk/astrodynamics/flight/profile/__init__.pyi +102 -0
- ostk/astrodynamics/flight/profile/model.pyi +176 -0
- ostk/astrodynamics/flight/system.pyi +277 -0
- ostk/astrodynamics/guidance_law.pyi +282 -0
- ostk/astrodynamics/libopen-space-toolkit-astrodynamics.so.15 +0 -0
- ostk/astrodynamics/pytrajectory/__init__.pyi +3 -0
- ostk/astrodynamics/pytrajectory/pystate.py +2 -4
- ostk/astrodynamics/pytrajectory/pystate.pyi +65 -0
- ostk/astrodynamics/solver.pyi +232 -0
- ostk/astrodynamics/test/access/test_generator.py +130 -59
- ostk/astrodynamics/test/access/test_visibility_criterion.py +198 -0
- ostk/astrodynamics/test/data/provider/test_off_nadir.py +58 -0
- ostk/astrodynamics/test/dynamics/test_dynamics.py +1 -1
- ostk/astrodynamics/test/flight/system/test_propulsion_system.py +2 -11
- ostk/astrodynamics/test/flight/system/test_satellite_system.py +6 -14
- ostk/astrodynamics/test/flight/test_maneuver.py +49 -64
- ostk/astrodynamics/test/flight/test_profile.py +4 -2
- ostk/astrodynamics/test/flight/test_system.py +5 -15
- ostk/astrodynamics/test/solvers/test_finite_difference_solver.py +31 -16
- ostk/astrodynamics/test/solvers/test_temporal_condition_solver.py +9 -1
- ostk/astrodynamics/test/test_display.py +11 -5
- ostk/astrodynamics/test/test_event_condition.py +4 -2
- ostk/astrodynamics/test/test_utilities.py +1 -1
- ostk/astrodynamics/test/test_viewer.py +70 -1
- ostk/astrodynamics/test/trajectory/state/coordinate_subset/test_cartesian_acceleration.py +136 -0
- ostk/astrodynamics/test/trajectory/state/test_coordinate_subset.py +9 -0
- ostk/astrodynamics/test/trajectory/state/test_numerical_solver.py +4 -2
- ostk/astrodynamics/test/trajectory/test_local_orbital_frame_factory.py +25 -15
- ostk/astrodynamics/test/trajectory/test_propagator.py +21 -27
- ostk/astrodynamics/test/trajectory/test_segment.py +0 -1
- ostk/astrodynamics/test/trajectory/test_state_builder.py +1 -0
- ostk/astrodynamics/trajectory/__init__.pyi +1802 -0
- ostk/astrodynamics/trajectory/orbit/__init__.pyi +361 -0
- ostk/astrodynamics/trajectory/orbit/message/__init__.pyi +3 -0
- ostk/astrodynamics/trajectory/orbit/message/spacex.pyi +273 -0
- ostk/astrodynamics/trajectory/orbit/model/__init__.pyi +517 -0
- ostk/astrodynamics/trajectory/orbit/model/brouwerLyddaneMean.pyi +127 -0
- ostk/astrodynamics/trajectory/orbit/model/kepler.pyi +581 -0
- ostk/astrodynamics/trajectory/orbit/model/sgp4.pyi +333 -0
- ostk/astrodynamics/trajectory/state/__init__.pyi +406 -0
- ostk/astrodynamics/trajectory/state/coordinate_subset.pyi +223 -0
- ostk/astrodynamics/viewer.py +32 -0
- ostk/astrodynamics/libopen-space-toolkit-astrodynamics.so.13 +0 -0
- {open_space_toolkit_astrodynamics-13.1.0.dist-info → open_space_toolkit_astrodynamics-15.0.0.dist-info}/top_level.txt +0 -0
- {open_space_toolkit_astrodynamics-13.1.0.dist-info → open_space_toolkit_astrodynamics-15.0.0.dist-info}/zip-safe +0 -0
@@ -0,0 +1,333 @@
|
|
1
|
+
from __future__ import annotations
|
2
|
+
import ostk.core.filesystem
|
3
|
+
import ostk.core.type
|
4
|
+
import ostk.physics.time
|
5
|
+
import ostk.physics.unit
|
6
|
+
import typing
|
7
|
+
__all__ = ['TLE']
|
8
|
+
class TLE:
|
9
|
+
"""
|
10
|
+
|
11
|
+
A Two-Line Element set (TLE).
|
12
|
+
|
13
|
+
A TLE is a data format encoding a list of orbital elements of an Earth-orbiting object for a given point in time
|
14
|
+
|
15
|
+
Reference:
|
16
|
+
https://en.wikipedia.org/wiki/Two-line_element_set
|
17
|
+
|
18
|
+
|
19
|
+
"""
|
20
|
+
__hash__: typing.ClassVar[None] = None
|
21
|
+
@staticmethod
|
22
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
23
|
+
...
|
24
|
+
@staticmethod
|
25
|
+
def can_parse(first_line: ostk.core.type.String, second_line: ostk.core.type.String) -> bool:
|
26
|
+
"""
|
27
|
+
Check if a TLE can be parsed from two strings.
|
28
|
+
|
29
|
+
Args:
|
30
|
+
first_line (str): The first line of the TLE.
|
31
|
+
second_line (str): The second line of the TLE.
|
32
|
+
|
33
|
+
Returns:
|
34
|
+
bool: True if the TLE can be parsed, False otherwise.
|
35
|
+
"""
|
36
|
+
@staticmethod
|
37
|
+
@typing.overload
|
38
|
+
def construct(satellite_name: ostk.core.type.String, satellite_number: ostk.core.type.Integer, classification: ostk.core.type.String, international_designator: ostk.core.type.String, epoch: ostk.physics.time.Instant, mean_motion_first_time_derivative_divided_by_two: ostk.core.type.Real, mean_motion_second_time_derivative_divided_by_six: ostk.core.type.Real, b_star_drag_term: ostk.core.type.Real, ephemeris_type: ostk.core.type.Integer, element_set_number: ostk.core.type.Integer, inclination: ostk.physics.unit.Angle, raan: ostk.physics.unit.Angle, eccentricity: ostk.core.type.Real, aop: ostk.physics.unit.Angle, mean_anomaly: ostk.physics.unit.Angle, mean_motion: ostk.physics.unit.Derived, revolution_number_at_epoch: ostk.core.type.Integer) -> TLE:
|
39
|
+
"""
|
40
|
+
Construct a TLE.
|
41
|
+
|
42
|
+
Args:
|
43
|
+
satellite_name (str): The name of the satellite.
|
44
|
+
satellite_number (int): The satellite number.
|
45
|
+
classification (str): The classification.
|
46
|
+
international_designator (str): The international designator.
|
47
|
+
epoch (Instant): The epoch.
|
48
|
+
mean_motion_first_time_derivative_divided_by_two (float): The mean motion first time derivative divided by two.
|
49
|
+
mean_motion_second_time_derivative_divided_by_six (float): The mean motion second time derivative divided by six.
|
50
|
+
b_star_drag_term (float): The B* drag term.
|
51
|
+
ephemeris_type (int): The ephemeris type.
|
52
|
+
element_set_number (int): The element set number.
|
53
|
+
inclination (Angle): The inclination.
|
54
|
+
raan (Angle): The right ascension of the ascending node.
|
55
|
+
eccentricity (float): The eccentricity.
|
56
|
+
aop (Angle): The argument of perigee.
|
57
|
+
mean_anomaly (Angle): The mean anomaly.
|
58
|
+
mean_motion (float): The mean motion.
|
59
|
+
revolution_number_at_epoch (int): The revolution number at epoch.
|
60
|
+
|
61
|
+
Returns:
|
62
|
+
TLE: The constructed TLE.
|
63
|
+
"""
|
64
|
+
@staticmethod
|
65
|
+
@typing.overload
|
66
|
+
def construct(satellite_number: ostk.core.type.Integer, classification: ostk.core.type.String, international_designator: ostk.core.type.String, epoch: ostk.physics.time.Instant, mean_motion_first_time_derivative_divided_by_two: ostk.core.type.Real, mean_motion_second_time_derivative_divided_by_six: ostk.core.type.Real, b_star_drag_term: ostk.core.type.Real, ephemeris_type: ostk.core.type.Integer, element_set_number: ostk.core.type.Integer, inclination: ostk.physics.unit.Angle, raan: ostk.physics.unit.Angle, eccentricity: ostk.core.type.Real, aop: ostk.physics.unit.Angle, mean_anomaly: ostk.physics.unit.Angle, mean_motion: ostk.physics.unit.Derived, revolution_number_at_epoch: ostk.core.type.Integer) -> TLE:
|
67
|
+
"""
|
68
|
+
Construct a TLE.
|
69
|
+
|
70
|
+
Args:
|
71
|
+
satellite_number (int): The satellite number.
|
72
|
+
classification (str): The classification.
|
73
|
+
international_designator (str): The international designator.
|
74
|
+
epoch (Instant): The epoch.
|
75
|
+
mean_motion_first_time_derivative_divided_by_two (float): The mean motion first time derivative divided by two.
|
76
|
+
mean_motion_second_time_derivative_divided_by_six (float): The mean motion second time derivative divided by six.
|
77
|
+
b_star_drag_term (float): The B* drag term.
|
78
|
+
ephemeris_type (int): The ephemeris type.
|
79
|
+
element_set_number (int): The element set number.
|
80
|
+
inclination (Angle): The inclination.
|
81
|
+
raan (Angle): The right ascension of the ascending node.
|
82
|
+
eccentricity (float): The eccentricity.
|
83
|
+
aop (Angle): The argument of perigee.
|
84
|
+
mean_anomaly (Angle): The mean anomaly.
|
85
|
+
mean_motion (float): The mean motion.
|
86
|
+
revolution_number_at_epoch (int): The revolution number at epoch.
|
87
|
+
|
88
|
+
Returns:
|
89
|
+
TLE: The constructed TLE.
|
90
|
+
"""
|
91
|
+
@staticmethod
|
92
|
+
def generate_checksum(string: ostk.core.type.String) -> ostk.core.type.Integer:
|
93
|
+
"""
|
94
|
+
Generate the checksum of a string.
|
95
|
+
|
96
|
+
Args:
|
97
|
+
string (str): The string.
|
98
|
+
|
99
|
+
Returns:
|
100
|
+
int: The checksum.
|
101
|
+
"""
|
102
|
+
@staticmethod
|
103
|
+
def load(file: ostk.core.filesystem.File) -> TLE:
|
104
|
+
"""
|
105
|
+
Load a TLE from a file.
|
106
|
+
|
107
|
+
Args:
|
108
|
+
file (str): The path to the file.
|
109
|
+
|
110
|
+
Returns:
|
111
|
+
TLE: The loaded TLE.
|
112
|
+
"""
|
113
|
+
@staticmethod
|
114
|
+
def parse(string: ostk.core.type.String) -> TLE:
|
115
|
+
"""
|
116
|
+
Parse a TLE from a string.
|
117
|
+
|
118
|
+
Args:
|
119
|
+
string (str): The string to parse.
|
120
|
+
|
121
|
+
Returns:
|
122
|
+
TLE: The parsed TLE.
|
123
|
+
"""
|
124
|
+
@staticmethod
|
125
|
+
def undefined() -> TLE:
|
126
|
+
"""
|
127
|
+
Create an undefined `TLE` object.
|
128
|
+
|
129
|
+
Returns:
|
130
|
+
TLE: The undefined `TLE` object.
|
131
|
+
"""
|
132
|
+
def __eq__(self, arg0: TLE) -> bool:
|
133
|
+
...
|
134
|
+
@typing.overload
|
135
|
+
def __init__(self, first_line: ostk.core.type.String, second_line: ostk.core.type.String) -> None:
|
136
|
+
"""
|
137
|
+
Constructor.
|
138
|
+
|
139
|
+
Args:
|
140
|
+
first_line (str): The first line of the TLE.
|
141
|
+
second_line (str): The second line of the TLE.
|
142
|
+
"""
|
143
|
+
@typing.overload
|
144
|
+
def __init__(self, satellite_name: ostk.core.type.String, first_line: ostk.core.type.String, second_line: ostk.core.type.String) -> None:
|
145
|
+
"""
|
146
|
+
Constructor.
|
147
|
+
|
148
|
+
Args:
|
149
|
+
satellite_name (str): The name of the satellite.
|
150
|
+
first_line (str): The first line of the TLE.
|
151
|
+
second_line (str): The second line of the TLE.
|
152
|
+
"""
|
153
|
+
def __ne__(self, arg0: TLE) -> bool:
|
154
|
+
...
|
155
|
+
def __repr__(self) -> str:
|
156
|
+
...
|
157
|
+
def __str__(self) -> str:
|
158
|
+
...
|
159
|
+
def get_aop(self) -> ostk.physics.unit.Angle:
|
160
|
+
"""
|
161
|
+
Get the argument of perigee.
|
162
|
+
|
163
|
+
Returns:
|
164
|
+
Angle: The argument of perigee.
|
165
|
+
"""
|
166
|
+
def get_b_star_drag_term(self) -> ostk.core.type.Real:
|
167
|
+
"""
|
168
|
+
Get the B* drag term.
|
169
|
+
|
170
|
+
Returns:
|
171
|
+
float: The B* drag term.
|
172
|
+
"""
|
173
|
+
def get_classification(self) -> ostk.core.type.String:
|
174
|
+
"""
|
175
|
+
Get the classification.
|
176
|
+
|
177
|
+
Returns:
|
178
|
+
str: The classification.
|
179
|
+
"""
|
180
|
+
def get_eccentricity(self) -> ostk.core.type.Real:
|
181
|
+
"""
|
182
|
+
Get the eccentricity.
|
183
|
+
|
184
|
+
Returns:
|
185
|
+
float: The eccentricity.
|
186
|
+
"""
|
187
|
+
def get_element_set_number(self) -> ostk.core.type.Integer:
|
188
|
+
"""
|
189
|
+
Get the element set number.
|
190
|
+
|
191
|
+
Returns:
|
192
|
+
int: The element set number.
|
193
|
+
"""
|
194
|
+
def get_ephemeris_type(self) -> ostk.core.type.Integer:
|
195
|
+
"""
|
196
|
+
Get the ephemeris type.
|
197
|
+
|
198
|
+
Returns:
|
199
|
+
int: The ephemeris type.
|
200
|
+
"""
|
201
|
+
def get_epoch(self) -> ostk.physics.time.Instant:
|
202
|
+
"""
|
203
|
+
Get the epoch.
|
204
|
+
|
205
|
+
Returns:
|
206
|
+
Instant: The epoch.
|
207
|
+
"""
|
208
|
+
def get_first_line(self) -> ostk.core.type.String:
|
209
|
+
"""
|
210
|
+
Get the first line of the TLE.
|
211
|
+
|
212
|
+
Returns:
|
213
|
+
str: The first line of the TLE.
|
214
|
+
"""
|
215
|
+
def get_first_line_checksum(self) -> ostk.core.type.Integer:
|
216
|
+
"""
|
217
|
+
Get the checksum of the first line.
|
218
|
+
|
219
|
+
Returns:
|
220
|
+
int: The checksum of the first line.
|
221
|
+
"""
|
222
|
+
def get_inclination(self) -> ostk.physics.unit.Angle:
|
223
|
+
"""
|
224
|
+
Get the inclination.
|
225
|
+
|
226
|
+
Returns:
|
227
|
+
Angle: The inclination.
|
228
|
+
"""
|
229
|
+
def get_international_designator(self) -> ostk.core.type.String:
|
230
|
+
"""
|
231
|
+
Get the international designator.
|
232
|
+
|
233
|
+
Returns:
|
234
|
+
str: The international designator.
|
235
|
+
"""
|
236
|
+
def get_mean_anomaly(self) -> ostk.physics.unit.Angle:
|
237
|
+
"""
|
238
|
+
Get the mean anomaly.
|
239
|
+
|
240
|
+
Returns:
|
241
|
+
Angle: The mean anomaly.
|
242
|
+
"""
|
243
|
+
def get_mean_motion(self) -> ostk.physics.unit.Derived:
|
244
|
+
"""
|
245
|
+
Get the mean motion.
|
246
|
+
|
247
|
+
Returns:
|
248
|
+
float: The mean motion.
|
249
|
+
"""
|
250
|
+
def get_mean_motion_first_time_derivative_divided_by_two(self) -> ostk.core.type.Real:
|
251
|
+
"""
|
252
|
+
Get the mean motion first time derivative divided by two.
|
253
|
+
|
254
|
+
Returns:
|
255
|
+
float: The mean motion first time derivative divided by two.
|
256
|
+
"""
|
257
|
+
def get_mean_motion_second_time_derivative_divided_by_six(self) -> ostk.core.type.Real:
|
258
|
+
"""
|
259
|
+
Get the mean motion second time derivative divided by six.
|
260
|
+
|
261
|
+
Returns:
|
262
|
+
float: The mean motion second time derivative divided by six.
|
263
|
+
"""
|
264
|
+
def get_raan(self) -> ostk.physics.unit.Angle:
|
265
|
+
"""
|
266
|
+
Get the right ascension of the ascending node.
|
267
|
+
|
268
|
+
Returns:
|
269
|
+
Angle: The right ascension of the ascending node.
|
270
|
+
"""
|
271
|
+
def get_revolution_number_at_epoch(self) -> ostk.core.type.Integer:
|
272
|
+
"""
|
273
|
+
Get the revolution number at epoch.
|
274
|
+
|
275
|
+
Returns:
|
276
|
+
int: The revolution number at epoch.
|
277
|
+
"""
|
278
|
+
def get_satellite_name(self) -> ostk.core.type.String:
|
279
|
+
"""
|
280
|
+
Get the name of the satellite.
|
281
|
+
|
282
|
+
Returns:
|
283
|
+
str: The name of the satellite.
|
284
|
+
"""
|
285
|
+
def get_satellite_number(self) -> ostk.core.type.Integer:
|
286
|
+
"""
|
287
|
+
Get the satellite number.
|
288
|
+
|
289
|
+
Returns:
|
290
|
+
int: The satellite number.
|
291
|
+
"""
|
292
|
+
def get_second_line(self) -> ostk.core.type.String:
|
293
|
+
"""
|
294
|
+
Get the second line of the TLE.
|
295
|
+
|
296
|
+
Returns:
|
297
|
+
str: The second line of the TLE.
|
298
|
+
"""
|
299
|
+
def get_second_line_checksum(self) -> ostk.core.type.Integer:
|
300
|
+
"""
|
301
|
+
Get the checksum of the second line.
|
302
|
+
|
303
|
+
Returns:
|
304
|
+
int: The checksum of the second line.
|
305
|
+
"""
|
306
|
+
def is_defined(self) -> bool:
|
307
|
+
"""
|
308
|
+
Check if the `TLE` object is defined.
|
309
|
+
|
310
|
+
Returns:
|
311
|
+
bool: True if the `TLE` object is defined, False otherwise.
|
312
|
+
"""
|
313
|
+
def set_epoch(self, epoch: ostk.physics.time.Instant) -> None:
|
314
|
+
"""
|
315
|
+
Set the epoch.
|
316
|
+
|
317
|
+
Args:
|
318
|
+
epoch (Instant): The epoch.
|
319
|
+
"""
|
320
|
+
def set_revolution_number_at_epoch(self, revolution_number: ostk.core.type.Integer) -> None:
|
321
|
+
"""
|
322
|
+
Set the revolution number at epoch.
|
323
|
+
|
324
|
+
Args:
|
325
|
+
revolution_number (int): The revolution number at epoch.
|
326
|
+
"""
|
327
|
+
def set_satellite_number(self, satellite_number: ostk.core.type.Integer) -> None:
|
328
|
+
"""
|
329
|
+
Set the satellite number.
|
330
|
+
|
331
|
+
Args:
|
332
|
+
satellite_number (int): The satellite number.
|
333
|
+
"""
|