astrox-python 1.1.0__py3-none-any.whl → 1.2.1__py3-none-any.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.
- astrox/celestial.py +12 -5
- {astrox_python-1.1.0.dist-info → astrox_python-1.2.1.dist-info}/METADATA +1 -1
- {astrox_python-1.1.0.dist-info → astrox_python-1.2.1.dist-info}/RECORD +5 -5
- {astrox_python-1.1.0.dist-info → astrox_python-1.2.1.dist-info}/WHEEL +0 -0
- {astrox_python-1.1.0.dist-info → astrox_python-1.2.1.dist-info}/licenses/LICENSE +0 -0
astrox/celestial.py
CHANGED
|
@@ -75,8 +75,8 @@ class MpcOrbitalElements:
|
|
|
75
75
|
argument_of_periapsis_deg: float | None = None
|
|
76
76
|
mean_anomaly_deg: float | None = None
|
|
77
77
|
reference_frame: str | None = None
|
|
78
|
-
"""Heliocentric mean-ecliptic variant: ``MeanEclpJ2000`` (
|
|
79
|
-
``EclpJ2000ICRF
|
|
78
|
+
"""Heliocentric mean-ecliptic variant: ``MeanEclpJ2000`` (server default)
|
|
79
|
+
or ``EclpJ2000ICRF``."""
|
|
80
80
|
|
|
81
81
|
def __post_init__(self) -> None:
|
|
82
82
|
for field_name in (
|
|
@@ -369,13 +369,15 @@ def mpc_ephemeris(
|
|
|
369
369
|
observer_frame: str | None = None,
|
|
370
370
|
start: str | None = None,
|
|
371
371
|
stop: str | None = None,
|
|
372
|
+
step_s: float | None = None,
|
|
372
373
|
target_elements: MpcOrbitalElements | None = None,
|
|
373
374
|
) -> dict[str, Any]:
|
|
374
|
-
"""Return ASTROX minor-planet ephemeris output from its MPC
|
|
375
|
+
"""Return ASTROX minor-planet ephemeris output from its MPC data route.
|
|
375
376
|
|
|
376
377
|
When ``target_elements`` is supplied, the server integrates those MPC
|
|
377
|
-
orbital elements directly instead of resolving ``target_name`` through
|
|
378
|
-
|
|
378
|
+
orbital elements directly instead of resolving ``target_name`` through its
|
|
379
|
+
local NEA catalog. ``step_s`` controls the output sampling cadence; zero
|
|
380
|
+
requests the server's internal integration grid.
|
|
379
381
|
"""
|
|
380
382
|
payload: dict[str, Any] = {
|
|
381
383
|
"TargetName": _string(target_name, parameter="target_name"),
|
|
@@ -395,6 +397,11 @@ def mpc_ephemeris(
|
|
|
395
397
|
"Stop",
|
|
396
398
|
_optional_string(stop, parameter="stop"),
|
|
397
399
|
)
|
|
400
|
+
_include_if_supplied(
|
|
401
|
+
payload,
|
|
402
|
+
"Step",
|
|
403
|
+
_optional_number(step_s, parameter="step_s"),
|
|
404
|
+
)
|
|
398
405
|
_include_if_supplied(
|
|
399
406
|
payload,
|
|
400
407
|
"TargetElements",
|
|
@@ -3,7 +3,7 @@ astrox/_http.py,sha256=ZZDkJ6qPG4VbMDRZO7xonIib88aYS6PPTVRxRYwXU3A,15606
|
|
|
3
3
|
astrox/access.py,sha256=pjyCher_yQNmkoojf2sWpG1HRDnLLK9gI90jM1iEoTo,5817
|
|
4
4
|
astrox/cat.py,sha256=doZqy6lGDtgrVe9QlU57l1lccmzirc14RDSR41tyGUU,15057
|
|
5
5
|
astrox/catalog.py,sha256=WDb3adiDO41YY6IdivjN3ri1vIQMHi6DPI3dBa8W1Gc,5255
|
|
6
|
-
astrox/celestial.py,sha256=
|
|
6
|
+
astrox/celestial.py,sha256=5S-bQ0N48XdWtLNMolc5YfY4UR96Bo3Ba1myZwzyfEk,12690
|
|
7
7
|
astrox/conjunction.py,sha256=sXhTNAlMai27ejuJekksaAw-850nHPimo21YdFpuzQo,9108
|
|
8
8
|
astrox/exceptions.py,sha256=apClRT1r-N3XY1ibXxkW3oxpsJgiHos4tC0cMJ8eBRk,2592
|
|
9
9
|
astrox/libration.py,sha256=YBgcZi2pTAjL5VUlE8y6jLhVbYnwRxv-PIUxJQmFBSg,13454
|
|
@@ -33,7 +33,7 @@ astrox/coverage/number_of_assets.py,sha256=Bf1OQRu1r9lunyARyQoV4x7KetkgY_7OMNcEc
|
|
|
33
33
|
astrox/coverage/response_time.py,sha256=yLnv8eEDL6CS0PJHC1JIKBCoOachOwo3m8dNoHH3HfQ,5164
|
|
34
34
|
astrox/coverage/revisit_time.py,sha256=R5vF2egixCF9elvsGYXzpgWbD5lfcQW8uZqi1ifIDX8,5155
|
|
35
35
|
astrox/coverage/simple_coverage.py,sha256=ZPj3HrP3M59rG47pz4eHt1rq-vTlk-oZ7c2ZBmFsz1U,4992
|
|
36
|
-
astrox_python-1.1.
|
|
37
|
-
astrox_python-1.1.
|
|
38
|
-
astrox_python-1.1.
|
|
39
|
-
astrox_python-1.1.
|
|
36
|
+
astrox_python-1.2.1.dist-info/METADATA,sha256=vTv9gsgSJNVESP_aIdMevKwoXfgTXFoTlBNAVQ0rxE8,2520
|
|
37
|
+
astrox_python-1.2.1.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
|
|
38
|
+
astrox_python-1.2.1.dist-info/licenses/LICENSE,sha256=Fbt55lCQnv_n5yGhbG_VDlowjaV_FPHBQWsJIyuBpDk,1062
|
|
39
|
+
astrox_python-1.2.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|