keplemon 1.0.6__cp313-cp313-macosx_10_12_x86_64.whl → 1.1.1__cp313-cp313-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
@@ -1,8 +1,16 @@
1
1
  # flake8: noqa
2
- from keplemon.elements import TLE, CartesianState, Ephemeris, KeplerianState, GeodeticPosition, OrbitPlotData
2
+ from keplemon.elements import (
3
+ TLE,
4
+ CartesianState,
5
+ Ephemeris,
6
+ KeplerianState,
7
+ GeodeticPosition,
8
+ OrbitPlotData,
9
+ TopocentricElements,
10
+ )
3
11
  from keplemon.catalogs import TLECatalog
4
12
  from keplemon.time import Epoch, TimeSpan
5
- from keplemon.events import CloseApproach, CloseApproachReport, HorizonAccessReport
13
+ from keplemon.events import CloseApproach, CloseApproachReport, HorizonAccessReport, FieldOfViewReport
6
14
  from keplemon.propagation import ForceProperties
7
15
 
8
16
  class Earth:
@@ -261,3 +269,23 @@ class Observatory:
261
269
  Horizon access report for the satellite from the observatory
262
270
  """
263
271
  ...
272
+
273
+ def get_field_of_view_report(
274
+ self,
275
+ epoch: Epoch,
276
+ sensor_direction: TopocentricElements,
277
+ angular_threshold: float,
278
+ sats: Constellation,
279
+ ) -> FieldOfViewReport:
280
+ """
281
+ Calculate field of view report for a sensor at the observatory.
282
+
283
+ Args:
284
+ epoch: UTC epoch of the report
285
+ sensor_direction: Topocentric direction the sensor is pointing
286
+ angular_threshold: Angular threshold in **_degrees_**
287
+ sats: Constellation of satellites to check for being in the field of view
288
+ Returns:
289
+ Field of view report for the sensor at the observatory containing satellites within the field of view
290
+ """
291
+ ...
keplemon/events.py CHANGED
@@ -3,6 +3,15 @@ from keplemon._keplemon.events import ( # type: ignore
3
3
  CloseApproachReport,
4
4
  HorizonAccess,
5
5
  HorizonAccessReport,
6
+ FieldOfViewCandidate,
7
+ FieldOfViewReport,
6
8
  )
7
9
 
8
- __all__ = ["CloseApproach", "CloseApproachReport", "HorizonAccess", "HorizonAccessReport"]
10
+ __all__ = [
11
+ "CloseApproach",
12
+ "CloseApproachReport",
13
+ "HorizonAccess",
14
+ "HorizonAccessReport",
15
+ "FieldOfViewCandidate",
16
+ "FieldOfViewReport",
17
+ ]
keplemon/events.pyi CHANGED
@@ -1,6 +1,29 @@
1
1
  # flake8: noqa
2
2
  from keplemon.time import Epoch, TimeSpan
3
- from keplemon.elements import HorizonState
3
+ from keplemon.elements import HorizonState, CartesianVector, TopocentricElements
4
+
5
+ class FieldOfViewCandidate:
6
+ satellite_id: str
7
+ """ID of the candidate satellite"""
8
+
9
+ direction: TopocentricElements
10
+ """Measured direction to the candidate satellite in the sensor's topocentric frame"""
11
+
12
+ class FieldOfViewReport:
13
+ epoch: Epoch
14
+ """UTC epoch of the field of view report"""
15
+
16
+ sensor_position: CartesianVector
17
+ """TEME position of the sensor in the observatory's topocentric frame in **_kilometers_**"""
18
+
19
+ sensor_direction: TopocentricElements
20
+ """Direction of the sensor in the observatory's topocentric frame"""
21
+
22
+ fov_angle: float
23
+ """Field of view angle of the sensor in **_degrees_**"""
24
+
25
+ candidates: list[FieldOfViewCandidate]
26
+ """List of candidate satellites within the field of view"""
4
27
 
5
28
  class CloseApproach:
6
29
  epoch: Epoch
@@ -3,6 +3,7 @@ from keplemon._keplemon.saal.astro_func_interface import ( # type: ignore
3
3
  ra_dec_to_az_el_time,
4
4
  ra_dec_to_az_el,
5
5
  mean_motion_to_sma,
6
+ topo_date_to_equinox,
6
7
  XA_TOPO_RA,
7
8
  XA_TOPO_DEC,
8
9
  XA_TOPO_AZ,
@@ -14,6 +15,8 @@ from keplemon._keplemon.saal.astro_func_interface import ( # type: ignore
14
15
  XA_TOPO_ELDOT,
15
16
  XA_TOPO_RANGEDOT,
16
17
  XA_TOPO_SIZE,
18
+ YROFEQNX_2000,
19
+ YROFEQNX_CURR,
17
20
  )
18
21
 
19
22
  __all__ = [
@@ -32,4 +35,7 @@ __all__ = [
32
35
  "XA_TOPO_RANGEDOT",
33
36
  "XA_TOPO_SIZE",
34
37
  "mean_motion_to_sma",
38
+ "topo_date_to_equinox",
39
+ "YROFEQNX_2000",
40
+ "YROFEQNX_CURR",
35
41
  ]
@@ -78,6 +78,21 @@ def teme_to_topo(
78
78
  """
79
79
  ...
80
80
 
81
+ def topo_date_to_equinox(yr_of_equinox: int, ds50utc: float, ra: float, dec: float) -> tuple[float, float]:
82
+ """
83
+ Convert topocentric right ascension and declination to equinox coordinates for a given year of equinox.
84
+
85
+ Args:
86
+ yr_of_equinox: Year of the equinox (e.g., 2000 for J2000).
87
+ ds50utc: Epoch in DS50 UTC format.
88
+ ra: Topocentric right ascension in degrees.
89
+ dec: Topocentric declination in degrees.
90
+
91
+ Returns:
92
+ A tuple containing the equinox right ascension and declination in degrees.
93
+ """
94
+ ...
95
+
81
96
  XA_TOPO_AZ: int
82
97
  """Index for topocentric azimuth in degrees."""
83
98
 
@@ -110,3 +125,9 @@ XA_TOPO_DEC: int
110
125
 
111
126
  XA_TOPO_SIZE: int
112
127
  """Size of XA_TOPO_ array"""
128
+
129
+ YROFEQNX_2000: int
130
+ """Year of equinox 2000 constant"""
131
+
132
+ YROFEQNX_CURR: int
133
+ """Year of current equinox constant"""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: keplemon
3
- Version: 1.0.6
3
+ Version: 1.1.1
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.6.dist-info/METADATA,sha256=N2FoAuRlTq2QklipfVMJvGTMfbVhn_N91oIbe8WaLpg,863
2
- keplemon-1.0.6.dist-info/WHEEL,sha256=iXfRWk7-127zCPB-_BNFDQE-qLd9Rsj-fJMRKNRg-kg,106
3
- keplemon-1.0.6.dist-info/entry_points.txt,sha256=eYbCkvQvWfRDQ0LzaCELov1xeLAxQEHlfdgNq-LXyb0,49
1
+ keplemon-1.1.1.dist-info/METADATA,sha256=uYVoCOkt9AffNNbAJkp3WIkgNd76kEWsoNyvT-Dvkcs,863
2
+ keplemon-1.1.1.dist-info/WHEEL,sha256=9d4LhS3OlNUu5-K3LnKO1CkfyGkzCuvxR5bAWA0Slro,106
3
+ keplemon-1.1.1.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-313-darwin.so,sha256=cN15ggUT0YOKrKWmqUPg5Tvg4tDk-c3_eWL4JjuPmCE,2102380
7
+ keplemon/_keplemon.cpython-313-darwin.so,sha256=Op1gCpI8gB483T2fLn3JcAVyntplVdf06yrU42qJGZc,2146436
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=vTh2m_sbQ5QN56o_fJr46O-b_mvbQiEUMTRE61cxIXE,7636
20
+ keplemon/bodies.pyi,sha256=VfG0cH5EsDGAbrViB4pSjJjvBJ03AXdxDWjYxiy152U,8442
21
21
  keplemon/catalogs.py,sha256=lw71NiXlVtb-z3pQR03afxtkLca4HJcnpZ6kDCcR-Lk,102
22
22
  keplemon/catalogs.pyi,sha256=NU_6Mc_JY8xTYAKXOqubtPnt91YA9ZHd1hMqMFf6onc,589
23
23
  keplemon/elements.py,sha256=P4tlpQpCUG5jkgAT_yIeL2V14AhXtekMYxRBOsPlOgc,609
@@ -26,8 +26,8 @@ keplemon/enums.py,sha256=Jh0tFHg_rZXnOyLUXmHjSm3MSZFbvQKTBcP0BqHXeMY,308
26
26
  keplemon/enums.pyi,sha256=s9uqkm3Zrx6HLV4dQBScRiUy0CT4QoQwFjaCLOEMW1c,2330
27
27
  keplemon/estimation.py,sha256=2K87pFhOfaFohbAtBXv2SA6m_oIN-56toJOftu350fY,228
28
28
  keplemon/estimation.pyi,sha256=zb_llx8pCx9Iv95mXXpGnXPZeJsg9Oh5GRWDLyXrMFI,5521
29
- keplemon/events.py,sha256=lxSp5m5FhIyU2-1CrSlbRE15E5yh7sf_mTt9uYQwMKA,238
30
- keplemon/events.pyi,sha256=ilmvy403FzGw1d8nlO7yueVZu836ufjiPImG4rKYVmg,2025
29
+ keplemon/events.py,sha256=PGp-xE-eyjYSMWpugplA7bPlrYjkR1NKSHRurFMnBcE,359
30
+ keplemon/events.pyi,sha256=_5pqLG1wrzC9CD5KQtFuu8VSF8KtbY_FyqvLqgJCqx8,2813
31
31
  keplemon/exceptions.py,sha256=gTKSkN4yJ2VwR3_anpWqnIO9kQcJCO41_818NjgItiM,102
32
32
  keplemon/libastrofunc.dylib,sha256=gxdCt5hXXE3kKj1SawDDATv1h3SfMq8T3jh_SXCCJNA,283104
33
33
  keplemon/libdllmain.dylib,sha256=fAVsGh33yYOp-4AoF5kE6d5DlNRmDV1G-tM6-2ENaBY,87376
@@ -51,8 +51,8 @@ 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
54
- keplemon/saal/astro_func_interface.py,sha256=uJuJAV4beTHjk5Jr5rHzMkeBFSo-2vDiW818AnIEYPs,702
55
- keplemon/saal/astro_func_interface.pyi,sha256=8__K4QTOYGAAwgIm5KloUADXNrR3fOrReyiN8RZcVhQ,2696
54
+ keplemon/saal/astro_func_interface.py,sha256=_dFUUnT86u0-yIUB7CtztCUQEvbrxT4UhXsvFp92mz4,836
55
+ keplemon/saal/astro_func_interface.pyi,sha256=RZA1JRidGiazZ0TG01Zxe1AIJj9OJwWnyz4LjgXLMiY,3371
56
56
  keplemon/saal/obs_interface.py,sha256=EtsaPKixjMWfCUpMd79SvhCs3f9sRcBaal6-ickj3Vs,248
57
57
  keplemon/saal/obs_interface.pyi,sha256=eIXbFnZSF3cX3MyXaCYLUAp0wUAbJiQ4rosqpXdf2I0,228
58
58
  keplemon/saal/sgp4_prop_interface.py,sha256=BBKlIvXdUypcZspC8GJ2rPqfFoDKy0RM7w5qsqvobrE,127
@@ -61,4 +61,4 @@ keplemon/saal/time_func_interface.py,sha256=cshqJ15p_gcenMdmVuXTIoLeij1gsgVi0tuj
61
61
  keplemon/saal/time_func_interface.pyi,sha256=GCj_EOmOceJorYQLGQQj1fE2cHxPvNrYml1DLvsaMy4,1508
62
62
  keplemon/time.py,sha256=vvHcwWQ1JXPaQSvdBfXYZrk2_-ukDw0RnXDeN5wy3nU,2792
63
63
  keplemon/time.pyi,sha256=S2Ul8fpuWnor9wKNFBxLwAiwrGrVN_LJH_xy6WSocv4,6260
64
- keplemon-1.0.6.dist-info/RECORD,,
64
+ keplemon-1.1.1.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: maturin (1.9.4)
2
+ Generator: maturin (1.9.5)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp313-cp313-macosx_10_12_x86_64