open-space-toolkit-physics 11.2.1__py310-none-manylinux2014_x86_64.whl → 12.0.0__py310-none-manylinux2014_x86_64.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-310-x86_64-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.11 → 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
- {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,181 @@
|
|
1
|
+
from __future__ import annotations
|
2
|
+
import ostk.core.type
|
3
|
+
import ostk.physics.coordinate
|
4
|
+
import ostk.physics.coordinate.spherical
|
5
|
+
import ostk.physics.environment.object
|
6
|
+
import ostk.physics.time
|
7
|
+
import ostk.physics.unit
|
8
|
+
import typing
|
9
|
+
from . import earth
|
10
|
+
__all__ = ['Earth', 'earth']
|
11
|
+
class Earth:
|
12
|
+
"""
|
13
|
+
|
14
|
+
Earth atmospheric model.
|
15
|
+
|
16
|
+
|
17
|
+
"""
|
18
|
+
class InputDataType:
|
19
|
+
"""
|
20
|
+
Members:
|
21
|
+
|
22
|
+
Undefined :
|
23
|
+
Undefined.
|
24
|
+
|
25
|
+
|
26
|
+
ConstantFluxAndGeoMag :
|
27
|
+
Use constant values for F10.7, F10.7a and Kp NRLMSISE00 input parameters.
|
28
|
+
|
29
|
+
|
30
|
+
CSSISpaceWeatherFile :
|
31
|
+
Use historical and predicted values for F10.7, F10.7a and Kp NRLMSISE00 input parameters from CSSI.
|
32
|
+
|
33
|
+
"""
|
34
|
+
CSSISpaceWeatherFile: typing.ClassVar[Earth.InputDataType] # value = <InputDataType.CSSISpaceWeatherFile: 2>
|
35
|
+
ConstantFluxAndGeoMag: typing.ClassVar[Earth.InputDataType] # value = <InputDataType.ConstantFluxAndGeoMag: 1>
|
36
|
+
Undefined: typing.ClassVar[Earth.InputDataType] # value = <InputDataType.Undefined: 0>
|
37
|
+
__members__: typing.ClassVar[dict[str, Earth.InputDataType]] # value = {'Undefined': <InputDataType.Undefined: 0>, 'ConstantFluxAndGeoMag': <InputDataType.ConstantFluxAndGeoMag: 1>, 'CSSISpaceWeatherFile': <InputDataType.CSSISpaceWeatherFile: 2>}
|
38
|
+
@staticmethod
|
39
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
40
|
+
...
|
41
|
+
def __eq__(self, other: typing.Any) -> bool:
|
42
|
+
...
|
43
|
+
def __getstate__(self) -> int:
|
44
|
+
...
|
45
|
+
def __hash__(self) -> int:
|
46
|
+
...
|
47
|
+
def __index__(self) -> int:
|
48
|
+
...
|
49
|
+
def __init__(self, value: int) -> None:
|
50
|
+
...
|
51
|
+
def __int__(self) -> int:
|
52
|
+
...
|
53
|
+
def __ne__(self, other: typing.Any) -> bool:
|
54
|
+
...
|
55
|
+
def __repr__(self) -> str:
|
56
|
+
...
|
57
|
+
def __setstate__(self, state: int) -> None:
|
58
|
+
...
|
59
|
+
def __str__(self) -> str:
|
60
|
+
...
|
61
|
+
@property
|
62
|
+
def name(self) -> str:
|
63
|
+
...
|
64
|
+
@property
|
65
|
+
def value(self) -> int:
|
66
|
+
...
|
67
|
+
class Type:
|
68
|
+
"""
|
69
|
+
Members:
|
70
|
+
|
71
|
+
Undefined :
|
72
|
+
Undefined.
|
73
|
+
|
74
|
+
|
75
|
+
Exponential :
|
76
|
+
Exponential atmospheric density model, valid up to 1000 km.
|
77
|
+
|
78
|
+
|
79
|
+
NRLMSISE00 :
|
80
|
+
Navy Research Lab Mass Spectrometer and Incoherent Scatter Radar Exosphere 2000.
|
81
|
+
|
82
|
+
"""
|
83
|
+
Exponential: typing.ClassVar[Earth.Type] # value = <Type.Exponential: 1>
|
84
|
+
NRLMSISE00: typing.ClassVar[Earth.Type] # value = <Type.NRLMSISE00: 2>
|
85
|
+
Undefined: typing.ClassVar[Earth.Type] # value = <Type.Undefined: 0>
|
86
|
+
__members__: typing.ClassVar[dict[str, Earth.Type]] # value = {'Undefined': <Type.Undefined: 0>, 'Exponential': <Type.Exponential: 1>, 'NRLMSISE00': <Type.NRLMSISE00: 2>}
|
87
|
+
@staticmethod
|
88
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
89
|
+
...
|
90
|
+
def __eq__(self, other: typing.Any) -> bool:
|
91
|
+
...
|
92
|
+
def __getstate__(self) -> int:
|
93
|
+
...
|
94
|
+
def __hash__(self) -> int:
|
95
|
+
...
|
96
|
+
def __index__(self) -> int:
|
97
|
+
...
|
98
|
+
def __init__(self, value: int) -> None:
|
99
|
+
...
|
100
|
+
def __int__(self) -> int:
|
101
|
+
...
|
102
|
+
def __ne__(self, other: typing.Any) -> bool:
|
103
|
+
...
|
104
|
+
def __repr__(self) -> str:
|
105
|
+
...
|
106
|
+
def __setstate__(self, state: int) -> None:
|
107
|
+
...
|
108
|
+
def __str__(self) -> str:
|
109
|
+
...
|
110
|
+
@property
|
111
|
+
def name(self) -> str:
|
112
|
+
...
|
113
|
+
@property
|
114
|
+
def value(self) -> int:
|
115
|
+
...
|
116
|
+
@staticmethod
|
117
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
118
|
+
...
|
119
|
+
def __init__(self, type: Earth.Type, input_data_type: Earth.InputDataType = ..., f107_constant_value: ostk.core.type.Real = 150.0, f107_average_constant_value: ostk.core.type.Real = 150.0, kp_constant_value: ostk.core.type.Real = 3.0, earth_frame: ostk.physics.coordinate.Frame = ..., earth_radius: ostk.physics.unit.Length = ..., earth_flattening: ostk.core.type.Real = ..., sun_celestial: ostk.physics.environment.object.Celestial = None) -> None:
|
120
|
+
"""
|
121
|
+
Constructor.
|
122
|
+
|
123
|
+
Args:
|
124
|
+
type (Earth.Type): Earth atmospheric model type.
|
125
|
+
input_data_type (Earth.InputDataType): Earth atmospheric model input data type.
|
126
|
+
f107_constant_value (Real): F10.7 constant value.
|
127
|
+
f107_average_constant_value (Real): F10.7a constant value.
|
128
|
+
kp_constant_value (Real): Kp constant value.
|
129
|
+
earth_frame (Frame): Earth frame.
|
130
|
+
earth_radius (Length): Earth radius [m].
|
131
|
+
earth_flattening (Real): Earth flattening.
|
132
|
+
sun_celestial (Celestial): Sun celestial object.
|
133
|
+
|
134
|
+
Returns:
|
135
|
+
Earth: Earth atmospheric model.
|
136
|
+
"""
|
137
|
+
@typing.overload
|
138
|
+
def get_density_at(self, position: ostk.physics.coordinate.Position, instant: ostk.physics.time.Instant) -> ostk.core.type.Real:
|
139
|
+
"""
|
140
|
+
Get the atmospheric density value at a given position and instant.
|
141
|
+
|
142
|
+
Args:
|
143
|
+
position (Position): A position.
|
144
|
+
instant (Instant): An instant.
|
145
|
+
|
146
|
+
Returns:
|
147
|
+
float: Atmospheric density value [kg.m^-3].
|
148
|
+
"""
|
149
|
+
@typing.overload
|
150
|
+
def get_density_at(self, lla: ostk.physics.coordinate.spherical.LLA, instant: ostk.physics.time.Instant) -> ostk.core.type.Real:
|
151
|
+
"""
|
152
|
+
Get the atmospheric density value at a given position and instant.
|
153
|
+
|
154
|
+
Args:
|
155
|
+
lla (LLA): A position, expressed as latitude, longitude, altitude [deg, deg, m].
|
156
|
+
instant (Instant): An instant.
|
157
|
+
|
158
|
+
Returns:
|
159
|
+
float: Atmospheric density value [kg.m^-3].
|
160
|
+
"""
|
161
|
+
def get_input_data_type(self) -> Earth.InputDataType:
|
162
|
+
"""
|
163
|
+
Get the Earth atmospheric model input data type.
|
164
|
+
|
165
|
+
Returns:
|
166
|
+
Earth.InputDataType: Earth atmospheric model input data type.
|
167
|
+
"""
|
168
|
+
def get_type(self) -> Earth.Type:
|
169
|
+
"""
|
170
|
+
Get the Earth atmospheric model type.
|
171
|
+
|
172
|
+
Returns:
|
173
|
+
Earth.Type: Earth atmospheric model type.
|
174
|
+
"""
|
175
|
+
def is_defined(self) -> bool:
|
176
|
+
"""
|
177
|
+
Check if the Earth atmospheric model is defined.
|
178
|
+
|
179
|
+
Returns:
|
180
|
+
bool: True if defined.
|
181
|
+
"""
|