open-space-toolkit-astrodynamics 16.1.0__py310-none-manylinux2014_x86_64.whl → 16.2.0__py310-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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: open-space-toolkit-astrodynamics
3
- Version: 16.1.0
3
+ Version: 16.2.0
4
4
  Summary: Orbit, attitude, access.
5
5
  Author: Open Space Collective
6
6
  Author-email: contact@open-space-collective.org
@@ -1,7 +1,7 @@
1
1
  ostk/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
2
- ostk/astrodynamics/OpenSpaceToolkitAstrodynamicsPy.cpython-310-x86_64-linux-gnu.so,sha256=OkZEmNvtEUdUR2CeaBLPBENFe65SgVBbW41iurUYqAE,2840848
2
+ ostk/astrodynamics/OpenSpaceToolkitAstrodynamicsPy.cpython-310-x86_64-linux-gnu.so,sha256=5zGW9F5Ok0HF9QiRs4qfzP4ZQH_ivaAK9a_t9wtunbE,2849040
3
3
  ostk/astrodynamics/__init__.py,sha256=3gWyqFIbhAfcdeMhmfBPQPlPQTmaOzm-6flkJe745Zk,251
4
- ostk/astrodynamics/__init__.pyi,sha256=Y5kY-6XRKF0pfiBTgJmv84us9MhK1gAdeXpMvmcBiIM,32193
4
+ ostk/astrodynamics/__init__.pyi,sha256=g2xmFaBGbZL3X6aI4FRHDX9J9Z8Q8ApS3OI0XQKGlqk,32193
5
5
  ostk/astrodynamics/access.pyi,sha256=t2CF0TU6_6ow_rkV_I4rVKap7ZIdC4jYKL3WkTDHRXg,25157
6
6
  ostk/astrodynamics/converters.py,sha256=luPh30qMp9bzEkN7hUccmxlLf7zRp_AzqmBe8IUjPhU,3314
7
7
  ostk/astrodynamics/converters.pyi,sha256=HrZFyizkc6Hv_K38ZKZ80fX_bAxd6keA_NFWNQygvbs,1745
@@ -11,7 +11,7 @@ ostk/astrodynamics/dynamics.pyi,sha256=gZ95KoGex4SB-1z6yMrngkZN1Ir9X6bEmrZgdLxq1
11
11
  ostk/astrodynamics/estimator.pyi,sha256=MnahWzp8aACxrNKWlYRsgQr5zpBxogNr-yPm7hJob5k,14000
12
12
  ostk/astrodynamics/event_condition.pyi,sha256=2c_1Sq7tkYKeAA_aRWBi43KDQXXxu6EMSmUpEWz_Fa4,45814
13
13
  ostk/astrodynamics/guidance_law.pyi,sha256=rVmbpV2Y5FsIXejaInxINS67nVHmTIxVEkhaDIn17SA,12171
14
- ostk/astrodynamics/libopen-space-toolkit-astrodynamics.so.16,sha256=K8Pnig_cKlxFlypbFxHQAIRtFp1_3pI_9ezyr5jjOR4,122033672
14
+ ostk/astrodynamics/libopen-space-toolkit-astrodynamics.so.16,sha256=z7f9nP2oT2d_F9qbdFBQ4wnH5xBhQirZRBtnxgvkmFg,122110960
15
15
  ostk/astrodynamics/solver.pyi,sha256=sPqyYPXBfFGC24dzzYyFyt01VfMAlWQ5_gh_RpeaBFk,17734
16
16
  ostk/astrodynamics/utilities.py,sha256=y8mr3M46J5z-GhS1oIEnuEJA6otwcyJ9YDhvn_5JxHM,6976
17
17
  ostk/astrodynamics/viewer.py,sha256=PLznIOEArRlx-pfMHpGoszNRf2F8mf2SHe8CGvZrVnw,16740
@@ -20,7 +20,7 @@ ostk/astrodynamics/conjunction/message/__init__.pyi,sha256=5H__sg_QUx7ybf9jtVWvX
20
20
  ostk/astrodynamics/conjunction/message/ccsds.pyi,sha256=1Peto19hRqlD7KHf1cyLP3CT4OAKzwtemqvO6_4FZ0g,28162
21
21
  ostk/astrodynamics/data/__init__.pyi,sha256=4l_mfVbnU_L7wImwgTCe8fVI81gK_tUmd0z7BY9lLi8,81
22
22
  ostk/astrodynamics/data/provider.pyi,sha256=O4Lg9FBq9itufgATnic5SMg90pn8vJJJMUdNcWP72NI,1492
23
- ostk/astrodynamics/flight/__init__.pyi,sha256=lcObS0XM7GvdJ_Oe-1GGQkSg3y_MYh-n5i5AwH6eREQ,21204
23
+ ostk/astrodynamics/flight/__init__.pyi,sha256=JEMXdq_Fkfc2GGMFZL3pta-Juu5sj9v5t3A_Tdc9SW8,22248
24
24
  ostk/astrodynamics/flight/system.pyi,sha256=WVxy6Oe4q3C81c0AOxSwAmnwUHcpXO7JCEvESjs2g4A,10508
25
25
  ostk/astrodynamics/flight/profile/__init__.pyi,sha256=WBTG17V59UwD-X1r6TOrXT_rA3WjKY-2ML1cWfji_4g,3688
26
26
  ostk/astrodynamics/flight/profile/model.pyi,sha256=g5Uy2ZLxImuETrMP4jqXr5FXl2dGAoKuNgzOH07EdBo,6807
@@ -69,7 +69,7 @@ ostk/astrodynamics/test/event_condition/test_logical_condition.py,sha256=09h5TYW
69
69
  ostk/astrodynamics/test/event_condition/test_real_condition.py,sha256=tle6HVzMFMIIkfRY7CuaA0mPtw3riJBG_JQkc1L0dpk,1374
70
70
  ostk/astrodynamics/test/flight/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
71
71
  ostk/astrodynamics/test/flight/test_maneuver.py,sha256=HonAvD9qtax72lizoDLR6ELI-poC3LWk_umg-WYygYA,5388
72
- ostk/astrodynamics/test/flight/test_profile.py,sha256=V1IekQv7Mju3fMlQZuY4vc1LPNVHsPMtjpT9zI2L_DE,7865
72
+ ostk/astrodynamics/test/flight/test_profile.py,sha256=ialv-BdeGq9WX_G8l9sva-C0TXfenA8ZOXEA_aiVtuA,8051
73
73
  ostk/astrodynamics/test/flight/test_system.py,sha256=5kJCULHdpkwAC7i6xLV7vdJnGfOdrOuhi0G22p_L160,1224
74
74
  ostk/astrodynamics/test/flight/system/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
75
75
  ostk/astrodynamics/test/flight/system/test_propulsion_system.py,sha256=SoxOt-fjHvs_86f6Xb3jAsHDOShJ6Puz7eO5wrqibaM,1835
@@ -129,8 +129,8 @@ ostk/astrodynamics/trajectory/orbit/model/kepler.pyi,sha256=OZMznHuU7e6m1rfqtOgX
129
129
  ostk/astrodynamics/trajectory/orbit/model/sgp4.pyi,sha256=OhFzoPPQHlYy7m3LiZ8TXF89M4uBTfNk6tGsBEp0sjI,14235
130
130
  ostk/astrodynamics/trajectory/state/__init__.pyi,sha256=bq__Fii35czVrTeNxc9eQVjXdqwbbQxUdNQWK3vLrMo,17649
131
131
  ostk/astrodynamics/trajectory/state/coordinate_subset.pyi,sha256=kYMfMwEjCqO1NepMYFT4QS6kIPBkVL6sGCLeLbogcMw,10176
132
- open_space_toolkit_astrodynamics-16.1.0.dist-info/METADATA,sha256=-oOEr23wSU5vy8jOZpmEflURSXpN7wm-K4nMa6S9JPc,1913
133
- open_space_toolkit_astrodynamics-16.1.0.dist-info/WHEEL,sha256=T9LN2NZIbRzW_NMBvL-Wx3BjkFw14mmvFvaC5ClfXRs,110
134
- open_space_toolkit_astrodynamics-16.1.0.dist-info/top_level.txt,sha256=zOR18699uDYnafgarhL8WU_LmTZY_5NVqutv-flp_x4,5
135
- open_space_toolkit_astrodynamics-16.1.0.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
136
- open_space_toolkit_astrodynamics-16.1.0.dist-info/RECORD,,
132
+ open_space_toolkit_astrodynamics-16.2.0.dist-info/METADATA,sha256=Xna6Sf7jCN-myVL7NvFMecPLgJTxbg5Akf9wfjZyyhI,1913
133
+ open_space_toolkit_astrodynamics-16.2.0.dist-info/WHEEL,sha256=T9LN2NZIbRzW_NMBvL-Wx3BjkFw14mmvFvaC5ClfXRs,110
134
+ open_space_toolkit_astrodynamics-16.2.0.dist-info/top_level.txt,sha256=zOR18699uDYnafgarhL8WU_LmTZY_5NVqutv-flp_x4,5
135
+ open_space_toolkit_astrodynamics-16.2.0.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
136
+ open_space_toolkit_astrodynamics-16.2.0.dist-info/RECORD,,
@@ -5,8 +5,8 @@ from ostk.astrodynamics.trajectory import State as PyState
5
5
  from ostk import core as OpenSpaceToolkitCorePy
6
6
  from ostk.core import container
7
7
  from ostk.core import filesystem
8
- import ostk.core.type
9
8
  from ostk.core import type
9
+ import ostk.core.type
10
10
  from ostk import io as OpenSpaceToolkitIOPy
11
11
  from ostk.io import URL
12
12
  from ostk.io import ip
@@ -186,7 +186,7 @@ class Profile:
186
186
  @property
187
187
  def orientation_generator(self) -> typing.Callable[[ostk.astrodynamics.trajectory.State], numpy.ndarray[numpy.float64[3, 1]]]:
188
188
  """
189
- The orientation generator of the target
189
+ The orientation generator of the target.
190
190
  """
191
191
  class OrientationProfileTarget(Profile.Target):
192
192
  """
@@ -207,7 +207,7 @@ class Profile:
207
207
  @property
208
208
  def orientation_profile(self) -> list[tuple[ostk.physics.time.Instant, numpy.ndarray[numpy.float64[3, 1]]]]:
209
209
  """
210
- The orientation profile of the target
210
+ The orientation profile of the target.
211
211
  """
212
212
  class Target:
213
213
  """
@@ -254,6 +254,10 @@ class Profile:
254
254
 
255
255
  Trajectory : Trajectory
256
256
 
257
+ TargetPosition : Target position
258
+
259
+ TargetVelocity : Target velocity
260
+
257
261
  Sun : Sun
258
262
 
259
263
  Moon : Moon
@@ -268,14 +272,16 @@ class Profile:
268
272
  """
269
273
  GeocentricNadir: typing.ClassVar[Profile.TargetType] # value = <TargetType.GeocentricNadir: 0>
270
274
  GeodeticNadir: typing.ClassVar[Profile.TargetType] # value = <TargetType.GeodeticNadir: 1>
271
- Moon: typing.ClassVar[Profile.TargetType] # value = <TargetType.Moon: 4>
272
- OrbitalMomentum: typing.ClassVar[Profile.TargetType] # value = <TargetType.OrbitalMomentum: 7>
273
- OrientationProfile: typing.ClassVar[Profile.TargetType] # value = <TargetType.OrientationProfile: 8>
274
- Sun: typing.ClassVar[Profile.TargetType] # value = <TargetType.Sun: 3>
275
+ Moon: typing.ClassVar[Profile.TargetType] # value = <TargetType.Moon: 6>
276
+ OrbitalMomentum: typing.ClassVar[Profile.TargetType] # value = <TargetType.OrbitalMomentum: 9>
277
+ OrientationProfile: typing.ClassVar[Profile.TargetType] # value = <TargetType.OrientationProfile: 10>
278
+ Sun: typing.ClassVar[Profile.TargetType] # value = <TargetType.Sun: 5>
279
+ TargetPosition: typing.ClassVar[Profile.TargetType] # value = <TargetType.TargetPosition: 3>
280
+ TargetVelocity: typing.ClassVar[Profile.TargetType] # value = <TargetType.TargetVelocity: 4>
275
281
  Trajectory: typing.ClassVar[Profile.TargetType] # value = <TargetType.Trajectory: 2>
276
- VelocityECEF: typing.ClassVar[Profile.TargetType] # value = <TargetType.VelocityECEF: 6>
277
- VelocityECI: typing.ClassVar[Profile.TargetType] # value = <TargetType.VelocityECI: 5>
278
- __members__: typing.ClassVar[dict[str, Profile.TargetType]] # value = {'GeocentricNadir': <TargetType.GeocentricNadir: 0>, 'GeodeticNadir': <TargetType.GeodeticNadir: 1>, 'Trajectory': <TargetType.Trajectory: 2>, 'Sun': <TargetType.Sun: 3>, 'Moon': <TargetType.Moon: 4>, 'VelocityECI': <TargetType.VelocityECI: 5>, 'VelocityECEF': <TargetType.VelocityECEF: 6>, 'OrbitalMomentum': <TargetType.OrbitalMomentum: 7>, 'OrientationProfile': <TargetType.OrientationProfile: 8>}
282
+ VelocityECEF: typing.ClassVar[Profile.TargetType] # value = <TargetType.VelocityECEF: 8>
283
+ VelocityECI: typing.ClassVar[Profile.TargetType] # value = <TargetType.VelocityECI: 7>
284
+ __members__: typing.ClassVar[dict[str, Profile.TargetType]] # value = {'GeocentricNadir': <TargetType.GeocentricNadir: 0>, 'GeodeticNadir': <TargetType.GeodeticNadir: 1>, 'Trajectory': <TargetType.Trajectory: 2>, 'TargetPosition': <TargetType.TargetPosition: 3>, 'TargetVelocity': <TargetType.TargetVelocity: 4>, 'Sun': <TargetType.Sun: 5>, 'Moon': <TargetType.Moon: 6>, 'VelocityECI': <TargetType.VelocityECI: 7>, 'VelocityECEF': <TargetType.VelocityECEF: 8>, 'OrbitalMomentum': <TargetType.OrbitalMomentum: 9>, 'OrientationProfile': <TargetType.OrientationProfile: 10>}
279
285
  def __eq__(self, other: typing.Any) -> bool:
280
286
  ...
281
287
  def __getstate__(self) -> int:
@@ -309,6 +315,16 @@ class Profile:
309
315
 
310
316
 
311
317
  """
318
+ @staticmethod
319
+ def target_position(trajectory: ostk.astrodynamics.Trajectory, axis: Profile.Axis, anti_direction: bool = False) -> Profile.TrajectoryTarget:
320
+ """
321
+ Create a target, which produces a vector pointing from the observer to the target position.
322
+ """
323
+ @staticmethod
324
+ def target_velocity(trajectory: ostk.astrodynamics.Trajectory, axis: Profile.Axis, anti_direction: bool = False) -> Profile.TrajectoryTarget:
325
+ """
326
+ Create a target, which produces a vector pointing along the target velocity.
327
+ """
312
328
  def __init__(self, trajectory: ostk.astrodynamics.Trajectory, axis: Profile.Axis, anti_direction: bool = False) -> None:
313
329
  """
314
330
  Constructor.
@@ -321,7 +337,7 @@ class Profile:
321
337
  @property
322
338
  def trajectory(self) -> ostk.astrodynamics.Trajectory:
323
339
  """
324
- The trajectory of the target. Required only if the target type is `Trajectory`.
340
+ The trajectory of the target. Used to compute the target position or velocity.
325
341
  """
326
342
  @staticmethod
327
343
  def align_and_constrain(alignment_target: Profile.Target, clocking_target: Profile.Target, angular_offset: ostk.physics.unit.Angle = ...) -> typing.Callable[[ostk.astrodynamics.trajectory.State], ostk.mathematics.geometry.d3.transformation.rotation.Quaternion]:
@@ -97,7 +97,11 @@ def profile(request) -> Profile:
97
97
  @pytest.fixture(
98
98
  params=[
99
99
  Profile.Target(Profile.TargetType.GeocentricNadir, Profile.Axis.X),
100
- Profile.TrajectoryTarget(
100
+ Profile.TrajectoryTarget.target_position(
101
+ Trajectory.position(Position.meters((0.0, 0.0, 0.0), Frame.ITRF())),
102
+ Profile.Axis.X,
103
+ ),
104
+ Profile.TrajectoryTarget.target_velocity(
101
105
  Trajectory.position(Position.meters((0.0, 0.0, 0.0), Frame.ITRF())),
102
106
  Profile.Axis.X,
103
107
  ),