open-space-toolkit-physics 11.2.1__py311-none-manylinux2014_aarch64.whl → 12.0.0__py311-none-manylinux2014_aarch64.whl
Sign up to get free protection for your applications and to get access to all the features.
- {open_space_toolkit_physics-11.2.1.dist-info → open_space_toolkit_physics-12.0.0.dist-info}/METADATA +3 -3
- {open_space_toolkit_physics-11.2.1.dist-info → open_space_toolkit_physics-12.0.0.dist-info}/RECORD +35 -13
- {open_space_toolkit_physics-11.2.1.dist-info → open_space_toolkit_physics-12.0.0.dist-info}/WHEEL +1 -1
- ostk/physics/OpenSpaceToolkitPhysicsPy.cpython-311-aarch64-linux-gnu.so +0 -0
- ostk/physics/__init__.pyi +488 -0
- ostk/physics/coordinate/__init__.pyi +1002 -0
- ostk/physics/coordinate/frame/__init__.pyi +30 -0
- ostk/physics/coordinate/frame/provider/__init__.pyi +77 -0
- ostk/physics/coordinate/frame/provider/iau.pyi +64 -0
- ostk/physics/coordinate/frame/provider/iers.pyi +584 -0
- ostk/physics/coordinate/spherical.pyi +421 -0
- ostk/physics/data/__init__.pyi +459 -0
- ostk/physics/data/provider.pyi +21 -0
- ostk/physics/environment/__init__.pyi +108 -0
- ostk/physics/environment/atmospheric/__init__.pyi +181 -0
- ostk/physics/environment/atmospheric/earth.pyi +552 -0
- ostk/physics/environment/gravitational/__init__.pyi +559 -0
- ostk/physics/environment/gravitational/earth.pyi +56 -0
- ostk/physics/environment/magnetic/__init__.pyi +171 -0
- ostk/physics/environment/magnetic/earth.pyi +56 -0
- ostk/physics/environment/object/__init__.pyi +430 -0
- ostk/physics/environment/object/celestial/__init__.pyi +248 -0
- ostk/physics/environment/object/celestial/moon.pyi +2 -0
- ostk/physics/environment/object/celestial/sun.pyi +2 -0
- ostk/physics/libopen-space-toolkit-physics.so.12 +0 -0
- ostk/physics/test/coordinate/frame/provider/iers/conftest.py +2 -5
- ostk/physics/test/coordinate/frame/provider/iers/test_bulletin_a.py +1 -4
- ostk/physics/test/coordinate/frame/provider/iers/test_finals_2000a.py +1 -4
- ostk/physics/test/coordinate/spherical/test_lla.py +24 -0
- ostk/physics/test/coordinate/test_position.py +129 -134
- ostk/physics/test/environment/atmospheric/earth/test_cssi_space_weather.py +11 -8
- ostk/physics/time.pyi +1744 -0
- ostk/physics/unit.pyi +1590 -0
- ostk/physics/libopen-space-toolkit-physics.so.11 +0 -0
- {open_space_toolkit_physics-11.2.1.dist-info → open_space_toolkit_physics-12.0.0.dist-info}/top_level.txt +0 -0
- {open_space_toolkit_physics-11.2.1.dist-info → open_space_toolkit_physics-12.0.0.dist-info}/zip-safe +0 -0
@@ -0,0 +1,171 @@
|
|
1
|
+
from __future__ import annotations
|
2
|
+
import numpy
|
3
|
+
import ostk.core.filesystem
|
4
|
+
import ostk.physics.time
|
5
|
+
import typing
|
6
|
+
from . import earth
|
7
|
+
__all__ = ['Dipole', 'Earth', 'earth']
|
8
|
+
class Dipole:
|
9
|
+
"""
|
10
|
+
|
11
|
+
Magnetic dipole model.
|
12
|
+
|
13
|
+
:reference: https://en.wikipedia.org/wiki/Magnetic_dipole
|
14
|
+
:reference: https://en.wikipedia.org/wiki/Magnetic_moment
|
15
|
+
:reference: https://en.wikipedia.org/wiki/Vacuum_permeability
|
16
|
+
:reference: https://en.wikipedia.org/wiki/Dipole_model_of_the_Earth%27s_magnetic_field
|
17
|
+
|
18
|
+
"""
|
19
|
+
@staticmethod
|
20
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
21
|
+
...
|
22
|
+
def __init__(self, arg0: numpy.ndarray[numpy.float64[3, 1]]) -> None:
|
23
|
+
"""
|
24
|
+
Construct a dipole magnetic model.
|
25
|
+
|
26
|
+
Args:
|
27
|
+
magnetic_moment (np.ndarray): Magnetic moment [A⋅m2].
|
28
|
+
"""
|
29
|
+
def get_field_value_at(self, arg0: numpy.ndarray[numpy.float64[3, 1]], arg1: ostk.physics.time.Instant) -> numpy.ndarray[numpy.float64[3, 1]]:
|
30
|
+
"""
|
31
|
+
Get the magnetic field value at a given position and instant.
|
32
|
+
|
33
|
+
Args:
|
34
|
+
position (np.ndarray): Position, expressed in the magnetic object frame [m].
|
35
|
+
instant (Instant): Instant.
|
36
|
+
|
37
|
+
Returns:
|
38
|
+
np.ndarray: Magnetic field value, expressed in the magnetic object frame [T].
|
39
|
+
"""
|
40
|
+
class Earth:
|
41
|
+
"""
|
42
|
+
|
43
|
+
Earth magnetic model.
|
44
|
+
|
45
|
+
:reference: https://geographiclib.sourceforge.io/html/magnetic.html
|
46
|
+
|
47
|
+
"""
|
48
|
+
class Type:
|
49
|
+
"""
|
50
|
+
Members:
|
51
|
+
|
52
|
+
Undefined :
|
53
|
+
Undefined Earth model type.
|
54
|
+
|
55
|
+
|
56
|
+
Dipole :
|
57
|
+
Dipole Earth model type.
|
58
|
+
|
59
|
+
|
60
|
+
EMM2010 :
|
61
|
+
Enhanced Magnetic Model 2010: approximates the main and crustal magnetic fields for the period 2010–2015.
|
62
|
+
|
63
|
+
|
64
|
+
EMM2015 :
|
65
|
+
Enhanced Magnetic Model 2015: approximates the main and crustal magnetic fields for the period 2000–2020.
|
66
|
+
|
67
|
+
|
68
|
+
EMM2017 :
|
69
|
+
Enhanced Magnetic Model 2017: approximates the main and crustal magnetic fields for the period 2000–2022.
|
70
|
+
|
71
|
+
|
72
|
+
IGRF11 :
|
73
|
+
International Geomagnetic Reference Field (11th generation): approximates the main magnetic field for the period 1900–2015.
|
74
|
+
|
75
|
+
|
76
|
+
IGRF12 :
|
77
|
+
International Geomagnetic Reference Field (12th generation): approximates the main magnetic field for the period 1900–2020.
|
78
|
+
|
79
|
+
|
80
|
+
WMM2010 :
|
81
|
+
World Magnetic Model 2010: approximates the main magnetic field for the period 2010–2015.
|
82
|
+
|
83
|
+
|
84
|
+
WMM2015 :
|
85
|
+
World Magnetic Model 2015: approximates the main magnetic field for the period 2015–2020.
|
86
|
+
|
87
|
+
"""
|
88
|
+
Dipole: typing.ClassVar[Earth.Type] # value = <Type.Dipole: 1>
|
89
|
+
EMM2010: typing.ClassVar[Earth.Type] # value = <Type.EMM2010: 2>
|
90
|
+
EMM2015: typing.ClassVar[Earth.Type] # value = <Type.EMM2015: 3>
|
91
|
+
EMM2017: typing.ClassVar[Earth.Type] # value = <Type.EMM2017: 4>
|
92
|
+
IGRF11: typing.ClassVar[Earth.Type] # value = <Type.IGRF11: 5>
|
93
|
+
IGRF12: typing.ClassVar[Earth.Type] # value = <Type.IGRF12: 6>
|
94
|
+
Undefined: typing.ClassVar[Earth.Type] # value = <Type.Undefined: 0>
|
95
|
+
WMM2010: typing.ClassVar[Earth.Type] # value = <Type.WMM2010: 7>
|
96
|
+
WMM2015: typing.ClassVar[Earth.Type] # value = <Type.WMM2015: 8>
|
97
|
+
__members__: typing.ClassVar[dict[str, Earth.Type]] # value = {'Undefined': <Type.Undefined: 0>, 'Dipole': <Type.Dipole: 1>, 'EMM2010': <Type.EMM2010: 2>, 'EMM2015': <Type.EMM2015: 3>, 'EMM2017': <Type.EMM2017: 4>, 'IGRF11': <Type.IGRF11: 5>, 'IGRF12': <Type.IGRF12: 6>, 'WMM2010': <Type.WMM2010: 7>, 'WMM2015': <Type.WMM2015: 8>}
|
98
|
+
@staticmethod
|
99
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
100
|
+
...
|
101
|
+
def __eq__(self, other: typing.Any) -> bool:
|
102
|
+
...
|
103
|
+
def __getstate__(self) -> int:
|
104
|
+
...
|
105
|
+
def __hash__(self) -> int:
|
106
|
+
...
|
107
|
+
def __index__(self) -> int:
|
108
|
+
...
|
109
|
+
def __init__(self, value: int) -> None:
|
110
|
+
...
|
111
|
+
def __int__(self) -> int:
|
112
|
+
...
|
113
|
+
def __ne__(self, other: typing.Any) -> bool:
|
114
|
+
...
|
115
|
+
def __repr__(self) -> str:
|
116
|
+
...
|
117
|
+
def __setstate__(self, state: int) -> None:
|
118
|
+
...
|
119
|
+
def __str__(self) -> str:
|
120
|
+
...
|
121
|
+
@property
|
122
|
+
def name(self) -> str:
|
123
|
+
...
|
124
|
+
@property
|
125
|
+
def value(self) -> int:
|
126
|
+
...
|
127
|
+
@staticmethod
|
128
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
129
|
+
...
|
130
|
+
@typing.overload
|
131
|
+
def __init__(self, type: typing.Any, directory: ostk.core.filesystem.Directory) -> None:
|
132
|
+
"""
|
133
|
+
Construct an Earth magnetic model.
|
134
|
+
|
135
|
+
Args:
|
136
|
+
type (Earth.Type): Earth model type.
|
137
|
+
directory (Directory): Directory containing the magnetic model data files.
|
138
|
+
"""
|
139
|
+
@typing.overload
|
140
|
+
def __init__(self, type: typing.Any) -> None:
|
141
|
+
"""
|
142
|
+
Construct an Earth magnetic model.
|
143
|
+
|
144
|
+
Args:
|
145
|
+
type (Earth.Type): Earth model type.
|
146
|
+
"""
|
147
|
+
def get_field_value_at(self, arg0: numpy.ndarray[numpy.float64[3, 1]], arg1: ostk.physics.time.Instant) -> numpy.ndarray[numpy.float64[3, 1]]:
|
148
|
+
"""
|
149
|
+
Get the magnetic field value at a given position and instant.
|
150
|
+
|
151
|
+
Args:
|
152
|
+
position (np.ndarray): Position, expressed in the magnetic object frame [m].
|
153
|
+
instant (Instant): Instant.
|
154
|
+
|
155
|
+
Returns:
|
156
|
+
np.ndarray: Magnetic field value, expressed in the magnetic object frame [T].
|
157
|
+
"""
|
158
|
+
def get_type(self) -> ...:
|
159
|
+
"""
|
160
|
+
Get Earth model type.
|
161
|
+
|
162
|
+
Returns:
|
163
|
+
Earth.Type: Earth model type.
|
164
|
+
"""
|
165
|
+
def is_defined(self) -> bool:
|
166
|
+
"""
|
167
|
+
Check if the magnetic model is defined.
|
168
|
+
|
169
|
+
Returns:
|
170
|
+
bool: True if defined.
|
171
|
+
"""
|
@@ -0,0 +1,56 @@
|
|
1
|
+
from __future__ import annotations
|
2
|
+
import ostk.core.filesystem
|
3
|
+
import ostk.physics
|
4
|
+
import ostk.physics.environment.magnetic
|
5
|
+
__all__ = ['Manager']
|
6
|
+
class Manager(ostk.physics.Manager):
|
7
|
+
"""
|
8
|
+
|
9
|
+
Earth magnetic model data manager
|
10
|
+
|
11
|
+
Fetches and manages necessary magnetic model data files.
|
12
|
+
|
13
|
+
The following environment variables can be defined:
|
14
|
+
|
15
|
+
- "OSTK_PHYSICS_ENVIRONMENT_MAGNETIC_EARTH_MANAGER_ENABLED" will override "DefaultEnabled"
|
16
|
+
- "OSTK_PHYSICS_ENVIRONMENT_MAGNETIC_EARTH_MANAGER_LOCAL_REPOSITORY" will override "DefaultLocalRepository"
|
17
|
+
|
18
|
+
"""
|
19
|
+
@staticmethod
|
20
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
21
|
+
...
|
22
|
+
@staticmethod
|
23
|
+
def get() -> Manager:
|
24
|
+
"""
|
25
|
+
Get manager singleton
|
26
|
+
|
27
|
+
Returns:
|
28
|
+
Manager: Reference to manager
|
29
|
+
"""
|
30
|
+
def fetch_data_files_for_type(self, model_type: ostk.physics.environment.magnetic.Earth.Type) -> None:
|
31
|
+
"""
|
32
|
+
Fetch data file from remote
|
33
|
+
|
34
|
+
Args:
|
35
|
+
model_type (EarthMagneticModel.Type): Model type
|
36
|
+
"""
|
37
|
+
def has_data_files_for_type(self, model_type: ostk.physics.environment.magnetic.Earth.Type) -> bool:
|
38
|
+
"""
|
39
|
+
Check if data files are available for the given type
|
40
|
+
|
41
|
+
Args:
|
42
|
+
model_type (EarthMagneticModel.Type): Model type
|
43
|
+
|
44
|
+
Returns:
|
45
|
+
bool: True if data files are available for the given type
|
46
|
+
"""
|
47
|
+
def local_data_files_for_type(self, model_type: ostk.physics.environment.magnetic.Earth.Type) -> list[ostk.core.filesystem.File]:
|
48
|
+
"""
|
49
|
+
Get local data files for the given type
|
50
|
+
|
51
|
+
Args:
|
52
|
+
model_type (EarthMagneticModel.Type): Model type
|
53
|
+
|
54
|
+
Returns:
|
55
|
+
list[File]: Local data files
|
56
|
+
"""
|
@@ -0,0 +1,430 @@
|
|
1
|
+
from __future__ import annotations
|
2
|
+
import ostk.core.type
|
3
|
+
import ostk.mathematics.geometry.d3
|
4
|
+
import ostk.mathematics.geometry.d3.object
|
5
|
+
import ostk.physics.coordinate
|
6
|
+
import ostk.physics.coordinate.spherical
|
7
|
+
import ostk.physics.environment
|
8
|
+
import ostk.physics.time
|
9
|
+
import ostk.physics.unit
|
10
|
+
import typing
|
11
|
+
from . import celestial
|
12
|
+
__all__ = ['Celestial', 'Geometry', 'celestial']
|
13
|
+
class Celestial(ostk.physics.environment.Object):
|
14
|
+
"""
|
15
|
+
|
16
|
+
Celestial class
|
17
|
+
|
18
|
+
"""
|
19
|
+
class CelestialType:
|
20
|
+
"""
|
21
|
+
Members:
|
22
|
+
|
23
|
+
Undefined :
|
24
|
+
Undefined celestial object.
|
25
|
+
|
26
|
+
|
27
|
+
Sun :
|
28
|
+
Sun.
|
29
|
+
|
30
|
+
|
31
|
+
Mercury :
|
32
|
+
Mercury.
|
33
|
+
|
34
|
+
|
35
|
+
Venus :
|
36
|
+
Venus.
|
37
|
+
|
38
|
+
|
39
|
+
Earth :
|
40
|
+
Earth.
|
41
|
+
|
42
|
+
|
43
|
+
Moon :
|
44
|
+
Moon.
|
45
|
+
|
46
|
+
|
47
|
+
Mars :
|
48
|
+
Mars.
|
49
|
+
|
50
|
+
"""
|
51
|
+
Earth: typing.ClassVar[Celestial.CelestialType] # value = <CelestialType.Earth: 4>
|
52
|
+
Mars: typing.ClassVar[Celestial.CelestialType] # value = <CelestialType.Mars: 6>
|
53
|
+
Mercury: typing.ClassVar[Celestial.CelestialType] # value = <CelestialType.Mercury: 2>
|
54
|
+
Moon: typing.ClassVar[Celestial.CelestialType] # value = <CelestialType.Moon: 5>
|
55
|
+
Sun: typing.ClassVar[Celestial.CelestialType] # value = <CelestialType.Sun: 1>
|
56
|
+
Undefined: typing.ClassVar[Celestial.CelestialType] # value = <CelestialType.Undefined: 0>
|
57
|
+
Venus: typing.ClassVar[Celestial.CelestialType] # value = <CelestialType.Venus: 3>
|
58
|
+
__members__: typing.ClassVar[dict[str, Celestial.CelestialType]] # value = {'Undefined': <CelestialType.Undefined: 0>, 'Sun': <CelestialType.Sun: 1>, 'Mercury': <CelestialType.Mercury: 2>, 'Venus': <CelestialType.Venus: 3>, 'Earth': <CelestialType.Earth: 4>, 'Moon': <CelestialType.Moon: 5>, 'Mars': <CelestialType.Mars: 6>}
|
59
|
+
@staticmethod
|
60
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
61
|
+
...
|
62
|
+
def __eq__(self, other: typing.Any) -> bool:
|
63
|
+
...
|
64
|
+
def __getstate__(self) -> int:
|
65
|
+
...
|
66
|
+
def __hash__(self) -> int:
|
67
|
+
...
|
68
|
+
def __index__(self) -> int:
|
69
|
+
...
|
70
|
+
def __init__(self, value: int) -> None:
|
71
|
+
...
|
72
|
+
def __int__(self) -> int:
|
73
|
+
...
|
74
|
+
def __ne__(self, other: typing.Any) -> bool:
|
75
|
+
...
|
76
|
+
def __repr__(self) -> str:
|
77
|
+
...
|
78
|
+
def __setstate__(self, state: int) -> None:
|
79
|
+
...
|
80
|
+
def __str__(self) -> str:
|
81
|
+
...
|
82
|
+
@property
|
83
|
+
def name(self) -> str:
|
84
|
+
...
|
85
|
+
@property
|
86
|
+
def value(self) -> int:
|
87
|
+
...
|
88
|
+
class FrameType:
|
89
|
+
"""
|
90
|
+
Members:
|
91
|
+
|
92
|
+
Undefined :
|
93
|
+
Undefined frame.
|
94
|
+
|
95
|
+
|
96
|
+
NED :
|
97
|
+
North-East-Down (NED) frame.
|
98
|
+
|
99
|
+
"""
|
100
|
+
NED: typing.ClassVar[Celestial.FrameType] # value = <FrameType.NED: 1>
|
101
|
+
Undefined: typing.ClassVar[Celestial.FrameType] # value = <FrameType.Undefined: 0>
|
102
|
+
__members__: typing.ClassVar[dict[str, Celestial.FrameType]] # value = {'Undefined': <FrameType.Undefined: 0>, 'NED': <FrameType.NED: 1>}
|
103
|
+
@staticmethod
|
104
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
105
|
+
...
|
106
|
+
def __eq__(self, other: typing.Any) -> bool:
|
107
|
+
...
|
108
|
+
def __getstate__(self) -> int:
|
109
|
+
...
|
110
|
+
def __hash__(self) -> int:
|
111
|
+
...
|
112
|
+
def __index__(self) -> int:
|
113
|
+
...
|
114
|
+
def __init__(self, value: int) -> None:
|
115
|
+
...
|
116
|
+
def __int__(self) -> int:
|
117
|
+
...
|
118
|
+
def __ne__(self, other: typing.Any) -> bool:
|
119
|
+
...
|
120
|
+
def __repr__(self) -> str:
|
121
|
+
...
|
122
|
+
def __setstate__(self, state: int) -> None:
|
123
|
+
...
|
124
|
+
def __str__(self) -> str:
|
125
|
+
...
|
126
|
+
@property
|
127
|
+
def name(self) -> str:
|
128
|
+
...
|
129
|
+
@property
|
130
|
+
def value(self) -> int:
|
131
|
+
...
|
132
|
+
@staticmethod
|
133
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
134
|
+
...
|
135
|
+
@staticmethod
|
136
|
+
def string_from_frame_type(frame_type: typing.Any) -> ostk.core.type.String:
|
137
|
+
"""
|
138
|
+
Get the string representation of a frame type.
|
139
|
+
|
140
|
+
Args:
|
141
|
+
frame_type (Celestial.FrameType): Frame type.
|
142
|
+
|
143
|
+
Returns:
|
144
|
+
str: String representation.
|
145
|
+
"""
|
146
|
+
@staticmethod
|
147
|
+
def undefined() -> Celestial:
|
148
|
+
"""
|
149
|
+
Create an undefined celestial object.
|
150
|
+
|
151
|
+
Returns:
|
152
|
+
Celestial: Undefined celestial object.
|
153
|
+
"""
|
154
|
+
@typing.overload
|
155
|
+
def __init__(self, name: ostk.core.type.String, type: typing.Any, gravitational_parameter: ostk.physics.unit.Derived, equatorial_radius: ostk.physics.unit.Length, flattening: ostk.core.type.Real, J2_parameter_value: ostk.core.type.Real, J4_parameter_value: ostk.core.type.Real, ephemeris: typing.Any, gravitational_model: typing.Any, magnetic_model: typing.Any, atmospheric_model: typing.Any) -> None:
|
156
|
+
"""
|
157
|
+
Constructor
|
158
|
+
|
159
|
+
Args:
|
160
|
+
name (str): Name.
|
161
|
+
type (CelestialType): Type.
|
162
|
+
gravitational_parameter (Derived): Gravitational parameter [m³/s²].
|
163
|
+
equatorial_radius (Length): Equatorial radius [m].
|
164
|
+
flattening (Real): Flattening.
|
165
|
+
J2_parameter_value (Real): J2 parameter value.
|
166
|
+
J4_parameter_value (Real): J4 parameter value.
|
167
|
+
ephemeris (Ephemeris): Ephemeris.
|
168
|
+
gravitational_model (GravitationalModel): Gravitational model.
|
169
|
+
magnetic_model (MagneticModel): Magnetic model.
|
170
|
+
atmospheric_model (AtmosphericModel): Atmospheric model.
|
171
|
+
"""
|
172
|
+
@typing.overload
|
173
|
+
def __init__(self, name: ostk.core.type.String, type: typing.Any, gravitational_parameter: ostk.physics.unit.Derived, equatorial_radius: ostk.physics.unit.Length, flattening: ostk.core.type.Real, J2_parameter_value: ostk.core.type.Real, J4_parameter_value: ostk.core.type.Real, ephemeris: typing.Any, gravitational_model: typing.Any, magnetic_model: typing.Any, atmospheric_model: typing.Any, geometry: Geometry) -> None:
|
174
|
+
"""
|
175
|
+
Constructor
|
176
|
+
|
177
|
+
Args:
|
178
|
+
name (str): Name.
|
179
|
+
type (CelestialType): Type.
|
180
|
+
gravitational_parameter (Derived): Gravitational parameter [m³/s²].
|
181
|
+
equatorial_radius (Length): Equatorial radius [m].
|
182
|
+
flattening (Real): Flattening.
|
183
|
+
J2_parameter_value (Real): J2 parameter value.
|
184
|
+
J4_parameter_value (Real): J4 parameter value.
|
185
|
+
ephemeris (Ephemeris): Ephemeris
|
186
|
+
gravitational_model (GravitationalModel): Gravitational model.
|
187
|
+
magnetic_model (MagneticModel): Magnetic model.
|
188
|
+
atmospheric_model (AtmosphericModel): Atmospheric model.
|
189
|
+
geometry (Object.Geometry): Geometry.
|
190
|
+
"""
|
191
|
+
def __repr__(self) -> str:
|
192
|
+
...
|
193
|
+
def __str__(self) -> str:
|
194
|
+
...
|
195
|
+
def access_atmospheric_model(self) -> ...:
|
196
|
+
"""
|
197
|
+
Access the atmospheric model.
|
198
|
+
|
199
|
+
Returns:
|
200
|
+
Atmospheric: Atmospheric model.
|
201
|
+
"""
|
202
|
+
def access_ephemeris(self) -> ...:
|
203
|
+
"""
|
204
|
+
Access the ephemeris.
|
205
|
+
|
206
|
+
Returns:
|
207
|
+
Ephemeris: Ephemeris.
|
208
|
+
"""
|
209
|
+
def access_gravitational_model(self) -> ...:
|
210
|
+
"""
|
211
|
+
Access the gravitational model.
|
212
|
+
|
213
|
+
Returns:
|
214
|
+
Gravitational: Gravitational model.
|
215
|
+
"""
|
216
|
+
def access_magnetic_model(self) -> ...:
|
217
|
+
"""
|
218
|
+
Access the magnetic model.
|
219
|
+
|
220
|
+
Returns:
|
221
|
+
Magnetic: Magnetic model.
|
222
|
+
"""
|
223
|
+
def atmospheric_model_is_defined(self) -> bool:
|
224
|
+
"""
|
225
|
+
Check if the atmospheric model is defined.
|
226
|
+
|
227
|
+
Returns:
|
228
|
+
bool: True if the atmospheric model is defined, false otherwise.
|
229
|
+
"""
|
230
|
+
def get_axes_in(self, frame: ostk.physics.coordinate.Frame, instant: ostk.physics.time.Instant) -> ostk.physics.coordinate.Axes:
|
231
|
+
"""
|
232
|
+
Get the axes of the celestial object in a given frame at a given instant.
|
233
|
+
|
234
|
+
Args:
|
235
|
+
frame (Frame): Frame.
|
236
|
+
instant (Instant): Instant.
|
237
|
+
|
238
|
+
Returns:
|
239
|
+
Axes: Axes.
|
240
|
+
"""
|
241
|
+
def get_equatorial_radius(self) -> ostk.physics.unit.Length:
|
242
|
+
"""
|
243
|
+
Get the equatorial radius of the celestial object.
|
244
|
+
|
245
|
+
Returns:
|
246
|
+
Length: Equatorial radius [m].
|
247
|
+
"""
|
248
|
+
def get_flattening(self) -> ostk.core.type.Real:
|
249
|
+
"""
|
250
|
+
Get the flattening of the celestial object.
|
251
|
+
|
252
|
+
Returns:
|
253
|
+
float: Flattening.
|
254
|
+
"""
|
255
|
+
def get_frame_at(self, lla: ostk.physics.coordinate.spherical.LLA, frame_type: typing.Any) -> ostk.physics.coordinate.Frame:
|
256
|
+
"""
|
257
|
+
Get the frame at a given LLA and frame type.
|
258
|
+
|
259
|
+
Args:
|
260
|
+
lla (LLA): LLA
|
261
|
+
frame_type (Celestial.FrameType): Frame type
|
262
|
+
|
263
|
+
Returns:
|
264
|
+
Frame: Frame.
|
265
|
+
"""
|
266
|
+
def get_gravitational_parameter(self) -> ostk.physics.unit.Derived:
|
267
|
+
"""
|
268
|
+
Get the gravitational parameter of the celestial object.
|
269
|
+
|
270
|
+
Returns:
|
271
|
+
Derived: Gravitational parameter [m³/s²].
|
272
|
+
"""
|
273
|
+
def get_j2(self) -> ostk.core.type.Real:
|
274
|
+
"""
|
275
|
+
Get the J2 parameter value of the celestial object.
|
276
|
+
|
277
|
+
Returns:
|
278
|
+
float: J2 parameter value.
|
279
|
+
"""
|
280
|
+
def get_j4(self) -> ostk.core.type.Real:
|
281
|
+
"""
|
282
|
+
Get the J4 parameter value of the celestial object.
|
283
|
+
|
284
|
+
Returns:
|
285
|
+
float: J4 parameter value.
|
286
|
+
"""
|
287
|
+
def get_position_in(self, frame: ostk.physics.coordinate.Frame, instant: ostk.physics.time.Instant) -> ostk.physics.coordinate.Position:
|
288
|
+
"""
|
289
|
+
Get the position of the celestial object in a given frame at a given instant.
|
290
|
+
|
291
|
+
Args:
|
292
|
+
frame (Frame): Frame.
|
293
|
+
instant (Instant): Instant.
|
294
|
+
|
295
|
+
Returns:
|
296
|
+
Position: Position.
|
297
|
+
"""
|
298
|
+
def get_transform_to(self, frame: ostk.physics.coordinate.Frame, instant: ostk.physics.time.Instant) -> ostk.physics.coordinate.Transform:
|
299
|
+
"""
|
300
|
+
Get the transform of the celestial object to a given frame at a given instant.
|
301
|
+
|
302
|
+
Args:
|
303
|
+
frame (Frame): Frame.
|
304
|
+
instant (Instant): Instant.
|
305
|
+
|
306
|
+
Returns:
|
307
|
+
Transform: Transform.
|
308
|
+
"""
|
309
|
+
def get_type(self) -> ...:
|
310
|
+
"""
|
311
|
+
Get the type of the celestial object.
|
312
|
+
|
313
|
+
Returns:
|
314
|
+
Celestial.Type: Type.
|
315
|
+
"""
|
316
|
+
def gravitational_model_is_defined(self) -> bool:
|
317
|
+
"""
|
318
|
+
Check if the gravitational model is defined.
|
319
|
+
|
320
|
+
Returns:
|
321
|
+
bool: True if the gravitational model is defined, false otherwise.
|
322
|
+
"""
|
323
|
+
def is_defined(self) -> bool:
|
324
|
+
"""
|
325
|
+
Check if the celestial object is defined.
|
326
|
+
|
327
|
+
Returns:
|
328
|
+
bool: True if the celestial object is defined, false otherwise.
|
329
|
+
"""
|
330
|
+
def magnetic_model_is_defined(self) -> bool:
|
331
|
+
"""
|
332
|
+
Check if the magnetic model is defined.
|
333
|
+
|
334
|
+
Returns:
|
335
|
+
bool: True if the magnetic model is defined, false otherwise.
|
336
|
+
"""
|
337
|
+
class Geometry:
|
338
|
+
"""
|
339
|
+
|
340
|
+
Geometry.
|
341
|
+
|
342
|
+
"""
|
343
|
+
__hash__: typing.ClassVar[None] = None
|
344
|
+
@staticmethod
|
345
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
346
|
+
...
|
347
|
+
@staticmethod
|
348
|
+
def undefined() -> Geometry:
|
349
|
+
"""
|
350
|
+
Constructs an undefined geometry.
|
351
|
+
|
352
|
+
Returns:
|
353
|
+
Geometry: Undefined geometry.
|
354
|
+
"""
|
355
|
+
def __eq__(self, arg0: Geometry) -> bool:
|
356
|
+
...
|
357
|
+
@typing.overload
|
358
|
+
def __init__(self, arg0: ostk.mathematics.geometry.d3.object.Composite, arg1: ostk.physics.coordinate.Frame) -> None:
|
359
|
+
...
|
360
|
+
@typing.overload
|
361
|
+
def __init__(self, arg0: ostk.mathematics.geometry.d3.Object, arg1: ostk.physics.coordinate.Frame) -> None:
|
362
|
+
...
|
363
|
+
def __ne__(self, arg0: Geometry) -> bool:
|
364
|
+
...
|
365
|
+
def __repr__(self) -> str:
|
366
|
+
...
|
367
|
+
def __str__(self) -> str:
|
368
|
+
...
|
369
|
+
def access_composite(self) -> ostk.mathematics.geometry.d3.object.Composite:
|
370
|
+
"""
|
371
|
+
Access composite.
|
372
|
+
|
373
|
+
Returns:
|
374
|
+
Composite: Composite.
|
375
|
+
"""
|
376
|
+
def access_frame(self) -> ostk.physics.coordinate.Frame:
|
377
|
+
"""
|
378
|
+
Access frame.
|
379
|
+
|
380
|
+
Returns:
|
381
|
+
Frame: Frame.
|
382
|
+
"""
|
383
|
+
def contains(self, arg0: Geometry) -> bool:
|
384
|
+
"""
|
385
|
+
Check if the geometry contains a point.
|
386
|
+
|
387
|
+
Args:
|
388
|
+
aPoint (Point): A point.
|
389
|
+
|
390
|
+
Returns:
|
391
|
+
bool: True if geometry contains point.
|
392
|
+
"""
|
393
|
+
def in_frame(self, arg0: ostk.physics.coordinate.Frame, arg1: ostk.physics.time.Instant) -> Geometry:
|
394
|
+
"""
|
395
|
+
Get geometry expressed in a given frame.
|
396
|
+
|
397
|
+
Args:
|
398
|
+
aFrame (Frame): Frame.
|
399
|
+
anInstant (Instant): An instant.
|
400
|
+
|
401
|
+
Returns:
|
402
|
+
Geometry: Geometry expressed in a given frame.
|
403
|
+
"""
|
404
|
+
def intersection_with(self, arg0: Geometry) -> Geometry:
|
405
|
+
"""
|
406
|
+
Compute intersection of geometry with another geometry.
|
407
|
+
|
408
|
+
Args:
|
409
|
+
aGeometry (Geometry): Another geometry.
|
410
|
+
|
411
|
+
Returns:
|
412
|
+
Geometry: Intersection of geometry with another geometry.
|
413
|
+
"""
|
414
|
+
def intersects(self, arg0: Geometry) -> bool:
|
415
|
+
"""
|
416
|
+
Check if the geometry intersects with another geometry.
|
417
|
+
|
418
|
+
Args:
|
419
|
+
aGeometry (Geometry): Another geometry.
|
420
|
+
|
421
|
+
Returns:
|
422
|
+
bool: True if geometries intersect.
|
423
|
+
"""
|
424
|
+
def is_defined(self) -> bool:
|
425
|
+
"""
|
426
|
+
Check if the geometry is defined.
|
427
|
+
|
428
|
+
Returns:
|
429
|
+
bool: True if defined.
|
430
|
+
"""
|