keplemon 0.3.4__cp311-cp311-win_amd64.whl → 1.0.1__cp311-cp311-win_amd64.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
@@ -17,12 +17,11 @@ class Earth:
17
17
  def get_kem() -> float: ...
18
18
 
19
19
  class Satellite:
20
- satellite_id: int
21
- """Number used to distinguish the satellite from other objects.
22
-
23
- !!! note
24
- Every attempt should be made to make this unique to support satellite methods that perform comparisons or
25
- bookkeeping.
20
+ id: str
21
+ """Unique identifier for the satellite."""
22
+
23
+ norad_id: int
24
+ """Number corresponding to the satellite's NORAD catalog ID.
26
25
  """
27
26
  name: str | None
28
27
  """Human-readable name of the satellite"""
@@ -100,7 +99,7 @@ class Constellation:
100
99
  start: Epoch,
101
100
  end: Epoch,
102
101
  step: TimeSpan,
103
- ) -> dict[int, Ephemeris]:
102
+ ) -> dict[str, Ephemeris]:
104
103
  """
105
104
  Args:
106
105
  start: UTC epoch of the start of the ephemeris
@@ -155,7 +154,8 @@ class Constellation:
155
154
  """
156
155
  ...
157
156
 
158
- def __getitem__(self, satellite_id: int) -> Satellite: ...
157
+ def __getitem__(self, satellite_id: str) -> Satellite: ...
158
+ def __setitem__(self, satellite_id: str, sat: Satellite) -> None: ...
159
159
  def get_horizon_access_report(
160
160
  self,
161
161
  site: Observatory,
keplemon/catalogs.pyi CHANGED
@@ -8,9 +8,9 @@ class TLECatalog:
8
8
  @classmethod
9
9
  def from_tle_file(cls, filename: str) -> TLECatalog: ...
10
10
  def add(self, tle: TLE) -> None: ...
11
- def get(self, satellite_id: int) -> TLE: ...
12
- def remove(self, satellite_id: int) -> None: ...
13
- def keys(self) -> list[int]: ...
11
+ def get(self, satellite_id: str) -> TLE: ...
12
+ def remove(self, satellite_id: str) -> None: ...
13
+ def keys(self) -> list[str]: ...
14
14
  def get_count(self) -> int: ...
15
15
  def clear(self) -> None: ...
16
- def __getitem__(self, satellite_id: int) -> TLE: ...
16
+ def __getitem__(self, satellite_id: str) -> TLE: ...
keplemon/elements.pyi CHANGED
@@ -90,7 +90,11 @@ class KeplerianElements:
90
90
  ) -> None: ...
91
91
 
92
92
  class TLE:
93
- satellite_id: int
93
+
94
+ norad_id: int
95
+ """NORAD catalog ID of the satellite"""
96
+
97
+ satellite_id: str
94
98
  """"""
95
99
 
96
100
  name: str
@@ -2,6 +2,7 @@ from keplemon._keplemon.saal.astro_func_interface import ( # type: ignore
2
2
  teme_to_topo,
3
3
  ra_dec_to_az_el_time,
4
4
  ra_dec_to_az_el,
5
+ mean_motion_to_sma,
5
6
  XA_TOPO_RA,
6
7
  XA_TOPO_DEC,
7
8
  XA_TOPO_AZ,
@@ -30,4 +31,5 @@ __all__ = [
30
31
  "XA_TOPO_ELDOT",
31
32
  "XA_TOPO_RANGEDOT",
32
33
  "XA_TOPO_SIZE",
34
+ "mean_motion_to_sma",
33
35
  ]
@@ -1,5 +1,17 @@
1
1
  # flake8: noqa: F401
2
2
 
3
+ def mean_motion_to_sma(mean_motion: float) -> float:
4
+ """
5
+ Convert mean motion to semi-major axis.
6
+
7
+ Args:
8
+ mean_motion: Mean motion in revolutions/day.
9
+
10
+ Returns:
11
+ Semi-major axis in kilometers.
12
+ """
13
+ ...
14
+
3
15
  def ra_dec_to_az_el(
4
16
  theta: float,
5
17
  lat: float,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: keplemon
3
- Version: 0.3.4
3
+ Version: 1.0.1
4
4
  Requires-Dist: requests
5
5
  Requires-Dist: click
6
6
  Requires-Dist: maturin>=1.0,<2.0 ; extra == 'dev'
@@ -1,6 +1,6 @@
1
- keplemon-0.3.4.dist-info/METADATA,sha256=kKbTl8m5oy7ydER7BvWfFKxh3e18HHq2RLtztQtV0vU,863
2
- keplemon-0.3.4.dist-info/WHEEL,sha256=Ncll1xfKuKRSH9zs2vSEuHQoNZLcJWpzadJbiEni0qk,96
3
- keplemon-0.3.4.dist-info/entry_points.txt,sha256=eYbCkvQvWfRDQ0LzaCELov1xeLAxQEHlfdgNq-LXyb0,49
1
+ keplemon-1.0.1.dist-info/METADATA,sha256=pNkY37gHCiZHc29A7iUPR7QOVjLDzEYLDUcWIg4Wnks,863
2
+ keplemon-1.0.1.dist-info/WHEEL,sha256=Ncll1xfKuKRSH9zs2vSEuHQoNZLcJWpzadJbiEni0qk,96
3
+ keplemon-1.0.1.dist-info/entry_points.txt,sha256=eYbCkvQvWfRDQ0LzaCELov1xeLAxQEHlfdgNq-LXyb0,49
4
4
  keplemon/AstroFunc.dll,sha256=RwDLeYGuSd3MxQ3O_Ljb0maS5KoDL8HZLpAvcQhDmnQ,357376
5
5
  keplemon/AstroFunc.lib,sha256=q0Ob5NGUgbywJg6XqH48QLNmFv8T5p8NVLSx2kKkL4A,56480
6
6
  keplemon/DllMain.dll,sha256=vYgOfGAUHn2z1MrVu9wV-k_LRdtuF8RuWrbuu2xk7jk,121344
@@ -30,7 +30,7 @@ keplemon/Vcm.lib,sha256=q2FPbH_DJXjIzNIzli2f1uV2faHHBjLbffZrL3Nagpw,19404
30
30
  keplemon/__init__.py,sha256=JymfGXbJ9UJDdwRW0CXS7j5j_LPk1_P_ViKbjoTdCFU,861
31
31
  keplemon/__init__.pyi,sha256=PgtL8CNupZCJibx07RLmFf56gMkCFx7voUIxBpeADO8,1349
32
32
  keplemon/__main__.py,sha256=Bbbzny3eE3NOikVCEVFAGJiSRGooAkLzPwoSz-rpaxc,689
33
- keplemon/_keplemon.cp311-win_amd64.pyd,sha256=lBom6LaxyJj-bwtFh0BZRuLYCDacHeBzc09proXQL4E,1452032
33
+ keplemon/_keplemon.cp311-win_amd64.pyd,sha256=F7Ll1AQ-iymW7WADBfJ4mYpev3TCseJIPzammMql_2M,1470976
34
34
  keplemon/assets/EGM-2008.GEO,sha256=K2nG8HGLATIHZYMfw3GSClYOTCuZ7rq4RdCeUNgCw5A,148770
35
35
  keplemon/assets/EGM-96.GEO,sha256=VBkILuvEMwAPuWmUHy2PeyEfULOwJ4PEJLNf5hr84mU,148770
36
36
  keplemon/assets/GEM_5-22.GEO,sha256=stemYLn1ChXa-VdLGHYfa15AXZa_xxGZQ65p4c3gffI,6852
@@ -43,11 +43,11 @@ keplemon/assets/SGP4_Open_License.txt,sha256=ThQ87DpbbXt-9K0-0U13tcZqsndte_UkaG3
43
43
  keplemon/assets/WGS84-70.GEO,sha256=ARjEC_5s2SVd0Kh9udbTy1ztBwTeuBYPOhUVJgIqit8,148510
44
44
  keplemon/assets/time_constants.dat,sha256=3nsYjFgq0QnTUHPxuQPdtMG-AqxShVbvmG2zPcZfdcA,1246208
45
45
  keplemon/bodies.py,sha256=MjdAGL25eF5pA3KHo5ipjz0DDql5EEEbBqR735M254g,217
46
- keplemon/bodies.pyi,sha256=RJ1hgKQMU37-w861rtyJwpkvdJfyJsiYPsr57VL2Nng,7443
46
+ keplemon/bodies.pyi,sha256=BUzZ4OoKHg9hHt_IYrYV8Gkqt0jGKjT3afyCEzsP9UI,7417
47
47
  keplemon/catalogs.py,sha256=AKONH7zWBOnUZI0ty0lYiYZtrdILfKivoUgk1nU3PZ8,107
48
- keplemon/catalogs.pyi,sha256=xcXEaiQY4wNvd95YdQDmqjD-nkirc_phSwL256Fejuc,540
48
+ keplemon/catalogs.pyi,sha256=0xKUNjmioF_cd5atqiGbRxaZuTUIBr2hbEJ0J0A4c-s,540
49
49
  keplemon/elements.py,sha256=AzE0xyBNDynGtBcIkpQaV7qHW-xNdA9bFkIcr5CC1oY,506
50
- keplemon/elements.pyi,sha256=k-sALyXTHhU1YDyvV4RDDsjpTuHCJBD4J8GjLLpB2Q8,9743
50
+ keplemon/elements.pyi,sha256=qbUm5uQ9FNjQP5b99K8NxeaC6xnDSSaaY8NnofoAJIg,9811
51
51
  keplemon/enums.py,sha256=5MejXeSwXPtfpIYeNuFQH3LSIRf4aTFZTK2Q1AYyaEg,325
52
52
  keplemon/enums.pyi,sha256=OSS71WesYTgzWGUSjpxaYtzj6XmoyLBXq_Zd13IBwyQ,2418
53
53
  keplemon/estimation.py,sha256=Of0rHiapW4s1wRipBCZrp4oOiIzs794w1nhqM7AVrGs,236
@@ -63,12 +63,12 @@ keplemon/propagation.pyi,sha256=ZWqjxwg4MQebRukTysK2ZyTtIxvAyZIkUybO3wsZO9Q,483
63
63
  keplemon/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
64
64
  keplemon/saal/__init__.py,sha256=JS-tjVFqN1B3ZjIG2g7v1GrmUPi9eIv0_Le1reYuQ2o,126
65
65
  keplemon/saal/__init__.pyi,sha256=7wosTC1KhEJis-zp2LlZmW7hlr8BzFO4gx0TJ9c3J80,148
66
- keplemon/saal/astro_func_interface.py,sha256=4hhtCVWBYdBBOlvQXt7XJuDJ5lWk8GbsV3iSJfkkFfc,685
67
- keplemon/saal/astro_func_interface.pyi,sha256=Dx4ryXnpDK9ZnFL6afkIvTu3rH14Wi8q3rRxeY0Qoew,2557
66
+ keplemon/saal/astro_func_interface.py,sha256=6Y26Qtpg-vf4K5pya2DRzPyv4_4vnp9vmnribbpqYyw,737
67
+ keplemon/saal/astro_func_interface.pyi,sha256=b0QKQhoeBWZ1ouuux9ZoojHpNNnHlNz_bi8kalBgSA0,2808
68
68
  keplemon/saal/obs_interface.py,sha256=ax8T4Y61pWh3VnQ4K2bCDNdrK-H6WKWr14pEDAY8WxE,257
69
69
  keplemon/saal/obs_interface.pyi,sha256=Y9PE1t2Kdz1Sne1t_M-ctOp9G4hWGKgMMkuES6v1U6Q,235
70
70
  keplemon/saal/time_func_interface.py,sha256=C18Q_PIMUFBcB0pHN6wlVj35Vrt83VQNKOEmHDHvZSA,438
71
71
  keplemon/saal/time_func_interface.pyi,sha256=3QKtsuxMoTgG--bDvbVNcJyD8vfcAUlw2n69g1m0kNM,1578
72
72
  keplemon/time.py,sha256=fa6AKPPU18lX44emrAy5ZZ5TRam-Vhm8ecsauvQ_wdg,2888
73
73
  keplemon/time.pyi,sha256=bS5UrY2loeT2mzONRFl2LTG5ZLaC3EnCXKB8fZRks4Q,6529
74
- keplemon-0.3.4.dist-info/RECORD,,
74
+ keplemon-1.0.1.dist-info/RECORD,,