open-space-toolkit-astrodynamics 13.1.0__py310-none-manylinux2014_aarch64.whl → 14.0.0__py310-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-14.0.0.dist-info}/METADATA +3 -3
- {open_space_toolkit_astrodynamics-13.1.0.dist-info → open_space_toolkit_astrodynamics-14.0.0.dist-info}/RECORD +52 -20
- {open_space_toolkit_astrodynamics-13.1.0.dist-info → open_space_toolkit_astrodynamics-14.0.0.dist-info}/WHEEL +1 -1
- ostk/astrodynamics/OpenSpaceToolkitAstrodynamicsPy.cpython-310-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.14 +0 -0
- ostk/astrodynamics/py.typed +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/flight/test_maneuver.py +49 -64
- ostk/astrodynamics/test/flight/test_profile.py +4 -2
- ostk/astrodynamics/test/solvers/test_finite_difference_solver.py +24 -11
- ostk/astrodynamics/test/solvers/test_temporal_condition_solver.py +9 -1
- ostk/astrodynamics/test/test_display.py +11 -5
- 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/test_local_orbital_frame_factory.py +21 -13
- ostk/astrodynamics/test/trajectory/test_propagator.py +21 -27
- ostk/astrodynamics/test/trajectory/test_segment.py +0 -1
- ostk/astrodynamics/trajectory/__init__.pyi +1796 -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-14.0.0.dist-info}/top_level.txt +0 -0
- {open_space_toolkit_astrodynamics-13.1.0.dist-info → open_space_toolkit_astrodynamics-14.0.0.dist-info}/zip-safe +0 -0
@@ -0,0 +1,723 @@
|
|
1
|
+
from __future__ import annotations
|
2
|
+
import numpy
|
3
|
+
import ostk.astrodynamics.trajectory
|
4
|
+
import ostk.core.container
|
5
|
+
import ostk.core.filesystem
|
6
|
+
import ostk.core.type
|
7
|
+
import ostk.physics.coordinate
|
8
|
+
import ostk.physics.time
|
9
|
+
import ostk.physics.unit
|
10
|
+
import typing
|
11
|
+
__all__ = ['CDM']
|
12
|
+
class CDM:
|
13
|
+
"""
|
14
|
+
|
15
|
+
Conjunction Data Message.
|
16
|
+
|
17
|
+
Ref: https://public.ccsds.org/Pubs/508x0b1e2s.pdf
|
18
|
+
|
19
|
+
|
20
|
+
"""
|
21
|
+
class Data:
|
22
|
+
"""
|
23
|
+
|
24
|
+
Conjunction Data Message data.
|
25
|
+
|
26
|
+
Ref: https://public.ccsds.org/Pubs/508x0b1e2s.pdf
|
27
|
+
|
28
|
+
|
29
|
+
"""
|
30
|
+
@staticmethod
|
31
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
32
|
+
...
|
33
|
+
def __init__(self, time_last_observation_start: ostk.physics.time.Instant, time_last_observation_end: ostk.physics.time.Instant, recommended_od_span: ostk.physics.time.Duration, actual_od_span: ostk.physics.time.Duration, observations_available: ostk.core.type.Integer, observations_used: ostk.core.type.Integer, tracks_available: ostk.core.type.Integer, tracks_used: ostk.core.type.Integer, residuals_accepted: ostk.core.type.Real, weighted_rms: ostk.core.type.Real, area_pc: ostk.core.type.Real, area_drag: ostk.core.type.Real, area_srp: ostk.core.type.Real, mass: ostk.physics.unit.Mass, cd_area_over_mass: ostk.core.type.Real, cr_area_over_mass: ostk.core.type.Real, thrust_acceleration: ostk.core.type.Real, sedr: ostk.core.type.Real, state: ostk.astrodynamics.trajectory.State = ..., covariance_matrix: numpy.ndarray[numpy.float64[m, n]] = ...) -> None:
|
34
|
+
"""
|
35
|
+
Constructor.
|
36
|
+
|
37
|
+
Args:
|
38
|
+
time_last_observation_start (Instant): The time of the last observation start.
|
39
|
+
time_last_observation_end (Instant): The time of the last observation end.
|
40
|
+
recommended_od_span (Duration): The recommended OD span.
|
41
|
+
actual_od_span (Duration): The actual OD span.
|
42
|
+
observations_available (int): The number of observations available.
|
43
|
+
observations_used (int): The number of observations used.
|
44
|
+
tracks_available (int): The number of tracks available.
|
45
|
+
tracks_used (int): The number of tracks used.
|
46
|
+
residuals_accepted (float): The residuals accepted.
|
47
|
+
weighted_rms (float): The weighted RMS.
|
48
|
+
area_pc (float): The area PC.
|
49
|
+
area_drag (float): The area drag.
|
50
|
+
area_srp (float): The area SRP.
|
51
|
+
mass (Mass): The mass.
|
52
|
+
cd_area_over_mass (float): The CD area over mass.
|
53
|
+
cr_area_over_mass (float): The CR area over mass.
|
54
|
+
thrust_acceleration (float): The thrust acceleration.
|
55
|
+
sedr (float): The SEDR.
|
56
|
+
state (State): The state.
|
57
|
+
covariance_matrix (MatrixXd): The covariance matrix.
|
58
|
+
"""
|
59
|
+
@property
|
60
|
+
def actual_od_span(self) -> ostk.physics.time.Duration:
|
61
|
+
"""
|
62
|
+
The actual OD span.
|
63
|
+
"""
|
64
|
+
@property
|
65
|
+
def area_drag(self) -> ostk.core.type.Real:
|
66
|
+
"""
|
67
|
+
The area drag.
|
68
|
+
"""
|
69
|
+
@property
|
70
|
+
def area_pc(self) -> ostk.core.type.Real:
|
71
|
+
"""
|
72
|
+
The area PC.
|
73
|
+
"""
|
74
|
+
@property
|
75
|
+
def area_srp(self) -> ostk.core.type.Real:
|
76
|
+
"""
|
77
|
+
The area SRP.
|
78
|
+
"""
|
79
|
+
@property
|
80
|
+
def cd_area_over_mass(self) -> ostk.core.type.Real:
|
81
|
+
"""
|
82
|
+
The CD area over mass.
|
83
|
+
"""
|
84
|
+
@property
|
85
|
+
def covariance_matrix(self) -> numpy.ndarray[numpy.float64[m, n]]:
|
86
|
+
"""
|
87
|
+
The covariance matrix.
|
88
|
+
"""
|
89
|
+
@property
|
90
|
+
def cr_area_over_mass(self) -> ostk.core.type.Real:
|
91
|
+
"""
|
92
|
+
The CR area over mass.
|
93
|
+
"""
|
94
|
+
@property
|
95
|
+
def mass(self) -> ostk.physics.unit.Mass:
|
96
|
+
"""
|
97
|
+
The mass.
|
98
|
+
"""
|
99
|
+
@property
|
100
|
+
def observations_available(self) -> ostk.core.type.Integer:
|
101
|
+
"""
|
102
|
+
The number of observations available.
|
103
|
+
"""
|
104
|
+
@property
|
105
|
+
def observations_used(self) -> ostk.core.type.Integer:
|
106
|
+
"""
|
107
|
+
The number of observations used.
|
108
|
+
"""
|
109
|
+
@property
|
110
|
+
def recommended_od_span(self) -> ostk.physics.time.Duration:
|
111
|
+
"""
|
112
|
+
The recommended OD span.
|
113
|
+
"""
|
114
|
+
@property
|
115
|
+
def residuals_accepted(self) -> ostk.core.type.Real:
|
116
|
+
"""
|
117
|
+
The residuals accepted.
|
118
|
+
"""
|
119
|
+
@property
|
120
|
+
def sedr(self) -> ostk.core.type.Real:
|
121
|
+
"""
|
122
|
+
The SEDR.
|
123
|
+
"""
|
124
|
+
@property
|
125
|
+
def state(self) -> ostk.astrodynamics.trajectory.State:
|
126
|
+
"""
|
127
|
+
The state.
|
128
|
+
"""
|
129
|
+
@property
|
130
|
+
def thrust_acceleration(self) -> ostk.core.type.Real:
|
131
|
+
"""
|
132
|
+
The thrust acceleration.
|
133
|
+
"""
|
134
|
+
@property
|
135
|
+
def time_last_observation_end(self) -> ostk.physics.time.Instant:
|
136
|
+
"""
|
137
|
+
The time of the last observation end.
|
138
|
+
"""
|
139
|
+
@property
|
140
|
+
def time_last_observation_start(self) -> ostk.physics.time.Instant:
|
141
|
+
"""
|
142
|
+
The time of the last observation start.
|
143
|
+
"""
|
144
|
+
@property
|
145
|
+
def tracks_available(self) -> ostk.core.type.Integer:
|
146
|
+
"""
|
147
|
+
The number of tracks available.
|
148
|
+
"""
|
149
|
+
@property
|
150
|
+
def tracks_used(self) -> ostk.core.type.Integer:
|
151
|
+
"""
|
152
|
+
The number of tracks used.
|
153
|
+
"""
|
154
|
+
@property
|
155
|
+
def weighted_rms(self) -> ostk.core.type.Real:
|
156
|
+
"""
|
157
|
+
The weighted RMS.
|
158
|
+
"""
|
159
|
+
class Header:
|
160
|
+
"""
|
161
|
+
|
162
|
+
Conjunction Data Message header.
|
163
|
+
|
164
|
+
Ref: https://public.ccsds.org/Pubs/508x0b1e2s.pdf
|
165
|
+
|
166
|
+
|
167
|
+
"""
|
168
|
+
@staticmethod
|
169
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
170
|
+
...
|
171
|
+
def __init__(self, ccsds_cdm_version: ostk.core.type.String, comment: ostk.core.type.String = ..., creation_date: ostk.physics.time.Instant, originator: ostk.core.type.String, message_for: ostk.core.type.String = ..., message_id: ostk.core.type.String) -> None:
|
172
|
+
"""
|
173
|
+
Constructor.
|
174
|
+
|
175
|
+
Args:
|
176
|
+
ccsds_cdm_version (str): The CCSDS CDM version.
|
177
|
+
comment (str): The comment.
|
178
|
+
creation_date (Instant): The creation date.
|
179
|
+
originator (str): The originator.
|
180
|
+
message_for (str): The message for.
|
181
|
+
message_id (str): The message ID.
|
182
|
+
"""
|
183
|
+
@property
|
184
|
+
def ccsds_cdm_version(self) -> ostk.core.type.String:
|
185
|
+
"""
|
186
|
+
The CCSDS CDM version.
|
187
|
+
"""
|
188
|
+
@property
|
189
|
+
def comment(self) -> ostk.core.type.String:
|
190
|
+
"""
|
191
|
+
The comment.
|
192
|
+
"""
|
193
|
+
@property
|
194
|
+
def creation_date(self) -> ostk.physics.time.Instant:
|
195
|
+
"""
|
196
|
+
The creation date.
|
197
|
+
"""
|
198
|
+
@property
|
199
|
+
def message_for(self) -> ostk.core.type.String:
|
200
|
+
"""
|
201
|
+
The message for.
|
202
|
+
"""
|
203
|
+
@property
|
204
|
+
def message_id(self) -> ostk.core.type.String:
|
205
|
+
"""
|
206
|
+
The message ID.
|
207
|
+
"""
|
208
|
+
@property
|
209
|
+
def originator(self) -> ostk.core.type.String:
|
210
|
+
"""
|
211
|
+
The originator.
|
212
|
+
"""
|
213
|
+
class Metadata:
|
214
|
+
"""
|
215
|
+
|
216
|
+
Conjunction Data Message metadata.
|
217
|
+
|
218
|
+
Ref: https://public.ccsds.org/Pubs/508x0b1e2s.pdf
|
219
|
+
|
220
|
+
|
221
|
+
"""
|
222
|
+
@staticmethod
|
223
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
224
|
+
...
|
225
|
+
def __init__(self, comment: ostk.core.type.String = ..., object: ostk.core.type.String, object_designator: ostk.core.type.Integer, catalog_name: ostk.core.type.String = ..., object_name: ostk.core.type.String, international_designator: ostk.core.type.String, object_type: CDM.ObjectType, operator_contact_position: ostk.core.type.String = ..., operator_organization: ostk.core.type.String = ..., operator_phone: ostk.core.type.String = ..., operator_email: ostk.core.type.String = ..., ephemeris_name: ostk.core.type.String, covariance_method: ostk.core.type.String, maneuverable: ostk.core.type.String, orbit_center: ostk.core.type.String = ..., reference_frame: ostk.core.type.String, gravity_model: ostk.core.type.String = ..., atmospheric_model: ostk.core.type.String = ..., n_body_perturbations: ostk.core.type.String = ..., solar_radiation_pressure: bool = False, earth_tides: bool = False, in_track_thrust: bool = False) -> None:
|
226
|
+
"""
|
227
|
+
Constructor.
|
228
|
+
|
229
|
+
Args:
|
230
|
+
comment (str): The comment.
|
231
|
+
object (str): The object.
|
232
|
+
object_designator (int): The object designator.
|
233
|
+
catalog_name (str): The catalog name.
|
234
|
+
object_name (str): The object name.
|
235
|
+
international_designator (str): The international designator.
|
236
|
+
object_type (ObjectType): The object type.
|
237
|
+
operator_contact_position (str): The operator contact position.
|
238
|
+
operator_organization (str): The operator organization.
|
239
|
+
operator_phone (str): The operator phone.
|
240
|
+
operator_email (str): The operator email.
|
241
|
+
ephemeris_name (str): The ephemeris name.
|
242
|
+
covariance_method (str): The covariance method.
|
243
|
+
maneuverable (str): The maneuverable.
|
244
|
+
orbit_center (str): The orbit center.
|
245
|
+
reference_frame (str): The reference frame.
|
246
|
+
gravity_model (str): The gravity model.
|
247
|
+
atmospheric_model (str): The atmospheric model.
|
248
|
+
n_body_perturbations (str): The n-body perturbations.
|
249
|
+
solar_radiation_pressure (bool): The solar radiation pressure.
|
250
|
+
earth_tides (bool): The earth tides.
|
251
|
+
in_track_thrust (bool): The in-track thrust.
|
252
|
+
"""
|
253
|
+
@property
|
254
|
+
def atmospheric_model(self) -> ostk.core.type.String:
|
255
|
+
"""
|
256
|
+
The atmospheric model.
|
257
|
+
"""
|
258
|
+
@property
|
259
|
+
def catalog_name(self) -> ostk.core.type.String:
|
260
|
+
"""
|
261
|
+
The catalog name.
|
262
|
+
"""
|
263
|
+
@property
|
264
|
+
def comment(self) -> ostk.core.type.String:
|
265
|
+
"""
|
266
|
+
The comment.
|
267
|
+
"""
|
268
|
+
@property
|
269
|
+
def covariance_method(self) -> ostk.core.type.String:
|
270
|
+
"""
|
271
|
+
The covariance method.
|
272
|
+
"""
|
273
|
+
@property
|
274
|
+
def earth_tides(self) -> bool:
|
275
|
+
"""
|
276
|
+
The earth tides.
|
277
|
+
"""
|
278
|
+
@property
|
279
|
+
def ephemeris_name(self) -> ostk.core.type.String:
|
280
|
+
"""
|
281
|
+
The ephemeris name.
|
282
|
+
"""
|
283
|
+
@property
|
284
|
+
def gravity_model(self) -> ostk.core.type.String:
|
285
|
+
"""
|
286
|
+
The gravity model.
|
287
|
+
"""
|
288
|
+
@property
|
289
|
+
def in_track_thrust(self) -> bool:
|
290
|
+
"""
|
291
|
+
The in-track thrust.
|
292
|
+
"""
|
293
|
+
@property
|
294
|
+
def international_designator(self) -> ostk.core.type.String:
|
295
|
+
"""
|
296
|
+
The international designator.
|
297
|
+
"""
|
298
|
+
@property
|
299
|
+
def maneuverable(self) -> ostk.core.type.String:
|
300
|
+
"""
|
301
|
+
The maneuverable.
|
302
|
+
"""
|
303
|
+
@property
|
304
|
+
def n_body_perturbations(self) -> ostk.core.type.String:
|
305
|
+
"""
|
306
|
+
The n-body perturbations.
|
307
|
+
"""
|
308
|
+
@property
|
309
|
+
def object(self) -> ostk.core.type.String:
|
310
|
+
"""
|
311
|
+
The object.
|
312
|
+
"""
|
313
|
+
@property
|
314
|
+
def object_designator(self) -> ostk.core.type.Integer:
|
315
|
+
"""
|
316
|
+
The object designator.
|
317
|
+
"""
|
318
|
+
@property
|
319
|
+
def object_name(self) -> ostk.core.type.String:
|
320
|
+
"""
|
321
|
+
The object name.
|
322
|
+
"""
|
323
|
+
@property
|
324
|
+
def object_type(self) -> CDM.ObjectType:
|
325
|
+
"""
|
326
|
+
The object type.
|
327
|
+
"""
|
328
|
+
@property
|
329
|
+
def operator_contact_position(self) -> ostk.core.type.String:
|
330
|
+
"""
|
331
|
+
The operator contact position.
|
332
|
+
"""
|
333
|
+
@property
|
334
|
+
def operator_email(self) -> ostk.core.type.String:
|
335
|
+
"""
|
336
|
+
The operator email.
|
337
|
+
"""
|
338
|
+
@property
|
339
|
+
def operator_organization(self) -> ostk.core.type.String:
|
340
|
+
"""
|
341
|
+
The operator organization.
|
342
|
+
"""
|
343
|
+
@property
|
344
|
+
def operator_phone(self) -> ostk.core.type.String:
|
345
|
+
"""
|
346
|
+
The operator phone.
|
347
|
+
"""
|
348
|
+
@property
|
349
|
+
def orbit_center(self) -> ostk.core.type.String:
|
350
|
+
"""
|
351
|
+
The orbit center.
|
352
|
+
"""
|
353
|
+
@property
|
354
|
+
def reference_frame(self) -> ostk.core.type.String:
|
355
|
+
"""
|
356
|
+
The reference frame.
|
357
|
+
"""
|
358
|
+
@property
|
359
|
+
def solar_radiation_pressure(self) -> bool:
|
360
|
+
"""
|
361
|
+
The solar radiation pressure.
|
362
|
+
"""
|
363
|
+
class ObjectType:
|
364
|
+
"""
|
365
|
+
|
366
|
+
Object type.
|
367
|
+
|
368
|
+
|
369
|
+
Members:
|
370
|
+
|
371
|
+
Payload : Payload
|
372
|
+
|
373
|
+
RocketBody : Rocket Body
|
374
|
+
|
375
|
+
Debris : Debris
|
376
|
+
|
377
|
+
Unknown : Unknown
|
378
|
+
|
379
|
+
Other : Other
|
380
|
+
"""
|
381
|
+
Debris: typing.ClassVar[CDM.ObjectType] # value = <ObjectType.Debris: 2>
|
382
|
+
Other: typing.ClassVar[CDM.ObjectType] # value = <ObjectType.Other: 4>
|
383
|
+
Payload: typing.ClassVar[CDM.ObjectType] # value = <ObjectType.Payload: 0>
|
384
|
+
RocketBody: typing.ClassVar[CDM.ObjectType] # value = <ObjectType.RocketBody: 1>
|
385
|
+
Unknown: typing.ClassVar[CDM.ObjectType] # value = <ObjectType.Unknown: 3>
|
386
|
+
__members__: typing.ClassVar[dict[str, CDM.ObjectType]] # value = {'Payload': <ObjectType.Payload: 0>, 'RocketBody': <ObjectType.RocketBody: 1>, 'Debris': <ObjectType.Debris: 2>, 'Unknown': <ObjectType.Unknown: 3>, 'Other': <ObjectType.Other: 4>}
|
387
|
+
@staticmethod
|
388
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
389
|
+
...
|
390
|
+
def __eq__(self, other: typing.Any) -> bool:
|
391
|
+
...
|
392
|
+
def __getstate__(self) -> int:
|
393
|
+
...
|
394
|
+
def __hash__(self) -> int:
|
395
|
+
...
|
396
|
+
def __index__(self) -> int:
|
397
|
+
...
|
398
|
+
def __init__(self, value: int) -> None:
|
399
|
+
...
|
400
|
+
def __int__(self) -> int:
|
401
|
+
...
|
402
|
+
def __ne__(self, other: typing.Any) -> bool:
|
403
|
+
...
|
404
|
+
def __repr__(self) -> str:
|
405
|
+
...
|
406
|
+
def __setstate__(self, state: int) -> None:
|
407
|
+
...
|
408
|
+
def __str__(self) -> str:
|
409
|
+
...
|
410
|
+
@property
|
411
|
+
def name(self) -> str:
|
412
|
+
...
|
413
|
+
@property
|
414
|
+
def value(self) -> int:
|
415
|
+
...
|
416
|
+
class RelativeMetadata:
|
417
|
+
"""
|
418
|
+
|
419
|
+
Relative metadata.
|
420
|
+
|
421
|
+
Ref: https://public.ccsds.org/Pubs/508x0b1e2s.pdf
|
422
|
+
|
423
|
+
|
424
|
+
"""
|
425
|
+
@staticmethod
|
426
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
427
|
+
...
|
428
|
+
def __init__(self, comment: ostk.core.type.String = ..., time_of_closest_approach: ostk.physics.time.Instant, miss_distance: ostk.physics.unit.Length, relative_position: ostk.physics.coordinate.Position = ..., relative_velocity: ostk.physics.coordinate.Velocity = ..., start_screen_period: ostk.physics.time.Instant, end_screen_period: ostk.physics.time.Instant, screen_volume_frame: ostk.core.type.String = ..., screen_volume_shape: ostk.core.type.String = ..., screen_volume_x: ostk.core.type.Real = ..., screen_volume_y: ostk.core.type.Real = ..., screen_volume_z: ostk.core.type.Real = ..., screen_entry_time: ostk.physics.time.Instant, screen_exit_time: ostk.physics.time.Instant, collision_probability: ostk.core.type.Real, collision_probability_method: ostk.core.type.String) -> None:
|
429
|
+
"""
|
430
|
+
Constructor.
|
431
|
+
|
432
|
+
Args:
|
433
|
+
comment (str): The comment.
|
434
|
+
time_of_closest_approach (Instant): The time of closest approach.
|
435
|
+
miss_distance (Distance): The miss distance.
|
436
|
+
relative_position (Position): The relative position.
|
437
|
+
relative_velocity (Velocity): The relative velocity.
|
438
|
+
start_screen_period (Instant): The start screen period.
|
439
|
+
end_screen_period (Instant): The end screen period.
|
440
|
+
screen_volume_frame (str): The screen volume frame.
|
441
|
+
screen_volume_shape (str): The screen volume shape.
|
442
|
+
screen_volume_x (float): The screen volume x.
|
443
|
+
screen_volume_y (float): The screen volume y.
|
444
|
+
screen_volume_z (float): The screen volume z.
|
445
|
+
screen_entry_time (Instant): The screen entry time.
|
446
|
+
screen_exit_time (Instant): The screen exit time.
|
447
|
+
collision_probability (Probability): The collision probability.
|
448
|
+
collision_probability_method (str): The collision probability method.
|
449
|
+
"""
|
450
|
+
@property
|
451
|
+
def collision_probability(self) -> ostk.core.type.Real:
|
452
|
+
"""
|
453
|
+
The collision probability.
|
454
|
+
"""
|
455
|
+
@property
|
456
|
+
def collision_probability_method(self) -> ostk.core.type.String:
|
457
|
+
"""
|
458
|
+
The collision probability method.
|
459
|
+
"""
|
460
|
+
@property
|
461
|
+
def comment(self) -> ostk.core.type.String:
|
462
|
+
"""
|
463
|
+
The comment.
|
464
|
+
"""
|
465
|
+
@property
|
466
|
+
def end_screen_period(self) -> ostk.physics.time.Instant:
|
467
|
+
"""
|
468
|
+
The end screen period.
|
469
|
+
"""
|
470
|
+
@property
|
471
|
+
def miss_distance(self) -> ostk.physics.unit.Length:
|
472
|
+
"""
|
473
|
+
The miss distance.
|
474
|
+
"""
|
475
|
+
@property
|
476
|
+
def relative_position(self) -> ostk.physics.coordinate.Position:
|
477
|
+
"""
|
478
|
+
The relative position.
|
479
|
+
"""
|
480
|
+
@property
|
481
|
+
def relative_velocity(self) -> ostk.physics.coordinate.Velocity:
|
482
|
+
"""
|
483
|
+
The relative velocity.
|
484
|
+
"""
|
485
|
+
@property
|
486
|
+
def screen_entry_time(self) -> ostk.physics.time.Instant:
|
487
|
+
"""
|
488
|
+
The screen entry time.
|
489
|
+
"""
|
490
|
+
@property
|
491
|
+
def screen_exit_time(self) -> ostk.physics.time.Instant:
|
492
|
+
"""
|
493
|
+
The screen exit time.
|
494
|
+
"""
|
495
|
+
@property
|
496
|
+
def screen_volume_frame(self) -> ostk.core.type.String:
|
497
|
+
"""
|
498
|
+
The screen volume frame.
|
499
|
+
"""
|
500
|
+
@property
|
501
|
+
def screen_volume_shape(self) -> ostk.core.type.String:
|
502
|
+
"""
|
503
|
+
The screen volume shape.
|
504
|
+
"""
|
505
|
+
@property
|
506
|
+
def screen_volume_x(self) -> ostk.core.type.Real:
|
507
|
+
"""
|
508
|
+
The screen volume x.
|
509
|
+
"""
|
510
|
+
@property
|
511
|
+
def screen_volume_y(self) -> ostk.core.type.Real:
|
512
|
+
"""
|
513
|
+
The screen volume y.
|
514
|
+
"""
|
515
|
+
@property
|
516
|
+
def screen_volume_z(self) -> ostk.core.type.Real:
|
517
|
+
"""
|
518
|
+
The screen volume z.
|
519
|
+
"""
|
520
|
+
@property
|
521
|
+
def start_screen_period(self) -> ostk.physics.time.Instant:
|
522
|
+
"""
|
523
|
+
The start screen period.
|
524
|
+
"""
|
525
|
+
@property
|
526
|
+
def time_of_closest_approach(self) -> ostk.physics.time.Instant:
|
527
|
+
"""
|
528
|
+
The time of closest approach.
|
529
|
+
"""
|
530
|
+
@staticmethod
|
531
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
532
|
+
...
|
533
|
+
@staticmethod
|
534
|
+
def dictionary(dictionary: ostk.core.container.Dictionary) -> CDM:
|
535
|
+
"""
|
536
|
+
Get the CDM dictionary.
|
537
|
+
|
538
|
+
Returns:
|
539
|
+
Dictionary: The CDM dictionary.
|
540
|
+
"""
|
541
|
+
@staticmethod
|
542
|
+
def load(file: ostk.core.filesystem.File) -> CDM:
|
543
|
+
"""
|
544
|
+
Load a CDM from a file.
|
545
|
+
|
546
|
+
Args:
|
547
|
+
file (str): The file to load.
|
548
|
+
|
549
|
+
Returns:
|
550
|
+
CDM: The loaded CDM.
|
551
|
+
"""
|
552
|
+
@staticmethod
|
553
|
+
def object_type_from_string(string: ostk.core.type.String) -> CDM.ObjectType:
|
554
|
+
"""
|
555
|
+
Get the object type from a string.
|
556
|
+
|
557
|
+
Args:
|
558
|
+
string (str): The string to get the object type from.
|
559
|
+
|
560
|
+
Returns:
|
561
|
+
CDM::ObjectType: The object type.
|
562
|
+
"""
|
563
|
+
@staticmethod
|
564
|
+
def parse(string: ostk.core.type.String) -> CDM:
|
565
|
+
"""
|
566
|
+
Parse a CDM from a string.
|
567
|
+
|
568
|
+
Args:
|
569
|
+
string (str): The string to parse.
|
570
|
+
|
571
|
+
Returns:
|
572
|
+
CDM: The parsed CDM.
|
573
|
+
"""
|
574
|
+
@staticmethod
|
575
|
+
def undefined() -> CDM:
|
576
|
+
"""
|
577
|
+
Get an undefined CDM.
|
578
|
+
|
579
|
+
Returns:
|
580
|
+
CDM: An undefined CDM.
|
581
|
+
"""
|
582
|
+
def __init__(self, header: ..., relative_metadata: ..., objects_metadata_array: list[...], objects_data_array: list[...]) -> None:
|
583
|
+
"""
|
584
|
+
Constructor.
|
585
|
+
|
586
|
+
Args:
|
587
|
+
header (CDM::Header): The CDM header.
|
588
|
+
relative_metadata (CDM::RelativeMetadata): The relative metadata.
|
589
|
+
objects_metadata_array (Array<CDM::Metadata>): The objects metadata array.
|
590
|
+
objects_data_array (Array<CDM::Data>): The objects data array.
|
591
|
+
"""
|
592
|
+
def get_ccsds_cdm_version(self) -> ostk.core.type.String:
|
593
|
+
"""
|
594
|
+
Get the CCSDS CDM version.
|
595
|
+
|
596
|
+
Returns:
|
597
|
+
str: The CCSDS CDM version.
|
598
|
+
"""
|
599
|
+
def get_collision_probability(self) -> ostk.core.type.Real:
|
600
|
+
"""
|
601
|
+
Get the collision probability.
|
602
|
+
|
603
|
+
Returns:
|
604
|
+
Probability: The collision probability.
|
605
|
+
"""
|
606
|
+
def get_collision_probability_method(self) -> ostk.core.type.String:
|
607
|
+
"""
|
608
|
+
Get the collision probability method.
|
609
|
+
|
610
|
+
Returns:
|
611
|
+
str: The collision probability method.
|
612
|
+
"""
|
613
|
+
def get_creation_instant(self) -> ostk.physics.time.Instant:
|
614
|
+
"""
|
615
|
+
Get the creation instant.
|
616
|
+
|
617
|
+
Returns:
|
618
|
+
Instant: The creation instant.
|
619
|
+
"""
|
620
|
+
def get_data_array(self) -> list[...]:
|
621
|
+
"""
|
622
|
+
Get the objects data array.
|
623
|
+
|
624
|
+
Returns:
|
625
|
+
Array<CDM::Data>: The objects data array.
|
626
|
+
"""
|
627
|
+
def get_header(self) -> ...:
|
628
|
+
"""
|
629
|
+
Get the CDM header.
|
630
|
+
|
631
|
+
Returns:
|
632
|
+
CDM::Header: The CDM header.
|
633
|
+
"""
|
634
|
+
def get_message_for(self) -> ostk.core.type.String:
|
635
|
+
"""
|
636
|
+
Get the message for.
|
637
|
+
|
638
|
+
Returns:
|
639
|
+
str: The message for.
|
640
|
+
"""
|
641
|
+
def get_message_id(self) -> ostk.core.type.String:
|
642
|
+
"""
|
643
|
+
Get the message ID.
|
644
|
+
|
645
|
+
Returns:
|
646
|
+
str: The message ID.
|
647
|
+
"""
|
648
|
+
def get_metadata_array(self) -> list[...]:
|
649
|
+
"""
|
650
|
+
Get the objects metadata array.
|
651
|
+
|
652
|
+
Returns:
|
653
|
+
Array<CDM::Metadata>: The objects metadata array.
|
654
|
+
"""
|
655
|
+
def get_miss_distance(self) -> ostk.physics.unit.Length:
|
656
|
+
"""
|
657
|
+
Get the miss distance.
|
658
|
+
|
659
|
+
Returns:
|
660
|
+
Distance: The miss distance.
|
661
|
+
"""
|
662
|
+
def get_object_data_at(self, index: int) -> ...:
|
663
|
+
"""
|
664
|
+
Get the object data at the specified index.
|
665
|
+
|
666
|
+
Args:
|
667
|
+
index (int): The index of the object data.
|
668
|
+
|
669
|
+
Returns:
|
670
|
+
Data: The object data.
|
671
|
+
"""
|
672
|
+
def get_object_metadata_at(self, index: int) -> ...:
|
673
|
+
"""
|
674
|
+
Get the object metadata at the specified index.
|
675
|
+
|
676
|
+
Args:
|
677
|
+
index (int): The index of the object metadata.
|
678
|
+
|
679
|
+
Returns:
|
680
|
+
CDM::Metadata: The object metadata.
|
681
|
+
"""
|
682
|
+
def get_originator(self) -> ostk.core.type.String:
|
683
|
+
"""
|
684
|
+
Get the originator.
|
685
|
+
|
686
|
+
Returns:
|
687
|
+
str: The originator.
|
688
|
+
"""
|
689
|
+
def get_relative_metadata(self) -> ...:
|
690
|
+
"""
|
691
|
+
Get the relative metadata.
|
692
|
+
|
693
|
+
Returns:
|
694
|
+
CDM::RelativeMetadata: The relative metadata.
|
695
|
+
"""
|
696
|
+
def get_relative_position(self) -> ostk.physics.coordinate.Position:
|
697
|
+
"""
|
698
|
+
Get the relative position.
|
699
|
+
|
700
|
+
Returns:
|
701
|
+
Position: The relative position.
|
702
|
+
"""
|
703
|
+
def get_relative_velocity(self) -> ostk.physics.coordinate.Velocity:
|
704
|
+
"""
|
705
|
+
Get the relative velocity.
|
706
|
+
|
707
|
+
Returns:
|
708
|
+
Velocity: The relative velocity.
|
709
|
+
"""
|
710
|
+
def get_time_of_closest_approach(self) -> ostk.physics.time.Instant:
|
711
|
+
"""
|
712
|
+
Get the time of closest approach.
|
713
|
+
|
714
|
+
Returns:
|
715
|
+
Instant: The time of closest approach.
|
716
|
+
"""
|
717
|
+
def is_defined(self) -> bool:
|
718
|
+
"""
|
719
|
+
Check if the CDM is defined.
|
720
|
+
|
721
|
+
Returns:
|
722
|
+
bool: True if the CDM is defined, False otherwise.
|
723
|
+
"""
|