afmaths 2.1.0__tar.gz → 2.1.1__tar.gz
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.
- {afmaths-2.1.0 → afmaths-2.1.1}/PKG-INFO +1 -1
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/control_room.py +19 -16
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths.egg-info/PKG-INFO +1 -1
- {afmaths-2.1.0 → afmaths-2.1.1}/setup.py +1 -1
- {afmaths-2.1.0 → afmaths-2.1.1}/LICENSE +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/__init__.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/computer_science.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/constants.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/geometry/__init__.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/geometry/geometry.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/geometry/transformations.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/graph.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/list.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/operation.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/__init__.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/ballistics.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/electromagnetism.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/kinematics.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/physics.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/__init__.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/astronomy/__init__.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/astronomy/coordinate_correction_functions.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/astronomy/coordinate_functions.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/astronomy/sun_functions.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/astronomy/time_functions.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/celestial_mechanics.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/engineering/__init__.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/engineering/astrodynamics/__init__.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/engineering/astrodynamics/ground_track.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/engineering/astrodynamics/hohmann_transfer.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/engineering/astrodynamics/maneuvers.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/engineering/astrodynamics/orbital_directions.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/engineering/astrodynamics/phase_orbit.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/engineering/rocketry.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/engineering/thermal_subsystem.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/engineering/two_line_elements.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/external/__init__.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/external/horizons_api.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/external/space_track_api.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/relativity.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/sgp4/__init__.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/sgp4/sgp4.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/transformations.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/type_conversion_helpers.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/waves.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/statistics.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/tensors.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/types.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/__init__.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/base.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/collision_detection.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/eci_orbit_3d.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/ground_track.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/helpers.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/hohmann_tradeoff.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/hohmann_transfer_perifocal_2d.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/itrs_orbit_3d.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/keplers_ellipse_2d.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/moon_earth_3d.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/newton_iteration.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/phase_orbit_2d.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/solar_system_3d.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/two_body_visualiser_2d.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/velocity_time.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths.egg-info/SOURCES.txt +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths.egg-info/dependency_links.txt +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths.egg-info/requires.txt +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths.egg-info/top_level.txt +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/setup.cfg +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/test/test_astrodynamics.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/test/test_celestial_mechanics.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/test/test_computer_science.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/test/test_coordinate_correction_functions.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/test/test_coordinate_functions.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/test/test_geometry.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/test/test_kinematics.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/test/test_list.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/test/test_operation.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/test/test_rocketry.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/test/test_stats.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/test/test_sun_functions.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/test/test_thermal_subsystem.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/test/test_time_functions.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/test/test_tle.py +0 -0
- {afmaths-2.1.0 → afmaths-2.1.1}/test/test_visualisation_helpers.py +0 -0
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import math
|
|
2
1
|
import random
|
|
3
2
|
|
|
4
3
|
from afmaths.constants import (
|
|
@@ -14,15 +13,29 @@ from afmaths.constants import (
|
|
|
14
13
|
from afmaths.physics.space.astronomy.time_functions import julian_date_now
|
|
15
14
|
from afmaths.physics.space.engineering.astrodynamics.ground_track import orbits_per_day
|
|
16
15
|
from afmaths.physics.space.engineering.two_line_elements import (
|
|
17
|
-
orbital_elements_from_tle,
|
|
18
16
|
orbital_period_from_tle,
|
|
19
17
|
)
|
|
20
18
|
from afmaths.physics.space.external.space_track_api import get_tle_from_norad_id
|
|
21
|
-
|
|
19
|
+
|
|
22
20
|
from eci_orbit_3d import visualisation_3d_satellite_earth
|
|
23
21
|
from itrs_orbit_3d import visualisation_3d_itrs
|
|
24
22
|
from ground_track import visualisation_2d_ground_track
|
|
25
|
-
from astronomy_types import
|
|
23
|
+
from astronomy_types import Scalar, Second
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
def launch_control_room(
|
|
27
|
+
norad_ids: list[int], total_orbits: int, point_interval: int = 60
|
|
28
|
+
):
|
|
29
|
+
for id in norad_ids:
|
|
30
|
+
tle = get_tle_from_norad_id(id)
|
|
31
|
+
visualisation_3d_itrs(tle, total_orbits)
|
|
32
|
+
|
|
33
|
+
visualisation_2d_ground_track(
|
|
34
|
+
tle, total_orbits, Second(Scalar(point_interval)), True
|
|
35
|
+
).show()
|
|
36
|
+
|
|
37
|
+
visualisation_3d_satellite_earth([get_tle_from_norad_id(id) for id in norad_ids])
|
|
38
|
+
|
|
26
39
|
|
|
27
40
|
# 41321, 25867, 13901, 26402 interesting sat
|
|
28
41
|
# 10967 retrograde
|
|
@@ -32,16 +45,6 @@ if __name__ == "__main__":
|
|
|
32
45
|
total_orbits = round(orbits_per_day(orbital_period_from_tle(tle)) * 10)
|
|
33
46
|
point_interval = 30
|
|
34
47
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
[
|
|
38
|
-
tle,
|
|
39
|
-
get_tle_from_norad_id(ISS_NORAD_ID),
|
|
40
|
-
get_tle_from_norad_id(26382),
|
|
41
|
-
get_tle_from_norad_id(63326),
|
|
42
|
-
get_tle_from_norad_id(52708),
|
|
43
|
-
]
|
|
48
|
+
launch_control_room(
|
|
49
|
+
[ISS_NORAD_ID, 26382, 63326, 52708], total_orbits, point_interval
|
|
44
50
|
)
|
|
45
|
-
visualisation_2d_ground_track(
|
|
46
|
-
tle, total_orbits, Second(Scalar(point_interval)), True
|
|
47
|
-
).show()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/engineering/astrodynamics/__init__.py
RENAMED
|
File without changes
|
{afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/engineering/astrodynamics/ground_track.py
RENAMED
|
File without changes
|
|
File without changes
|
{afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/engineering/astrodynamics/maneuvers.py
RENAMED
|
File without changes
|
|
File without changes
|
{afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/engineering/astrodynamics/phase_orbit.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|