keplemon 1.0.2__cp310-cp310-macosx_10_12_x86_64.whl → 1.0.5__cp310-cp310-macosx_10_12_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.

Potentially problematic release.


This version of keplemon might be problematic. Click here for more details.

Binary file
keplemon/bodies.pyi CHANGED
@@ -3,6 +3,7 @@ from keplemon.elements import TLE, CartesianState, Ephemeris, KeplerianState
3
3
  from keplemon.catalogs import TLECatalog
4
4
  from keplemon.time import Epoch, TimeSpan
5
5
  from keplemon.events import CloseApproach, CloseApproachReport, HorizonAccessReport
6
+ from keplemon.propagation import ForceProperties
6
7
 
7
8
  class Earth:
8
9
  @staticmethod
@@ -17,18 +18,24 @@ class Earth:
17
18
  def get_kem() -> float: ...
18
19
 
19
20
  class Satellite:
21
+
20
22
  id: str
21
23
  """Unique identifier for the satellite."""
22
24
 
23
25
  norad_id: int
24
26
  """Number corresponding to the satellite's NORAD catalog ID.
25
27
  """
28
+
29
+ force_properties: ForceProperties
30
+ """Force properties of the satellite used for propagation"""
31
+
26
32
  name: str | None
27
33
  """Human-readable name of the satellite"""
28
34
 
29
35
  keplerian_state: KeplerianState | None
30
36
  """Keplerian state of the satellite at the epoch of the TLE, if available"""
31
37
 
38
+ def __init__(self) -> None: ...
32
39
  @classmethod
33
40
  def from_tle(cls, tle: TLE) -> Satellite:
34
41
  """
@@ -62,10 +69,6 @@ class Satellite:
62
69
  ...
63
70
 
64
71
  class Constellation:
65
- """
66
- Args:
67
- name: Identifier of the constellation
68
- """
69
72
 
70
73
  count: int
71
74
  """Number of satellites in the constellation"""
@@ -73,7 +76,7 @@ class Constellation:
73
76
  name: str | None
74
77
  """Human-readable name of the constellation"""
75
78
 
76
- def __init__(self, name: str) -> None: ...
79
+ def __init__(self) -> None: ...
77
80
  @classmethod
78
81
  def from_tle_catalog(cls, tle_catalog: TLECatalog) -> Constellation:
79
82
  """
@@ -201,13 +204,14 @@ class Sensor:
201
204
  class Observatory:
202
205
  """
203
206
  Args:
204
- name: Identifier of the observatory
205
207
  latitude: Latitude in **_degrees_**
206
208
  longitude: Longitude in **_degrees_**
207
209
  altitude: Altitude in **_kilometers_**
208
210
  """
209
211
 
210
212
  name: str
213
+ id: str
214
+ """Unique identifier for the observatory."""
211
215
  latitude: float
212
216
  longitude: float
213
217
  altitude: float
@@ -215,7 +219,6 @@ class Observatory:
215
219
  """List of sensors at the observatory"""
216
220
  def __init__(
217
221
  self,
218
- name: str,
219
222
  latitude: float,
220
223
  longitude: float,
221
224
  altitude: float,
keplemon/propagation.py CHANGED
@@ -1,5 +1,7 @@
1
1
  from keplemon._keplemon.propagation import ( # type: ignore
2
2
  ForceProperties,
3
+ b_star_to_drag_coefficient,
4
+ drag_coefficient_to_b_star,
3
5
  )
4
6
 
5
- __all__ = ["ForceProperties"]
7
+ __all__ = ["ForceProperties", "b_star_to_drag_coefficient", "drag_coefficient_to_b_star"]
keplemon/propagation.pyi CHANGED
@@ -17,3 +17,11 @@ class ForceProperties:
17
17
  mean_motion_dot: float,
18
18
  mean_motion_dot_dot: float,
19
19
  ) -> None: ...
20
+
21
+ def b_star_to_drag_coefficient(b_star: float) -> float:
22
+ """Convert B* to drag coefficient."""
23
+ ...
24
+
25
+ def drag_coefficient_to_b_star(drag_coefficient: float) -> float:
26
+ """Convert drag coefficient to B*."""
27
+ ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: keplemon
3
- Version: 1.0.2
3
+ Version: 1.0.5
4
4
  Requires-Dist: requests
5
5
  Requires-Dist: click
6
6
  Requires-Dist: maturin>=1.0,<2.0 ; extra == 'dev'
@@ -1,10 +1,10 @@
1
- keplemon-1.0.2.dist-info/METADATA,sha256=vs06Msv1EYcWhv8ETnnNSjiZfkutMCivy_g6-V8IILY,863
2
- keplemon-1.0.2.dist-info/WHEEL,sha256=69rgN4mE9CvcpEgGYout8uyLBrXTtUTlKdZG8ClOcgE,106
3
- keplemon-1.0.2.dist-info/entry_points.txt,sha256=eYbCkvQvWfRDQ0LzaCELov1xeLAxQEHlfdgNq-LXyb0,49
1
+ keplemon-1.0.5.dist-info/METADATA,sha256=l0b2cTyJbCUpNiCbm8PHD1dSWuq1kEpseFXtf80GMIw,863
2
+ keplemon-1.0.5.dist-info/WHEEL,sha256=69rgN4mE9CvcpEgGYout8uyLBrXTtUTlKdZG8ClOcgE,106
3
+ keplemon-1.0.5.dist-info/entry_points.txt,sha256=eYbCkvQvWfRDQ0LzaCELov1xeLAxQEHlfdgNq-LXyb0,49
4
4
  keplemon/__init__.py,sha256=M9q5lNYh_BE6l4xCGJ5IH5PQH9aNm4q_r67ljsNkKvM,832
5
5
  keplemon/__init__.pyi,sha256=uE60ln_KJgcfvKburVmbcKT0h_wLPgjBWuyNLgI8ETI,1295
6
6
  keplemon/__main__.py,sha256=-3GVkDOA0lV0MIqU9gPb4zbVimg2lA8HMkvdPDw1O28,669
7
- keplemon/_keplemon.cpython-310-darwin.so,sha256=x5dyUvISQgtIH-AIdAD9FRwYbGlZ2AcPyNWgnCLexNE,2016796
7
+ keplemon/_keplemon.cpython-310-darwin.so,sha256=OHzDzxlkN2_WC-vpmcuAfo-xKyNwVHmaip_5-PA18xw,2019452
8
8
  keplemon/assets/EGM-2008.GEO,sha256=K2nG8HGLATIHZYMfw3GSClYOTCuZ7rq4RdCeUNgCw5A,148770
9
9
  keplemon/assets/EGM-96.GEO,sha256=VBkILuvEMwAPuWmUHy2PeyEfULOwJ4PEJLNf5hr84mU,148770
10
10
  keplemon/assets/GEM_5-22.GEO,sha256=stemYLn1ChXa-VdLGHYfa15AXZa_xxGZQ65p4c3gffI,6852
@@ -17,7 +17,7 @@ keplemon/assets/SGP4_Open_License.txt,sha256=0WofOXQb5YJqnYhXWXnBdCajiTJQAT60UAk
17
17
  keplemon/assets/WGS84-70.GEO,sha256=ARjEC_5s2SVd0Kh9udbTy1ztBwTeuBYPOhUVJgIqit8,148510
18
18
  keplemon/assets/time_constants.dat,sha256=qDpJ2UrQvIDfxsBc4P2AdLS-b2lyR7RCzjqmeG4Ypl8,1226736
19
19
  keplemon/bodies.py,sha256=XnaY6XTuj8CHM3XOwOSY3E8nSo0RWwCcAY0FGxAVWa8,208
20
- keplemon/bodies.pyi,sha256=0B_g7p0zFD9E6CkYf0HwkIJ1_jYOMs8P7UUjpQwihQY,7163
20
+ keplemon/bodies.pyi,sha256=onacYuFwIutSQOKhNJxNfwAvP2oWAZcx1RAPo6tt3oQ,7269
21
21
  keplemon/catalogs.py,sha256=lw71NiXlVtb-z3pQR03afxtkLca4HJcnpZ6kDCcR-Lk,102
22
22
  keplemon/catalogs.pyi,sha256=ls2HTk7CMGnxutyR5XLsVtzMuB_OoB45-Vhj4BpKQEw,524
23
23
  keplemon/elements.py,sha256=QSSiUGN8cA8X85FR-CVfy8lwsNrBtrQbrw9HWr_cH3I,481
@@ -46,8 +46,8 @@ keplemon/libspvec.dylib,sha256=JYkygWNIeMybROkdnN29NtDz9n0fydo8LwXA52ABr08,13036
46
46
  keplemon/libtimefunc.dylib,sha256=uMVGckUzaxzz-9rKXfG59EpGJYZrZp8J51JXso95nTU,101408
47
47
  keplemon/libtle.dylib,sha256=ThF0XgJqYeNS0puFE51NfLOHm3Z21NYsvKbheUPs-I4,147600
48
48
  keplemon/libvcm.dylib,sha256=nvfQ14sHFK9BRXBGa9xwEHStJYPA9VY1PMyL76V1mI8,204240
49
- keplemon/propagation.py,sha256=sFP4PYDkTFAuZ815J_XaLneLNKx0s_cW4yJBCJKpDxE,115
50
- keplemon/propagation.pyi,sha256=YSA3cBzgHLW3_dykrjMX4PbReYJmz5Z7bzfuibPaegc,464
49
+ keplemon/propagation.py,sha256=hvf_V3hXYAG4G5cvoRtUTQ4uLU6OQyhPjVpz7u-OMK0,239
50
+ keplemon/propagation.pyi,sha256=qJOCbtgYma4MOg3-aw9_r1IvBDnknwsJlMwlgaJiEZk,688
51
51
  keplemon/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
52
52
  keplemon/saal/__init__.py,sha256=aoTB13q7IvXuQ80jgGCnwXA29yjpOqLiTdrtyjyRqLE,123
53
53
  keplemon/saal/__init__.pyi,sha256=GPB5f0dcK7srvSDq2i5wvHMyi-OYZakMvlrstKdDwkk,143
@@ -59,4 +59,4 @@ keplemon/saal/time_func_interface.py,sha256=cshqJ15p_gcenMdmVuXTIoLeij1gsgVi0tuj
59
59
  keplemon/saal/time_func_interface.pyi,sha256=GCj_EOmOceJorYQLGQQj1fE2cHxPvNrYml1DLvsaMy4,1508
60
60
  keplemon/time.py,sha256=vvHcwWQ1JXPaQSvdBfXYZrk2_-ukDw0RnXDeN5wy3nU,2792
61
61
  keplemon/time.pyi,sha256=S2Ul8fpuWnor9wKNFBxLwAiwrGrVN_LJH_xy6WSocv4,6260
62
- keplemon-1.0.2.dist-info/RECORD,,
62
+ keplemon-1.0.5.dist-info/RECORD,,