open-space-toolkit-astrodynamics 16.6.2__py310-none-manylinux2014_aarch64.whl → 16.7.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: open-space-toolkit-astrodynamics
3
- Version: 16.6.2
3
+ Version: 16.7.1
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-aarch64-linux-gnu.so,sha256=-DqWoXNzUYilBrJrDs_GnhtnHI-l8d9YqHyRvEsM5r8,2668880
2
+ ostk/astrodynamics/OpenSpaceToolkitAstrodynamicsPy.cpython-310-aarch64-linux-gnu.so,sha256=O1eqssc__BaOgE72j1WJXTk9JEdIMfFFUGDmOEwVuag,2681168
3
3
  ostk/astrodynamics/__init__.py,sha256=3gWyqFIbhAfcdeMhmfBPQPlPQTmaOzm-6flkJe745Zk,251
4
- ostk/astrodynamics/__init__.pyi,sha256=wUzGQSogTjxlQuTfsfV5CkW1PHTiA2zBY0O7_nd8bGA,32224
4
+ ostk/astrodynamics/__init__.pyi,sha256=WlYnZqPGsBIbDLAV-9_6xUR3TVO4bXwcqDQnRlpZAyg,32224
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
@@ -12,8 +12,8 @@ ostk/astrodynamics/eclipse.pyi,sha256=Q8fzdukA7fyxbUM3wjEXAHukT-Ovl4FM00NbjsMPnU
12
12
  ostk/astrodynamics/estimator.pyi,sha256=MnahWzp8aACxrNKWlYRsgQr5zpBxogNr-yPm7hJob5k,14000
13
13
  ostk/astrodynamics/event_condition.pyi,sha256=2c_1Sq7tkYKeAA_aRWBi43KDQXXxu6EMSmUpEWz_Fa4,45814
14
14
  ostk/astrodynamics/guidance_law.pyi,sha256=rVmbpV2Y5FsIXejaInxINS67nVHmTIxVEkhaDIn17SA,12171
15
- ostk/astrodynamics/libopen-space-toolkit-astrodynamics.so.16,sha256=fc-6Qw3yvWL8H0Gzjx4YzOO_z_nYcR5b2vF5NAT0YGg,3978080
16
- ostk/astrodynamics/solver.pyi,sha256=sPqyYPXBfFGC24dzzYyFyt01VfMAlWQ5_gh_RpeaBFk,17734
15
+ ostk/astrodynamics/libopen-space-toolkit-astrodynamics.so.16,sha256=J_a9lt-Uu8wE9rYTixrIqFTHV4HVxDe0P4wRLmWPn_U,4003728
16
+ ostk/astrodynamics/solver.pyi,sha256=dRdR9RLqwSaBBX_ZRmpeBv06WvM_BFNo3WUdNzorYTY,17805
17
17
  ostk/astrodynamics/utilities.py,sha256=y8mr3M46J5z-GhS1oIEnuEJA6otwcyJ9YDhvn_5JxHM,6976
18
18
  ostk/astrodynamics/viewer.py,sha256=SlKyOWKjaF3V9HFB3I7ZgHy7n_GLeHTWM9q2wXkpxe8,27077
19
19
  ostk/astrodynamics/conjunction/__init__.pyi,sha256=HFvWl8bCmrq3cBkUh5X5RGIh8webmVGxaZdpsz3WN-E,79
@@ -116,7 +116,7 @@ ostk/astrodynamics/test/trajectory/orbit/models/kepler/__init__.py,sha256=epnVn2
116
116
  ostk/astrodynamics/test/trajectory/orbit/models/kepler/test_brouwer_lyddane_mean.py,sha256=NvtwHJzZvfp8LZGcRhWU1kJ_rdLCim8GBXUbzMrPjjc,1542
117
117
  ostk/astrodynamics/test/trajectory/orbit/models/kepler/test_brouwer_lyddane_mean_long.py,sha256=c-8M4py0LEDHoRuc-ukmUyGYN7PcSDWFKY2Bh1KFNRk,2468
118
118
  ostk/astrodynamics/test/trajectory/orbit/models/kepler/test_brouwer_lyddane_mean_short.py,sha256=rLA6Ud41SFZSWZiOzGFU1FBPlzv6-c6eP8Ly-bqsFKo,2485
119
- ostk/astrodynamics/test/trajectory/orbit/models/kepler/test_coe.py,sha256=ryMfYHgBdcaZxvPXYLcH9YlFj-gUif6s-4OST_e_bP0,5947
119
+ ostk/astrodynamics/test/trajectory/orbit/models/kepler/test_coe.py,sha256=fpA87rvCikj4VEU0Z_8Gr-gCKvxABg8JqK86avXZA48,6391
120
120
  ostk/astrodynamics/test/trajectory/orbit/models/sgp4/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
121
121
  ostk/astrodynamics/test/trajectory/orbit/models/sgp4/test_tle.py,sha256=jkyRr5NJQMaSpI3ey7cKcH0E-BlalaUlf_mZPYTSow8,11482
122
122
  ostk/astrodynamics/test/trajectory/state/test_coordinate_broker.py,sha256=ho5FBfB3IvIjfQl7EYoIN1KBuH9lu76IiNMuweq8cqg,2844
@@ -134,12 +134,12 @@ ostk/astrodynamics/trajectory/orbit/message/__init__.pyi,sha256=-GNBlYPrsjelhKxW
134
134
  ostk/astrodynamics/trajectory/orbit/message/spacex.pyi,sha256=fnUVJGWlSPo8AmLVuu08LubsAuVGo-gFaT86yd4f4CI,10558
135
135
  ostk/astrodynamics/trajectory/orbit/model/__init__.pyi,sha256=KoVjQjYzKCV4eVArMorrds7s998vP16AA0ZV_jc8SNw,26867
136
136
  ostk/astrodynamics/trajectory/orbit/model/brouwerLyddaneMean.pyi,sha256=t1jbWsK8JgXkx-l_WSg96xfEG9fsddZ_CjqLpC3GBVY,5874
137
- ostk/astrodynamics/trajectory/orbit/model/kepler.pyi,sha256=OZMznHuU7e6m1rfqtOgXbgBguimv4tg1RRvxRFQVAlw,27171
137
+ ostk/astrodynamics/trajectory/orbit/model/kepler.pyi,sha256=KL-FwPbG4OUkPjhQb1PaJ2Pss7L9odwzIKB0EqQeqtE,28475
138
138
  ostk/astrodynamics/trajectory/orbit/model/sgp4.pyi,sha256=OhFzoPPQHlYy7m3LiZ8TXF89M4uBTfNk6tGsBEp0sjI,14235
139
139
  ostk/astrodynamics/trajectory/state/__init__.pyi,sha256=bq__Fii35czVrTeNxc9eQVjXdqwbbQxUdNQWK3vLrMo,17649
140
140
  ostk/astrodynamics/trajectory/state/coordinate_subset.pyi,sha256=kYMfMwEjCqO1NepMYFT4QS6kIPBkVL6sGCLeLbogcMw,10176
141
- open_space_toolkit_astrodynamics-16.6.2.dist-info/METADATA,sha256=l6__REaHrEpQerid9ExNPn1ezilY1GjOnDyWBPmpsOA,1913
142
- open_space_toolkit_astrodynamics-16.6.2.dist-info/WHEEL,sha256=kCYU2LrjW43smHehr0vXUOzugvmfEhpeBXY4IcS5vOo,111
143
- open_space_toolkit_astrodynamics-16.6.2.dist-info/top_level.txt,sha256=zOR18699uDYnafgarhL8WU_LmTZY_5NVqutv-flp_x4,5
144
- open_space_toolkit_astrodynamics-16.6.2.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
145
- open_space_toolkit_astrodynamics-16.6.2.dist-info/RECORD,,
141
+ open_space_toolkit_astrodynamics-16.7.1.dist-info/METADATA,sha256=XO8JRdEPgLt74YCe3W0vBpqU3tW5zeDVLgbrpbNytZA,1913
142
+ open_space_toolkit_astrodynamics-16.7.1.dist-info/WHEEL,sha256=kCYU2LrjW43smHehr0vXUOzugvmfEhpeBXY4IcS5vOo,111
143
+ open_space_toolkit_astrodynamics-16.7.1.dist-info/top_level.txt,sha256=zOR18699uDYnafgarhL8WU_LmTZY_5NVqutv-flp_x4,5
144
+ open_space_toolkit_astrodynamics-16.7.1.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
145
+ open_space_toolkit_astrodynamics-16.7.1.dist-info/RECORD,,
@@ -14,20 +14,20 @@ from ostk import mathematics as OpenSpaceToolkitMathematicsPy
14
14
  from ostk.mathematics import curve_fitting
15
15
  from ostk.mathematics import geometry
16
16
  from ostk.mathematics import object
17
- import ostk.physics
18
17
  from ostk import physics as OpenSpaceToolkitPhysicsPy
18
+ import ostk.physics
19
19
  from ostk.physics import Environment
20
20
  from ostk.physics import Manager
21
21
  from ostk.physics import Unit
22
- from ostk.physics import coordinate
23
22
  import ostk.physics.coordinate
23
+ from ostk.physics import coordinate
24
24
  import ostk.physics.coordinate.spherical
25
25
  from ostk.physics import environment
26
26
  import ostk.physics.environment.object
27
- import ostk.physics.time
28
27
  from ostk.physics import time
29
- from ostk.physics import unit
28
+ import ostk.physics.time
30
29
  import ostk.physics.unit
30
+ from ostk.physics import unit
31
31
  import typing
32
32
  from . import access
33
33
  from . import conjunction
@@ -100,7 +100,7 @@ class FiniteDifferenceSolver:
100
100
  generate_state_coordinates (function): The function to generate the state coordinates.
101
101
 
102
102
  Returns:
103
- np.array: The gradient.
103
+ np.array: The gradient of the state, matching the coordinates from generate_state_coordinates.
104
104
  """
105
105
  def compute_jacobian(self, state: typing.Any, generate_state_coordinates: typing.Callable[[..., ostk.physics.time.Instant], numpy.ndarray[numpy.float64[m, 1]]]) -> numpy.ndarray[numpy.float64[m, n]]:
106
106
  """
@@ -174,6 +174,16 @@ class TestCOE:
174
174
  COE.compute_mean_ltan(Angle.degrees(270.0), Instant.J2000(), Sun.default())
175
175
  is not None
176
176
  )
177
+ assert COE.compute_ltdn(Angle.degrees(270.0), Instant.J2000()) is not None
178
+ assert (
179
+ COE.compute_ltdn(Angle.degrees(270.0), Instant.J2000(), Sun.default())
180
+ is not None
181
+ )
182
+ assert COE.compute_mean_ltdn(Angle.degrees(270.0), Instant.J2000()) is not None
183
+ assert (
184
+ COE.compute_mean_ltdn(Angle.degrees(270.0), Instant.J2000(), Sun.default())
185
+ is not None
186
+ )
177
187
 
178
188
  def test_from_SI_vector(
179
189
  self,
@@ -193,6 +193,19 @@ class COE:
193
193
  float: The Local Time of the Ascending Node (LTAN) in hours.
194
194
  """
195
195
  @staticmethod
196
+ def compute_ltdn(raan: ostk.physics.unit.Angle, instant: ostk.physics.time.Instant, sun: ostk.physics.environment.object.celestial.Sun = ...) -> ostk.physics.time.Time:
197
+ """
198
+ Compute the Local Time of the Descending Node (LTDN) from the RAAN and instant.
199
+
200
+ Args:
201
+ raan (Angle): The Right Ascension of the Descending Node.
202
+ instant (Instant): The instant at which to compute LTDN.
203
+ sun (Sun): The Sun model.
204
+
205
+ Returns:
206
+ float: The Local Time of the Descending Node (LTDN) in hours.
207
+ """
208
+ @staticmethod
196
209
  def compute_mean_ltan(raan: ostk.physics.unit.Angle, instant: ostk.physics.time.Instant, sun: ostk.physics.environment.object.celestial.Sun = ...) -> ostk.physics.time.Time:
197
210
  """
198
211
  Compute the Mean Local Time of the Ascending Node (MLTAN) from the RAAN and instant.
@@ -206,6 +219,19 @@ class COE:
206
219
  float: The Mean Local Time of the Ascending Node (MLTAN) in hours.
207
220
  """
208
221
  @staticmethod
222
+ def compute_mean_ltdn(raan: ostk.physics.unit.Angle, instant: ostk.physics.time.Instant, sun: ostk.physics.environment.object.celestial.Sun = ...) -> ostk.physics.time.Time:
223
+ """
224
+ Compute the Mean Local Time of the Descending Node (MLTDN) from the RAAN and instant.
225
+
226
+ Args:
227
+ raan (Angle): The Right Ascension of the Descending Node.
228
+ instant (Instant): The instant at which to compute MLTDN.
229
+ sun (Sun): The Sun model.
230
+
231
+ Returns:
232
+ float: The Mean Local Time of the Descending Node (MLTDN) in hours.
233
+ """
234
+ @staticmethod
209
235
  def compute_radial_distance(semi_latus_rectum: ostk.core.type.Real, eccentricity: ostk.core.type.Real, true_anomaly: ostk.core.type.Real) -> ostk.core.type.Real:
210
236
  """
211
237
  Compute the radial distance from the semi-latus rectum and the eccentricity.
@@ -275,20 +301,20 @@ class COE:
275
301
 
276
302
  The critical angles for inclination are 63.4349 degrees and 116.5651 degrees.
277
303
  The critical angles for AoP are 90.0 degrees and 270.0 degrees.
278
-
304
+
279
305
  At a minimum, a semi-major axis and shared pointer to a central celestial body with a defined J2 and J3
280
306
  must be provided. In this case, the inclination and AoP are set to critical angles, and the eccentricity
281
307
  is derived from inclination. RAAN and true anomaly default to zero degrees.
282
-
308
+
283
309
  Additionally, the following combinations of inputs are supported:
284
310
  - AoP (inclination set to critical value, eccentricity derived)
285
311
  - AoP and eccentricity (inclination derived)
286
312
  - AoP and inclination, but at least one of them must be a critical value (eccentricity derived)
287
313
  - Inclination (AoP set to critical value, eccentricity derived)
288
314
  - Eccentricity (AoP set to critical value, inclination derived)
289
-
315
+
290
316
  Note that inclination and eccentricity cannot both be provided.
291
-
317
+
292
318
  RAAN and True Anomaly may be provided alongside any of these arguments, and will be passed through
293
319
  to the resulting COE as they do not impact the frozen orbit condition.
294
320
 
@@ -312,20 +338,20 @@ class COE:
312
338
 
313
339
  The critical angles for inclination are 63.4349 degrees and 116.5651 degrees.
314
340
  The critical angles for AoP are 90.0 degrees and 270.0 degrees.
315
-
341
+
316
342
  At a minimum, a semi-major axis, equatorial radius, J2, and J3 must be provided. In this case,
317
343
  the inclination and AoP are set to critical angles, and the eccentricity is derived from inclination.
318
344
  RAAN and true anomaly default to zero degrees.
319
-
345
+
320
346
  Additionally, the following combinations of inputs are supported:
321
347
  - AoP (inclination set to critical value, eccentricity derived)
322
348
  - AoP and eccentricity (inclination derived)
323
349
  - AoP and inclination, but at least one of them must be a critical value (eccentricity derived)
324
350
  - Inclination (AoP set to critical value, eccentricity derived)
325
351
  - Eccentricity (AoP set to critical value, inclination derived)
326
-
352
+
327
353
  Note that inclination and eccentricity cannot both be provided.
328
-
354
+
329
355
  RAAN and True Anomaly may be provided alongside any of these arguments, and will be passed through
330
356
  to the resulting COE as they do not impact the frozen orbit condition.
331
357