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.
Files changed (85) hide show
  1. {afmaths-2.1.0 → afmaths-2.1.1}/PKG-INFO +1 -1
  2. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/control_room.py +19 -16
  3. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths.egg-info/PKG-INFO +1 -1
  4. {afmaths-2.1.0 → afmaths-2.1.1}/setup.py +1 -1
  5. {afmaths-2.1.0 → afmaths-2.1.1}/LICENSE +0 -0
  6. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/__init__.py +0 -0
  7. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/computer_science.py +0 -0
  8. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/constants.py +0 -0
  9. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/geometry/__init__.py +0 -0
  10. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/geometry/geometry.py +0 -0
  11. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/geometry/transformations.py +0 -0
  12. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/graph.py +0 -0
  13. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/list.py +0 -0
  14. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/operation.py +0 -0
  15. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/__init__.py +0 -0
  16. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/ballistics.py +0 -0
  17. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/electromagnetism.py +0 -0
  18. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/kinematics.py +0 -0
  19. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/physics.py +0 -0
  20. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/__init__.py +0 -0
  21. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/astronomy/__init__.py +0 -0
  22. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/astronomy/coordinate_correction_functions.py +0 -0
  23. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/astronomy/coordinate_functions.py +0 -0
  24. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/astronomy/sun_functions.py +0 -0
  25. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/astronomy/time_functions.py +0 -0
  26. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/celestial_mechanics.py +0 -0
  27. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/engineering/__init__.py +0 -0
  28. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/engineering/astrodynamics/__init__.py +0 -0
  29. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/engineering/astrodynamics/ground_track.py +0 -0
  30. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/engineering/astrodynamics/hohmann_transfer.py +0 -0
  31. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/engineering/astrodynamics/maneuvers.py +0 -0
  32. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/engineering/astrodynamics/orbital_directions.py +0 -0
  33. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/engineering/astrodynamics/phase_orbit.py +0 -0
  34. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/engineering/rocketry.py +0 -0
  35. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/engineering/thermal_subsystem.py +0 -0
  36. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/engineering/two_line_elements.py +0 -0
  37. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/external/__init__.py +0 -0
  38. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/external/horizons_api.py +0 -0
  39. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/external/space_track_api.py +0 -0
  40. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/relativity.py +0 -0
  41. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/sgp4/__init__.py +0 -0
  42. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/sgp4/sgp4.py +0 -0
  43. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/transformations.py +0 -0
  44. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/space/type_conversion_helpers.py +0 -0
  45. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/physics/waves.py +0 -0
  46. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/statistics.py +0 -0
  47. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/tensors.py +0 -0
  48. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/types.py +0 -0
  49. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/__init__.py +0 -0
  50. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/base.py +0 -0
  51. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/collision_detection.py +0 -0
  52. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/eci_orbit_3d.py +0 -0
  53. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/ground_track.py +0 -0
  54. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/helpers.py +0 -0
  55. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/hohmann_tradeoff.py +0 -0
  56. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/hohmann_transfer_perifocal_2d.py +0 -0
  57. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/itrs_orbit_3d.py +0 -0
  58. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/keplers_ellipse_2d.py +0 -0
  59. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/moon_earth_3d.py +0 -0
  60. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/newton_iteration.py +0 -0
  61. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/phase_orbit_2d.py +0 -0
  62. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/solar_system_3d.py +0 -0
  63. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/two_body_visualiser_2d.py +0 -0
  64. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths/visualisations/velocity_time.py +0 -0
  65. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths.egg-info/SOURCES.txt +0 -0
  66. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths.egg-info/dependency_links.txt +0 -0
  67. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths.egg-info/requires.txt +0 -0
  68. {afmaths-2.1.0 → afmaths-2.1.1}/lib/afmaths.egg-info/top_level.txt +0 -0
  69. {afmaths-2.1.0 → afmaths-2.1.1}/setup.cfg +0 -0
  70. {afmaths-2.1.0 → afmaths-2.1.1}/test/test_astrodynamics.py +0 -0
  71. {afmaths-2.1.0 → afmaths-2.1.1}/test/test_celestial_mechanics.py +0 -0
  72. {afmaths-2.1.0 → afmaths-2.1.1}/test/test_computer_science.py +0 -0
  73. {afmaths-2.1.0 → afmaths-2.1.1}/test/test_coordinate_correction_functions.py +0 -0
  74. {afmaths-2.1.0 → afmaths-2.1.1}/test/test_coordinate_functions.py +0 -0
  75. {afmaths-2.1.0 → afmaths-2.1.1}/test/test_geometry.py +0 -0
  76. {afmaths-2.1.0 → afmaths-2.1.1}/test/test_kinematics.py +0 -0
  77. {afmaths-2.1.0 → afmaths-2.1.1}/test/test_list.py +0 -0
  78. {afmaths-2.1.0 → afmaths-2.1.1}/test/test_operation.py +0 -0
  79. {afmaths-2.1.0 → afmaths-2.1.1}/test/test_rocketry.py +0 -0
  80. {afmaths-2.1.0 → afmaths-2.1.1}/test/test_stats.py +0 -0
  81. {afmaths-2.1.0 → afmaths-2.1.1}/test/test_sun_functions.py +0 -0
  82. {afmaths-2.1.0 → afmaths-2.1.1}/test/test_thermal_subsystem.py +0 -0
  83. {afmaths-2.1.0 → afmaths-2.1.1}/test/test_time_functions.py +0 -0
  84. {afmaths-2.1.0 → afmaths-2.1.1}/test/test_tle.py +0 -0
  85. {afmaths-2.1.0 → afmaths-2.1.1}/test/test_visualisation_helpers.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: afmaths
3
- Version: 2.1.0
3
+ Version: 2.1.1
4
4
  Summary: A suite of mathematical functions
5
5
  Home-page: https://github.com/Arturius771/afmaths
6
6
  Author: Artur Foden
@@ -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
- from base import BodyPlotConfig
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 Distance, Scalar, Second
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
- visualisation_3d_itrs(tle, total_orbits)
36
- visualisation_3d_satellite_earth(
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()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: afmaths
3
- Version: 2.1.0
3
+ Version: 2.1.1
4
4
  Summary: A suite of mathematical functions
5
5
  Home-page: https://github.com/Arturius771/afmaths
6
6
  Author: Artur Foden
@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
3
3
 
4
4
  setup(
5
5
  name="afmaths",
6
- version="2.1.0",
6
+ version="2.1.1",
7
7
  package_dir={"": "lib"},
8
8
  packages=find_packages(where="lib"),
9
9
  author="Artur Foden",
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