open-space-toolkit-astrodynamics 6.1.0__py310-none-any.whl → 7.0.0__py310-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.
Files changed (71) hide show
  1. {open_space_toolkit_astrodynamics-6.1.0.dist-info → open_space_toolkit_astrodynamics-7.0.0.dist-info}/METADATA +2 -2
  2. open_space_toolkit_astrodynamics-7.0.0.dist-info/RECORD +97 -0
  3. ostk/astrodynamics/OpenSpaceToolkitAstrodynamicsPy.cpython-310-x86_64-linux-gnu.so +0 -0
  4. ostk/astrodynamics/display.py +3 -3
  5. ostk/astrodynamics/{libopen-space-toolkit-astrodynamics.so.6 → libopen-space-toolkit-astrodynamics.so.7} +0 -0
  6. ostk/astrodynamics/pytrajectory/pystate.py +4 -4
  7. ostk/astrodynamics/test/access/test_generator.py +6 -6
  8. ostk/astrodynamics/test/conftest.py +2 -2
  9. ostk/astrodynamics/test/conjunction/{messages → message}/ccsds/test_cdm.py +4 -4
  10. ostk/astrodynamics/test/dynamics/test_atmospheric_drag.py +18 -18
  11. ostk/astrodynamics/test/dynamics/test_central_body_gravity.py +1 -1
  12. ostk/astrodynamics/test/dynamics/test_dynamics.py +3 -3
  13. ostk/astrodynamics/test/dynamics/test_position_derivative.py +1 -1
  14. ostk/astrodynamics/test/dynamics/test_tabulated.py +5 -5
  15. ostk/astrodynamics/test/dynamics/test_third_body_gravity.py +1 -1
  16. ostk/astrodynamics/test/dynamics/test_thruster.py +17 -17
  17. ostk/astrodynamics/test/event_condition/test_angular_condition.py +1 -1
  18. ostk/astrodynamics/test/event_condition/test_coe_condition.py +1 -1
  19. ostk/astrodynamics/test/flight/system/test_propulsion_system.py +1 -1
  20. ostk/astrodynamics/test/flight/system/test_satellite_system.py +4 -4
  21. ostk/astrodynamics/test/flight/system/test_satellite_system_builder.py +4 -4
  22. ostk/astrodynamics/test/flight/test_profile.py +7 -7
  23. ostk/astrodynamics/test/flight/test_system.py +4 -4
  24. ostk/astrodynamics/test/guidance_law/test_qlaw.py +5 -5
  25. ostk/astrodynamics/test/solvers/test_finite_difference_solver.py +5 -5
  26. ostk/astrodynamics/test/solvers/test_temporal_condition_solver.py +4 -4
  27. ostk/astrodynamics/test/test_access.py +9 -9
  28. ostk/astrodynamics/test/test_display.py +6 -6
  29. ostk/astrodynamics/test/test_import.py +5 -5
  30. ostk/astrodynamics/test/test_trajectory.py +9 -9
  31. ostk/astrodynamics/test/test_utilities.py +7 -7
  32. ostk/astrodynamics/test/test_viewer.py +4 -3
  33. ostk/astrodynamics/test/trajectory/orbit/{messages → message}/spacex/test_opm.py +4 -4
  34. ostk/astrodynamics/test/trajectory/orbit/models/kepler/test_brouwer_lyddane_mean.py +3 -3
  35. ostk/astrodynamics/test/trajectory/orbit/models/kepler/test_brouwer_lyddane_mean_long.py +4 -4
  36. ostk/astrodynamics/test/trajectory/orbit/models/kepler/test_brouwer_lyddane_mean_short.py +4 -4
  37. ostk/astrodynamics/test/trajectory/orbit/models/kepler/test_coe.py +3 -3
  38. ostk/astrodynamics/test/trajectory/orbit/models/sgp4/test_tle.py +4 -4
  39. ostk/astrodynamics/test/trajectory/orbit/models/test_kepler.py +6 -6
  40. ostk/astrodynamics/test/trajectory/orbit/models/test_propagated.py +2 -2
  41. ostk/astrodynamics/test/trajectory/orbit/models/test_tabulated.py +1 -1
  42. ostk/astrodynamics/test/trajectory/state/{coordinates_subset → coordinate_subset}/test_angular_velocity.py +1 -1
  43. ostk/astrodynamics/test/trajectory/state/{coordinates_subset → coordinate_subset}/test_attitude_quaternion.py +1 -1
  44. ostk/astrodynamics/test/trajectory/state/{coordinates_subset → coordinate_subset}/test_cartesian_position.py +14 -14
  45. ostk/astrodynamics/test/trajectory/state/{coordinates_subset → coordinate_subset}/test_cartesian_velocity.py +14 -14
  46. ostk/astrodynamics/test/trajectory/state/test_coordinate_broker.py +84 -0
  47. ostk/astrodynamics/test/trajectory/state/test_coordinate_subset.py +43 -0
  48. ostk/astrodynamics/test/trajectory/state/test_numerical_solver.py +10 -10
  49. ostk/astrodynamics/test/trajectory/test_orbit.py +4 -4
  50. ostk/astrodynamics/test/trajectory/test_propagator.py +23 -23
  51. ostk/astrodynamics/test/trajectory/test_segment.py +8 -8
  52. ostk/astrodynamics/test/trajectory/test_sequence.py +18 -18
  53. ostk/astrodynamics/test/trajectory/test_state.py +34 -20
  54. ostk/astrodynamics/test/trajectory/test_state_builder.py +22 -22
  55. ostk/astrodynamics/utilities.py +1 -1
  56. ostk/astrodynamics/viewer.py +33 -3
  57. open_space_toolkit_astrodynamics-6.1.0.dist-info/RECORD +0 -99
  58. ostk/astrodynamics/test/flight/profile/test_state.py +0 -144
  59. ostk/astrodynamics/test/trajectory/orbit/messages/spacex/__init__.py +0 -1
  60. ostk/astrodynamics/test/trajectory/state/test_coordinates_broker.py +0 -84
  61. ostk/astrodynamics/test/trajectory/state/test_coordinates_subset.py +0 -43
  62. {open_space_toolkit_astrodynamics-6.1.0.dist-info → open_space_toolkit_astrodynamics-7.0.0.dist-info}/WHEEL +0 -0
  63. {open_space_toolkit_astrodynamics-6.1.0.dist-info → open_space_toolkit_astrodynamics-7.0.0.dist-info}/top_level.txt +0 -0
  64. {open_space_toolkit_astrodynamics-6.1.0.dist-info → open_space_toolkit_astrodynamics-7.0.0.dist-info}/zip-safe +0 -0
  65. /ostk/astrodynamics/test/conjunction/{messages → message}/ccsds/__init__.py +0 -0
  66. /ostk/astrodynamics/test/conjunction/{messages → message}/ccsds/conftest.py +0 -0
  67. /ostk/astrodynamics/test/conjunction/{messages → message}/ccsds/data/cdm.json +0 -0
  68. /ostk/astrodynamics/test/{flight/profile → trajectory/orbit/message}/__init__.py +0 -0
  69. /ostk/astrodynamics/test/trajectory/orbit/{messages → message/spacex}/__init__.py +0 -0
  70. /ostk/astrodynamics/test/trajectory/orbit/{messages → message}/spacex/conftest.py +0 -0
  71. /ostk/astrodynamics/test/trajectory/orbit/{messages → message}/spacex/data/opm_1.yaml +0 -0
@@ -11,7 +11,7 @@ from ostk.physics.time import Duration
11
11
 
12
12
  from ostk.astrodynamics.solvers import FiniteDifferenceSolver
13
13
  from ostk.astrodynamics.trajectory import State
14
- from ostk.astrodynamics.trajectory.state import CoordinatesSubset
14
+ from ostk.astrodynamics.trajectory.state import CoordinateSubset
15
15
 
16
16
 
17
17
  @pytest.fixture
@@ -36,8 +36,8 @@ def finite_difference_solver(request, step_percentage: float, step_duration: Dur
36
36
 
37
37
 
38
38
  @pytest.fixture
39
- def coordinates_subsets() -> list[CoordinatesSubset]:
40
- return [CoordinatesSubset("Position", 1), CoordinatesSubset("Velocity", 1)]
39
+ def coordinate_subsets() -> list[CoordinateSubset]:
40
+ return [CoordinateSubset("Position", 1), CoordinateSubset("Velocity", 1)]
41
41
 
42
42
 
43
43
  @pytest.fixture
@@ -47,9 +47,9 @@ def frame() -> Frame:
47
47
 
48
48
  @pytest.fixture
49
49
  def state(
50
- initial_instant: Instant, frame: Frame, coordinates_subsets: list[CoordinatesSubset]
50
+ initial_instant: Instant, frame: Frame, coordinate_subsets: list[CoordinateSubset]
51
51
  ):
52
- return State(initial_instant, [1, 0], frame, coordinates_subsets)
52
+ return State(initial_instant, [1, 0], frame, coordinate_subsets)
53
53
 
54
54
 
55
55
  @pytest.fixture
@@ -2,8 +2,8 @@
2
2
 
3
3
  import pytest
4
4
 
5
- from ostk.physics.units import Length
6
- from ostk.physics.units import Angle
5
+ from ostk.physics.unit import Length
6
+ from ostk.physics.unit import Angle
7
7
  from ostk.physics.time import Instant
8
8
  from ostk.physics.time import Duration
9
9
  from ostk.physics.time import Interval
@@ -12,8 +12,8 @@ from ostk.physics.time import Scale
12
12
  from ostk.physics import Environment
13
13
 
14
14
  from ostk.astrodynamics.trajectory import Orbit
15
- from ostk.astrodynamics.trajectory.orbit.models import Kepler
16
- from ostk.astrodynamics.trajectory.orbit.models.kepler import COE
15
+ from ostk.astrodynamics.trajectory.orbit.model import Kepler
16
+ from ostk.astrodynamics.trajectory.orbit.model.kepler import COE
17
17
  from ostk.astrodynamics.access import Generator
18
18
  from ostk.astrodynamics.solvers import TemporalConditionSolver
19
19
 
@@ -10,10 +10,10 @@ import ostk.physics as physics
10
10
 
11
11
  import ostk.astrodynamics as astrodynamics
12
12
 
13
- RealInterval = mathematics.objects.RealInterval
13
+ RealInterval = mathematics.object.RealInterval
14
14
  Quaternion = mathematics.geometry.d3.transformation.rotation.Quaternion
15
- Length = physics.units.Length
16
- Angle = physics.units.Angle
15
+ Length = physics.unit.Length
16
+ Angle = physics.unit.Angle
17
17
  DateTime = physics.time.DateTime
18
18
  Scale = physics.time.Scale
19
19
  Duration = physics.time.Duration
@@ -22,17 +22,17 @@ Interval = physics.time.Interval
22
22
  Transform = physics.coordinate.Transform
23
23
  Frame = physics.coordinate.Frame
24
24
  Axes = physics.coordinate.Axes
25
- DynamicProvider = physics.coordinate.frame.providers.Dynamic
25
+ DynamicProvider = physics.coordinate.frame.provider.Dynamic
26
26
  Environment = physics.Environment
27
- Earth = physics.environment.objects.celestial_bodies.Earth
27
+ Earth = physics.environment.object.celestial.Earth
28
28
  Trajectory = astrodynamics.Trajectory
29
29
  Profile = astrodynamics.flight.Profile
30
- State = astrodynamics.flight.profile.State
31
30
  Orbit = astrodynamics.trajectory.Orbit
31
+ State = astrodynamics.trajectory.State
32
32
  Pass = astrodynamics.trajectory.orbit.Pass
33
- Kepler = astrodynamics.trajectory.orbit.models.Kepler
34
- COE = astrodynamics.trajectory.orbit.models.kepler.COE
35
- SGP4 = astrodynamics.trajectory.orbit.models.sgp4
33
+ Kepler = astrodynamics.trajectory.orbit.model.Kepler
34
+ COE = astrodynamics.trajectory.orbit.model.kepler.COE
35
+ SGP4 = astrodynamics.trajectory.orbit.model.sgp4
36
36
  Access = astrodynamics.Access
37
37
 
38
38
 
@@ -1,27 +1,27 @@
1
1
  # Apache License 2.0
2
2
 
3
- from ostk.mathematics.objects import RealInterval
3
+ from ostk.mathematics.object import RealInterval
4
4
 
5
5
  from ostk.physics import Environment
6
6
  from ostk.physics.coordinate import Position
7
7
  from ostk.physics.coordinate import Frame
8
8
  from ostk.physics.coordinate.spherical import LLA
9
- from ostk.physics.environment.objects import Celestial
9
+ from ostk.physics.environment.object import Celestial
10
10
  from ostk.physics.time import DateTime
11
11
  from ostk.physics.time import Duration
12
12
  from ostk.physics.time import Instant
13
13
  from ostk.physics.time import Interval
14
14
  from ostk.physics.time import Scale
15
- from ostk.physics.units import Length
16
- from ostk.physics.units import Angle
15
+ from ostk.physics.unit import Length
16
+ from ostk.physics.unit import Angle
17
17
 
18
18
  from ostk.astrodynamics import Trajectory
19
19
  from ostk.astrodynamics import display
20
20
  from ostk.astrodynamics.access import Generator as AccessGenerator
21
21
  from ostk.astrodynamics.trajectory import Orbit
22
22
  from ostk.astrodynamics.trajectory import State
23
- from ostk.astrodynamics.trajectory.orbit.models import SGP4
24
- from ostk.astrodynamics.trajectory.orbit.models.sgp4 import TLE
23
+ from ostk.astrodynamics.trajectory.orbit.model import SGP4
24
+ from ostk.astrodynamics.trajectory.orbit.model.sgp4 import TLE
25
25
 
26
26
 
27
27
  class TestDisplay:
@@ -10,11 +10,11 @@ class TestImport:
10
10
  from ostk.astrodynamics.trajectory import Orbit
11
11
  from ostk.astrodynamics.trajectory import Model
12
12
  from ostk.astrodynamics.trajectory.orbit import Pass
13
- from ostk.astrodynamics.trajectory.orbit.models import Kepler
14
- from ostk.astrodynamics.trajectory.orbit.models.kepler import COE
15
- from ostk.astrodynamics.trajectory.orbit.models import SGP4
16
- from ostk.astrodynamics.trajectory.orbit.models.sgp4 import TLE
17
- from ostk.astrodynamics.trajectory.orbit.models import Propagated
13
+ from ostk.astrodynamics.trajectory.orbit.model import Kepler
14
+ from ostk.astrodynamics.trajectory.orbit.model.kepler import COE
15
+ from ostk.astrodynamics.trajectory.orbit.model import SGP4
16
+ from ostk.astrodynamics.trajectory.orbit.model.sgp4 import TLE
17
+ from ostk.astrodynamics.trajectory.orbit.model import Propagated
18
18
  from ostk.astrodynamics.flight import Profile
19
19
  from ostk.astrodynamics.flight import System
20
20
  from ostk.astrodynamics.flight.system import SatelliteSystem
@@ -6,10 +6,10 @@ import ostk.physics as physics
6
6
 
7
7
  import ostk.astrodynamics as astrodynamics
8
8
 
9
- RealInterval = mathematics.objects.RealInterval
9
+ RealInterval = mathematics.object.RealInterval
10
10
  Quaternion = mathematics.geometry.d3.transformation.rotation.Quaternion
11
- Length = physics.units.Length
12
- Angle = physics.units.Angle
11
+ Length = physics.unit.Length
12
+ Angle = physics.unit.Angle
13
13
  DateTime = physics.time.DateTime
14
14
  Scale = physics.time.Scale
15
15
  Duration = physics.time.Duration
@@ -17,18 +17,18 @@ Instant = physics.time.Instant
17
17
  Transform = physics.coordinate.Transform
18
18
  Frame = physics.coordinate.Frame
19
19
  Axes = physics.coordinate.Axes
20
- DynamicProvider = physics.coordinate.frame.providers.Dynamic
20
+ DynamicProvider = physics.coordinate.frame.provider.Dynamic
21
21
  Environment = physics.Environment
22
- Earth = physics.environment.objects.celestial_bodies.Earth
22
+ Earth = physics.environment.object.celestial.Earth
23
23
  Trajectory = astrodynamics.Trajectory
24
24
  Profile = astrodynamics.flight.Profile
25
- State = astrodynamics.flight.profile.State
26
25
  SatelliteSystem = astrodynamics.flight.system.SatelliteSystem
27
26
  Orbit = astrodynamics.trajectory.Orbit
27
+ State = astrodynamics.trajectory.State
28
28
  Pass = astrodynamics.trajectory.orbit.Pass
29
- Kepler = astrodynamics.trajectory.orbit.models.Kepler
30
- COE = astrodynamics.trajectory.orbit.models.kepler.COE
31
- SGP4 = astrodynamics.trajectory.orbit.models.sgp4
29
+ Kepler = astrodynamics.trajectory.orbit.model.Kepler
30
+ COE = astrodynamics.trajectory.orbit.model.kepler.COE
31
+ SGP4 = astrodynamics.trajectory.orbit.model.sgp4
32
32
  Access = astrodynamics.Access
33
33
 
34
34
 
@@ -6,8 +6,8 @@ import ostk.physics as physics
6
6
  import ostk.astrodynamics as astrodynamics
7
7
  from ostk.astrodynamics import utilities
8
8
 
9
- Length = physics.units.Length
10
- Angle = physics.units.Angle
9
+ Length = physics.unit.Length
10
+ Angle = physics.unit.Angle
11
11
  DateTime = physics.time.DateTime
12
12
  Scale = physics.time.Scale
13
13
  Instant = physics.time.Instant
@@ -19,10 +19,10 @@ LLA = physics.coordinate.spherical.LLA
19
19
  AER = physics.coordinate.spherical.AER
20
20
  Environment = physics.Environment
21
21
  Trajectory = astrodynamics.Trajectory
22
- State = astrodynamics.flight.profile.State
22
+ State = astrodynamics.trajectory.State
23
23
 
24
24
 
25
- class TestUtilities:
25
+ class TestUtility:
26
26
  def test_lla_from_state(
27
27
  self,
28
28
  state: State,
@@ -86,9 +86,9 @@ class TestUtilities:
86
86
  position: Position,
87
87
  environment: Environment,
88
88
  ):
89
- time_lla_aer: float[
90
- Instant, float, float, float, float, float, float
91
- ] = utilities.compute_time_lla_aer_state(state, position, environment)
89
+ time_lla_aer: float[Instant, float, float, float, float, float, float] = (
90
+ utilities.compute_time_lla_aer_state(state, position, environment)
91
+ )
92
92
 
93
93
  assert time_lla_aer is not None
94
94
  assert len(time_lla_aer) == 7
@@ -3,15 +3,15 @@
3
3
  import pytest
4
4
 
5
5
  from ostk.physics import Environment
6
- from ostk.physics.units import Length
7
- from ostk.physics.units import Angle
6
+ from ostk.physics.unit import Length
7
+ from ostk.physics.unit import Angle
8
8
  from ostk.physics.time import Instant
9
9
  from ostk.physics.time import Interval
10
10
  from ostk.physics.time import Duration
11
11
  from ostk.physics.time import DateTime
12
12
  from ostk.physics.time import Time
13
13
  from ostk.physics.time import Scale
14
- from ostk.physics.units import Length
14
+ from ostk.physics.unit import Length
15
15
  from ostk.physics.coordinate import Position
16
16
  from ostk.physics.coordinate import Frame
17
17
 
@@ -93,6 +93,7 @@ class TestViewer:
93
93
  color="red",
94
94
  ),
95
95
  ],
96
+ show_xyz_axes=True,
96
97
  )
97
98
 
98
99
  rendered_html: str = viewer.render()
@@ -4,12 +4,12 @@ import pytest
4
4
 
5
5
  from datetime import datetime
6
6
 
7
- from ostk.core.containers import Dictionary
7
+ from ostk.core.container import Dictionary
8
8
  from ostk.core.filesystem import Path
9
9
  from ostk.core.filesystem import File
10
10
 
11
- from ostk.physics.units import Length
12
- from ostk.physics.units import Angle
11
+ from ostk.physics.unit import Length
12
+ from ostk.physics.unit import Angle
13
13
  from ostk.physics.time import Instant
14
14
  from ostk.physics.time import Scale
15
15
  from ostk.physics.time import Duration
@@ -17,7 +17,7 @@ from ostk.physics.coordinate import Position
17
17
  from ostk.physics.coordinate import Velocity
18
18
  from ostk.physics.coordinate import Frame
19
19
 
20
- from ostk.astrodynamics.trajectory.orbit.messages.spacex import OPM
20
+ from ostk.astrodynamics.trajectory.orbit.message.spacex import OPM
21
21
 
22
22
 
23
23
  @pytest.fixture
@@ -2,10 +2,10 @@
2
2
 
3
3
  import pytest
4
4
 
5
- from ostk.physics.units import Length
6
- from ostk.physics.units import Angle
5
+ from ostk.physics.unit import Length
6
+ from ostk.physics.unit import Angle
7
7
 
8
- from ostk.astrodynamics.trajectory.orbit.models import BrouwerLyddaneMean
8
+ from ostk.astrodynamics.trajectory.orbit.model import BrouwerLyddaneMean
9
9
 
10
10
 
11
11
  @pytest.fixture
@@ -2,16 +2,16 @@
2
2
 
3
3
  import pytest
4
4
 
5
- from ostk.physics.units import Length
6
- from ostk.physics.units import Angle
5
+ from ostk.physics.unit import Length
6
+ from ostk.physics.unit import Angle
7
7
  from ostk.physics.environment.gravitational import Earth
8
8
 
9
9
  from ostk.physics.coordinate import Frame
10
10
  from ostk.physics.coordinate import Position
11
11
  from ostk.physics.coordinate import Velocity
12
12
 
13
- from ostk.astrodynamics.trajectory.orbit.models.kepler import COE
14
- from ostk.astrodynamics.trajectory.orbit.models.brouwerLyddaneMean import (
13
+ from ostk.astrodynamics.trajectory.orbit.model.kepler import COE
14
+ from ostk.astrodynamics.trajectory.orbit.model.brouwerLyddaneMean import (
15
15
  BrouwerLyddaneMeanLong,
16
16
  )
17
17
 
@@ -2,16 +2,16 @@
2
2
 
3
3
  import pytest
4
4
 
5
- from ostk.physics.units import Length
6
- from ostk.physics.units import Angle
5
+ from ostk.physics.unit import Length
6
+ from ostk.physics.unit import Angle
7
7
  from ostk.physics.environment.gravitational import Earth
8
8
 
9
9
  from ostk.physics.coordinate import Frame
10
10
  from ostk.physics.coordinate import Position
11
11
  from ostk.physics.coordinate import Velocity
12
12
 
13
- from ostk.astrodynamics.trajectory.orbit.models.kepler import COE
14
- from ostk.astrodynamics.trajectory.orbit.models.brouwerLyddaneMean import (
13
+ from ostk.astrodynamics.trajectory.orbit.model.kepler import COE
14
+ from ostk.astrodynamics.trajectory.orbit.model.brouwerLyddaneMean import (
15
15
  BrouwerLyddaneMeanShort,
16
16
  )
17
17
 
@@ -2,11 +2,11 @@
2
2
 
3
3
  import pytest
4
4
 
5
- from ostk.physics.units import Length
6
- from ostk.physics.units import Angle
5
+ from ostk.physics.unit import Length
6
+ from ostk.physics.unit import Angle
7
7
  from ostk.physics.environment.gravitational import Earth
8
8
 
9
- from ostk.astrodynamics.trajectory.orbit.models.kepler import COE
9
+ from ostk.astrodynamics.trajectory.orbit.model.kepler import COE
10
10
 
11
11
 
12
12
  @pytest.fixture
@@ -7,14 +7,14 @@ import tempfile
7
7
  from ostk.core.filesystem import Path
8
8
  from ostk.core.filesystem import File
9
9
 
10
- from ostk.physics.units import Time
11
- from ostk.physics.units import Angle
12
- from ostk.physics.units import Derived
10
+ from ostk.physics.unit import Time
11
+ from ostk.physics.unit import Angle
12
+ from ostk.physics.unit import Derived
13
13
  from ostk.physics.time import Instant
14
14
  from ostk.physics.time import Scale
15
15
  from ostk.physics.time import DateTime
16
16
 
17
- from ostk.astrodynamics.trajectory.orbit.models.sgp4 import TLE
17
+ from ostk.astrodynamics.trajectory.orbit.model.sgp4 import TLE
18
18
 
19
19
 
20
20
  @pytest.fixture
@@ -4,8 +4,8 @@ import ostk.physics as physics
4
4
 
5
5
  import ostk.astrodynamics as astrodynamics
6
6
 
7
- Length = physics.units.Length
8
- Angle = physics.units.Angle
7
+ Length = physics.unit.Length
8
+ Angle = physics.unit.Angle
9
9
  Scale = physics.time.Scale
10
10
  Instant = physics.time.Instant
11
11
  Interval = physics.time.Interval
@@ -19,10 +19,10 @@ Trajectory = astrodynamics.Trajectory
19
19
  Model = astrodynamics.trajectory.Model
20
20
  Orbit = astrodynamics.trajectory.Orbit
21
21
  Pass = astrodynamics.trajectory.orbit.Pass
22
- Kepler = astrodynamics.trajectory.orbit.models.Kepler
23
- COE = astrodynamics.trajectory.orbit.models.kepler.COE
24
- SGP4 = astrodynamics.trajectory.orbit.models.SGP4
25
- TLE = astrodynamics.trajectory.orbit.models.sgp4.TLE
22
+ Kepler = astrodynamics.trajectory.orbit.model.Kepler
23
+ COE = astrodynamics.trajectory.orbit.model.kepler.COE
24
+ SGP4 = astrodynamics.trajectory.orbit.model.SGP4
25
+ TLE = astrodynamics.trajectory.orbit.model.sgp4.TLE
26
26
  State = astrodynamics.trajectory.State
27
27
  Access = astrodynamics.Access
28
28
 
@@ -10,7 +10,7 @@ from ostk.physics.time import Scale
10
10
  from ostk.physics.coordinate import Position
11
11
  from ostk.physics.coordinate import Velocity
12
12
  from ostk.physics.coordinate import Frame
13
- from ostk.physics.environment.objects.celestial_bodies import Earth
13
+ from ostk.physics.environment.object.celestial import Earth
14
14
 
15
15
  from ostk.astrodynamics.trajectory.state import NumericalSolver
16
16
  from ostk.astrodynamics.trajectory import State
@@ -19,7 +19,7 @@ from ostk.astrodynamics.trajectory import Propagator
19
19
  from ostk.astrodynamics import Dynamics
20
20
  from ostk.astrodynamics.dynamics import CentralBodyGravity
21
21
  from ostk.astrodynamics.dynamics import PositionDerivative
22
- from ostk.astrodynamics.trajectory.orbit.models import Propagated
22
+ from ostk.astrodynamics.trajectory.orbit.model import Propagated
23
23
 
24
24
 
25
25
  @pytest.fixture
@@ -15,7 +15,7 @@ from ostk.physics import Environment
15
15
 
16
16
  from ostk.astrodynamics.trajectory import State
17
17
  from ostk.astrodynamics.trajectory import Orbit
18
- from ostk.astrodynamics.trajectory.orbit.models import Tabulated
18
+ from ostk.astrodynamics.trajectory.orbit.model import Tabulated
19
19
 
20
20
 
21
21
  @pytest.fixture
@@ -2,7 +2,7 @@
2
2
 
3
3
  import pytest
4
4
 
5
- from ostk.astrodynamics.trajectory.state.coordinates_subset import (
5
+ from ostk.astrodynamics.trajectory.state.coordinate_subset import (
6
6
  AngularVelocity,
7
7
  AttitudeQuaternion,
8
8
  )
@@ -2,7 +2,7 @@
2
2
 
3
3
  import pytest
4
4
 
5
- from ostk.astrodynamics.trajectory.state.coordinates_subset import AttitudeQuaternion
5
+ from ostk.astrodynamics.trajectory.state.coordinate_subset import AttitudeQuaternion
6
6
 
7
7
 
8
8
  @pytest.fixture
@@ -5,8 +5,8 @@ import pytest
5
5
  from ostk.physics.time import Instant
6
6
  from ostk.physics.coordinate import Frame
7
7
 
8
- from ostk.astrodynamics.trajectory.state import CoordinatesBroker, CoordinatesSubset
9
- from ostk.astrodynamics.trajectory.state.coordinates_subset import CartesianPosition
8
+ from ostk.astrodynamics.trajectory.state import CoordinateBroker, CoordinateSubset
9
+ from ostk.astrodynamics.trajectory.state.coordinate_subset import CartesianPosition
10
10
 
11
11
 
12
12
  @pytest.fixture
@@ -20,9 +20,9 @@ def cartesian_position() -> CartesianPosition:
20
20
 
21
21
 
22
22
  @pytest.fixture
23
- def coordinates_subsets(
23
+ def coordinate_subsets(
24
24
  cartesian_position: CartesianPosition,
25
- ) -> list[CoordinatesSubset]:
25
+ ) -> list[CoordinateSubset]:
26
26
  return [cartesian_position]
27
27
 
28
28
 
@@ -37,10 +37,10 @@ def frame() -> Frame:
37
37
 
38
38
 
39
39
  @pytest.fixture
40
- def coordinates_broker(
41
- coordinates_subsets: list[CoordinatesSubset],
42
- ) -> CoordinatesBroker:
43
- return CoordinatesBroker(coordinates_subsets)
40
+ def coordinate_broker(
41
+ coordinate_subsets: list[CoordinateSubset],
42
+ ) -> CoordinateBroker:
43
+ return CoordinateBroker(coordinate_subsets)
44
44
 
45
45
 
46
46
  @pytest.fixture
@@ -64,11 +64,11 @@ class TestCartesianPosition:
64
64
  frame: Frame,
65
65
  coordinates: list[float],
66
66
  another_coordinates: list[float],
67
- coordinates_broker: CoordinatesBroker,
67
+ coordinate_broker: CoordinateBroker,
68
68
  ):
69
69
  assert all(
70
70
  cartesian_position.add(
71
- instant, coordinates, another_coordinates, frame, coordinates_broker
71
+ instant, coordinates, another_coordinates, frame, coordinate_broker
72
72
  )
73
73
  == [7000000.0, 7000000.0, 0.0]
74
74
  )
@@ -80,11 +80,11 @@ class TestCartesianPosition:
80
80
  frame: Frame,
81
81
  coordinates: list[float],
82
82
  another_coordinates: list[float],
83
- coordinates_broker: CoordinatesBroker,
83
+ coordinate_broker: CoordinateBroker,
84
84
  ):
85
85
  assert all(
86
86
  cartesian_position.subtract(
87
- instant, coordinates, another_coordinates, frame, coordinates_broker
87
+ instant, coordinates, another_coordinates, frame, coordinate_broker
88
88
  )
89
89
  == [7000000.0, -7000000.0, 0.0]
90
90
  )
@@ -96,11 +96,11 @@ class TestCartesianPosition:
96
96
  frame: Frame,
97
97
  coordinates: list[float],
98
98
  another_coordinates: list[float],
99
- coordinates_broker: CoordinatesBroker,
99
+ coordinate_broker: CoordinateBroker,
100
100
  ):
101
101
  for value, expected in zip(
102
102
  cartesian_position.in_frame(
103
- instant, coordinates, frame, Frame.ITRF(), coordinates_broker
103
+ instant, coordinates, frame, Frame.ITRF(), coordinate_broker
104
104
  ),
105
105
  [1238864.12746338, 6889500.39136482, -176.262107699686],
106
106
  ):
@@ -5,8 +5,8 @@ import pytest
5
5
  from ostk.physics.time import Instant
6
6
  from ostk.physics.coordinate import Frame
7
7
 
8
- from ostk.astrodynamics.trajectory.state import CoordinatesBroker, CoordinatesSubset
9
- from ostk.astrodynamics.trajectory.state.coordinates_subset import (
8
+ from ostk.astrodynamics.trajectory.state import CoordinateBroker, CoordinateSubset
9
+ from ostk.astrodynamics.trajectory.state.coordinate_subset import (
10
10
  CartesianVelocity,
11
11
  CartesianPosition,
12
12
  )
@@ -28,9 +28,9 @@ def cartesian_velocity() -> CartesianVelocity:
28
28
 
29
29
 
30
30
  @pytest.fixture
31
- def coordinates_subsets(
31
+ def coordinate_subsets(
32
32
  cartesian_position: CartesianPosition, cartesian_velocity: CartesianVelocity
33
- ) -> list[CoordinatesSubset]:
33
+ ) -> list[CoordinateSubset]:
34
34
  return [cartesian_position, cartesian_velocity]
35
35
 
36
36
 
@@ -45,10 +45,10 @@ def frame() -> Frame:
45
45
 
46
46
 
47
47
  @pytest.fixture
48
- def coordinates_broker(
49
- coordinates_subsets: list[CoordinatesSubset],
50
- ) -> CoordinatesBroker:
51
- return CoordinatesBroker(coordinates_subsets)
48
+ def coordinate_broker(
49
+ coordinate_subsets: list[CoordinateSubset],
50
+ ) -> CoordinateBroker:
51
+ return CoordinateBroker(coordinate_subsets)
52
52
 
53
53
 
54
54
  @pytest.fixture
@@ -72,11 +72,11 @@ class TestCartesianVelocity:
72
72
  frame: Frame,
73
73
  coordinates: list[float],
74
74
  another_coordinates: list[float],
75
- coordinates_broker: CoordinatesBroker,
75
+ coordinate_broker: CoordinateBroker,
76
76
  ):
77
77
  assert all(
78
78
  cartesian_velocity.add(
79
- instant, coordinates, another_coordinates, frame, coordinates_broker
79
+ instant, coordinates, another_coordinates, frame, coordinate_broker
80
80
  )
81
81
  == [5335.865450622126, 5335.865450622126, 5335.865450622126]
82
82
  )
@@ -88,11 +88,11 @@ class TestCartesianVelocity:
88
88
  frame: Frame,
89
89
  coordinates: list[float],
90
90
  another_coordinates: list[float],
91
- coordinates_broker: CoordinatesBroker,
91
+ coordinate_broker: CoordinateBroker,
92
92
  ):
93
93
  assert all(
94
94
  cartesian_velocity.subtract(
95
- instant, coordinates, another_coordinates, frame, coordinates_broker
95
+ instant, coordinates, another_coordinates, frame, coordinate_broker
96
96
  )
97
97
  == [-5335.865450622126, 5335.865450622126, 5335.865450622126]
98
98
  )
@@ -104,11 +104,11 @@ class TestCartesianVelocity:
104
104
  frame: Frame,
105
105
  coordinates: list[float],
106
106
  another_coordinates: list[float],
107
- coordinates_broker: CoordinatesBroker,
107
+ coordinate_broker: CoordinateBroker,
108
108
  ):
109
109
  for value, expected in zip(
110
110
  cartesian_velocity.in_frame(
111
- instant, coordinates, frame, Frame.ITRF(), coordinates_broker
111
+ instant, coordinates, frame, Frame.ITRF(), coordinate_broker
112
112
  ),
113
113
  [-4749.36551256577, 854.163395375881, 5335.71857543495],
114
114
  ):