open-space-toolkit-physics 11.2.1__py311-none-manylinux2014_x86_64.whl → 12.0.0__py311-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-311-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
{open_space_toolkit_physics-11.2.1.dist-info → open_space_toolkit_physics-12.0.0.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: open-space-toolkit-physics
|
3
|
-
Version:
|
3
|
+
Version: 12.0.0
|
4
4
|
Summary: Physical units, time, reference frames, environment modeling.
|
5
5
|
Author: Open Space Collective
|
6
6
|
Author-email: contact@open-space-collective.org
|
@@ -11,7 +11,7 @@ Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: License :: OSI Approved :: Apache Software License
|
12
12
|
Classifier: Operating System :: POSIX :: Linux
|
13
13
|
Description-Content-Type: text/markdown
|
14
|
-
Requires-Dist: open-space-toolkit-core~=
|
14
|
+
Requires-Dist: open-space-toolkit-core~=5.0
|
15
15
|
Requires-Dist: open-space-toolkit-io~=4.0
|
16
16
|
Requires-Dist: open-space-toolkit-mathematics~=4.3
|
17
17
|
|
{open_space_toolkit_physics-11.2.1.dist-info → open_space_toolkit_physics-12.0.0.dist-info}/RECORD
RENAMED
@@ -1,28 +1,50 @@
|
|
1
1
|
ostk/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
2
|
-
ostk/physics/OpenSpaceToolkitPhysicsPy.cpython-311-x86_64-linux-gnu.so,sha256=
|
2
|
+
ostk/physics/OpenSpaceToolkitPhysicsPy.cpython-311-x86_64-linux-gnu.so,sha256=QUNVTgucFMyf8QRO0N46VrS9twtL3qRS4ZPPFjMlg8E,2209600
|
3
3
|
ostk/physics/__init__.py,sha256=O3L1kW3UL7dnO9T3XwRgXykNPUKtQ-SgewrHBiVR-ZM,117
|
4
|
-
ostk/physics/
|
4
|
+
ostk/physics/__init__.pyi,sha256=pETt6r1QsUi6bFAOjI3Xw-WdGXWhSPpcP6bJWNpceWM,17112
|
5
|
+
ostk/physics/libopen-space-toolkit-physics.so.12,sha256=ql_SiNQo2-0D5-OwBnHeXEc9d2aM7_LSjLcgeHHvqzM,97159904
|
6
|
+
ostk/physics/time.pyi,sha256=nzqTGrTFgGMYwPCOscDHIyK8E6qpFx4jwU_i_3zBztM,57006
|
7
|
+
ostk/physics/unit.pyi,sha256=xfqVBCLyjX8lMM3yYHordNLVPSxFcnmnmzsvS_r9Mls,51265
|
8
|
+
ostk/physics/coordinate/__init__.pyi,sha256=fsBhcHumQGjqbAGH3MIRzTHYjZhziNd0zkH6A7tc-Gg,33486
|
9
|
+
ostk/physics/coordinate/spherical.pyi,sha256=0cAlGm0ZWKg7EKHkQG4QoAJWNgh07ZNZPf78kmBzGcw,18369
|
10
|
+
ostk/physics/coordinate/frame/__init__.pyi,sha256=kkNKeR5ENK6HrerZcP_cB2J5-Tmkl0V5-FwoCHKJAjA,841
|
11
|
+
ostk/physics/coordinate/frame/provider/__init__.pyi,sha256=6Kyr7xdmRc49QNBy-e0GvjDeFDe_NrfrMdF2wuhQpr4,2191
|
12
|
+
ostk/physics/coordinate/frame/provider/iau.pyi,sha256=-0bGS4MOn-S8z5JQLvZ13oTaKPUgF_Yts9F1f5wH7Tc,2027
|
13
|
+
ostk/physics/coordinate/frame/provider/iers.pyi,sha256=JIMh1yB3sWweR5pA-5NPT48G_lmVp8xNpTgMG9YcooU,19802
|
14
|
+
ostk/physics/data/__init__.pyi,sha256=66HBkqik_STnbY-3y3oaMElRpVLSjKo-eY8ullkVr7U,15076
|
15
|
+
ostk/physics/data/provider.pyi,sha256=W2u2i1A42X7oZOSmyf1ZIsE_FMjGcIi3M-G8Jwy3Nis,815
|
16
|
+
ostk/physics/environment/__init__.pyi,sha256=on-2tIjUlGgvHhgsyVNrwnRyQlrcPAGC2T1yZ9MNAZI,4317
|
17
|
+
ostk/physics/environment/atmospheric/__init__.pyi,sha256=4-5qv0zBEWrB37Ml2BXMtQEkea9Tjmn3jH_JjfXVWu0,7391
|
18
|
+
ostk/physics/environment/atmospheric/earth.pyi,sha256=t6Ly-u5D5u_j0KKJy-UuYnV1fmXtVMRs8LG1pAFHgSk,21817
|
19
|
+
ostk/physics/environment/gravitational/__init__.pyi,sha256=Zt-RjYpSpJKsWTK1mqucjlCu1H4RA4f_01VqXnAdKU0,21502
|
20
|
+
ostk/physics/environment/gravitational/earth.pyi,sha256=eoxaTdSNtrUy5PuJBzqynZ6iMqh4_VdSrUPpUKa5RYU,2213
|
21
|
+
ostk/physics/environment/magnetic/__init__.pyi,sha256=hg3hyRygZs72s31PQ0pTVv0qqlQ8g5BGSLz3L0Dwego,6841
|
22
|
+
ostk/physics/environment/magnetic/earth.pyi,sha256=JVjk8chAblGAaMiD5hIVeeNP0fZgOQ30AqVYRZNKk0Y,2132
|
23
|
+
ostk/physics/environment/object/__init__.pyi,sha256=tpi4xTAlNBmvtEoVDIi3JYMY4kkoFJmw6lxjb4L39CE,16408
|
24
|
+
ostk/physics/environment/object/celestial/__init__.pyi,sha256=WJfYad159oW7a0CN2CK8vXmx4iUJzReFhUWeII51cvA,9254
|
25
|
+
ostk/physics/environment/object/celestial/moon.pyi,sha256=cat2bt1Bu2J35nyVtKUE3z1AaYI1CKyPG99AdFUd9Qs,52
|
26
|
+
ostk/physics/environment/object/celestial/sun.pyi,sha256=cat2bt1Bu2J35nyVtKUE3z1AaYI1CKyPG99AdFUd9Qs,52
|
5
27
|
ostk/physics/test/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
6
28
|
ostk/physics/test/test_environment.py,sha256=WLei8CIW5FcZiYm6Mk5tvFPbjmdiqmLD2uQD8NDzSrc,3117
|
7
29
|
ostk/physics/test/test_import.py,sha256=H_Rng2hFq1ex0KfxQGeZXja1U0VY6SR548NHtYgVZn0,740
|
8
30
|
ostk/physics/test/coordinate/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
9
31
|
ostk/physics/test/coordinate/test_axes.py,sha256=OK4S3UM6v0MCWV_6JGilQW7xI1Jm__uBbJQeew0I6MQ,3041
|
10
32
|
ostk/physics/test/coordinate/test_frame.py,sha256=ibPm7-Q9lPSxsT-vy32CFDOzcMMQUsfv5iDq2KqWPB0,3192
|
11
|
-
ostk/physics/test/coordinate/test_position.py,sha256=
|
33
|
+
ostk/physics/test/coordinate/test_position.py,sha256=dxKIfoOnjeJyjp0jDHi-j-2xPvF3vNHhVe0kuXiXWR8,6056
|
12
34
|
ostk/physics/test/coordinate/test_transform.py,sha256=W7zWpoVfmHfyET4FFkfqPJnfhVfZWoKPq2UsYD_jaXw,8518
|
13
35
|
ostk/physics/test/coordinate/test_velocity.py,sha256=hro6hy0xSB-9ENmPraEMnr5Vlnx7GF8eSxfxmUAar_4,4842
|
14
36
|
ostk/physics/test/coordinate/frame/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
15
37
|
ostk/physics/test/coordinate/frame/provider/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
16
38
|
ostk/physics/test/coordinate/frame/provider/iers/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
17
|
-
ostk/physics/test/coordinate/frame/provider/iers/conftest.py,sha256=
|
18
|
-
ostk/physics/test/coordinate/frame/provider/iers/test_bulletin_a.py,sha256=
|
19
|
-
ostk/physics/test/coordinate/frame/provider/iers/test_finals_2000a.py,sha256=
|
39
|
+
ostk/physics/test/coordinate/frame/provider/iers/conftest.py,sha256=aPIeik5RaNWgWkSI7sQw_DvoEM2Eukc6kBJhsC6986A,905
|
40
|
+
ostk/physics/test/coordinate/frame/provider/iers/test_bulletin_a.py,sha256=6ntbXg09a6uORgqUCAw-UfjXr5FSNXUEJ7j1_Wr6br8,4183
|
41
|
+
ostk/physics/test/coordinate/frame/provider/iers/test_finals_2000a.py,sha256=B8MFZcAm5jQVPInHYzDOa8or-TXX33ZJxjb3DekvpMY,3294
|
20
42
|
ostk/physics/test/coordinate/frame/provider/iers/test_manager.py,sha256=p8Gs2EUxtWkNZN7x7SUOE6sg2WJTNme8htIALhPbyIA,6943
|
21
43
|
ostk/physics/test/coordinate/frame/provider/iers/data/finals2000A.data,sha256=idUrST8kLIJgf1H5X4iMXRTc9bwYciYwmR3FvoaRQMU,2059164
|
22
44
|
ostk/physics/test/coordinate/frame/provider/iers/data/ser7.dat,sha256=ag0H9n7mwSHB3zQaZb2lJgVewiwgTQ9a42f-kLib1WU,38546
|
23
45
|
ostk/physics/test/coordinate/spherical/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
24
46
|
ostk/physics/test/coordinate/spherical/test_aer.py,sha256=RGlUJi_m31lc0UAu-ZQncD3C7zq0BJD7QmkG5ukmj9w,3560
|
25
|
-
ostk/physics/test/coordinate/spherical/test_lla.py,sha256=
|
47
|
+
ostk/physics/test/coordinate/spherical/test_lla.py,sha256=Gc6xMLWD-lP_wQXyEAwk1kAG6hsvm3WnPMalJ2eviQY,15081
|
26
48
|
ostk/physics/test/data/conftest.py,sha256=DAN2dRtT41VR18F5avW008gMivabF_OZCgS8rRFXfDY,653
|
27
49
|
ostk/physics/test/data/test_direction.py,sha256=lyyclhXUzVovLFL3e0I3tQlWcrcqjt0ONVxjlLlFzEw,814
|
28
50
|
ostk/physics/test/data/test_manifest.py,sha256=pYC-ikeKPMJaOe79ET3kRLQWAWXajHUpB2sBuSvZZXg,1548
|
@@ -36,7 +58,7 @@ ostk/physics/test/environment/atmospheric/__init__.py,sha256=epnVn2PwdQkUDZ1msqB
|
|
36
58
|
ostk/physics/test/environment/atmospheric/test_earth.py,sha256=C0GMYD3-Q-CNWmLlBI8nWbX2gjx6jNQCtewqU7hVtPI,5536
|
37
59
|
ostk/physics/test/environment/atmospheric/earth/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
38
60
|
ostk/physics/test/environment/atmospheric/earth/conftest.py,sha256=2Ebi0ucBYlcL5PssrWU0cDc7F7ZCac1s-br8VUo-4j0,1764
|
39
|
-
ostk/physics/test/environment/atmospheric/earth/test_cssi_space_weather.py,sha256=
|
61
|
+
ostk/physics/test/environment/atmospheric/earth/test_cssi_space_weather.py,sha256=izJvqaXoPwzkvw0DaiKctV2wAxG-5o7fMXszoLuT38o,5022
|
40
62
|
ostk/physics/test/environment/atmospheric/earth/test_exponential.py,sha256=8nwVsseHmg5yIkwPjeuWEj3HmNEOhiWg-eHJ-eQimNg,1166
|
41
63
|
ostk/physics/test/environment/atmospheric/earth/test_manager.py,sha256=MOmS6_Ob5vXhISNPbRbKFd_WQYREFeNdBTS1gPBQPeY,6242
|
42
64
|
ostk/physics/test/environment/atmospheric/earth/test_nrlmsise00.py,sha256=h3MB-ex0yPLsvIBrGNmnGqlnTroCju7uPDDyDiwLZG8,1164
|
@@ -74,8 +96,8 @@ ostk/physics/test/unit/test_mass.py,sha256=AAgQK9i8fCadGoEMwKnwK7qz6_VroDVqqVYyV
|
|
74
96
|
ostk/physics/test/unit/test_time.py,sha256=XsyEm3f-zTMnYkZOOu5tABpIZaV0fd91S64WeYDSoqc,2124
|
75
97
|
ostk/physics/test/unit/derived/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
76
98
|
ostk/physics/test/unit/derived/test_angle.py,sha256=8NqMsESDO3LHe_OAzylNtiVuOJKDAE7lXBZinNk4It0,12016
|
77
|
-
open_space_toolkit_physics-
|
78
|
-
open_space_toolkit_physics-
|
79
|
-
open_space_toolkit_physics-
|
80
|
-
open_space_toolkit_physics-
|
81
|
-
open_space_toolkit_physics-
|
99
|
+
open_space_toolkit_physics-12.0.0.dist-info/METADATA,sha256=beSGMqfzRmX6DlWtrlEvGNtAACYnLts92X41pLeOvQw,1861
|
100
|
+
open_space_toolkit_physics-12.0.0.dist-info/WHEEL,sha256=7hYDLzK_NL-1RBbWN_Z_3zqr4kqTWLPDGdXB6v2OgKI,110
|
101
|
+
open_space_toolkit_physics-12.0.0.dist-info/top_level.txt,sha256=zOR18699uDYnafgarhL8WU_LmTZY_5NVqutv-flp_x4,5
|
102
|
+
open_space_toolkit_physics-12.0.0.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
103
|
+
open_space_toolkit_physics-12.0.0.dist-info/RECORD,,
|
Binary file
|
@@ -0,0 +1,488 @@
|
|
1
|
+
from __future__ import annotations
|
2
|
+
from ostk import core as OpenSpaceToolkitCorePy
|
3
|
+
from ostk.core import container
|
4
|
+
from ostk.core import filesystem
|
5
|
+
import ostk.core.filesystem
|
6
|
+
import ostk.core.type
|
7
|
+
from ostk.core import type
|
8
|
+
from ostk import io as OpenSpaceToolkitIOPy
|
9
|
+
from ostk.io import URL
|
10
|
+
from ostk.io import ip
|
11
|
+
from ostk import mathematics as OpenSpaceToolkitMathematicsPy
|
12
|
+
from ostk.mathematics import curve_fitting
|
13
|
+
from ostk.mathematics import geometry
|
14
|
+
from ostk.mathematics import object
|
15
|
+
from ostk.mathematics import solver
|
16
|
+
from ostk import physics as OpenSpaceToolkitPhysicsPy
|
17
|
+
import typing
|
18
|
+
from . import coordinate
|
19
|
+
from . import data
|
20
|
+
from . import environment
|
21
|
+
from . import time
|
22
|
+
from . import unit
|
23
|
+
__all__ = ['Environment', 'Manager', 'OpenSpaceToolkitCorePy', 'OpenSpaceToolkitIOPy', 'OpenSpaceToolkitMathematicsPy', 'OpenSpaceToolkitPhysicsPy', 'URL', 'Unit', 'container', 'coordinate', 'curve_fitting', 'data', 'environment', 'filesystem', 'geometry', 'ip', 'object', 'solver', 'time', 'type', 'unit']
|
24
|
+
class Environment:
|
25
|
+
"""
|
26
|
+
|
27
|
+
Environment modelling
|
28
|
+
|
29
|
+
"""
|
30
|
+
@staticmethod
|
31
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
32
|
+
...
|
33
|
+
@staticmethod
|
34
|
+
def access_global_instance() -> Environment:
|
35
|
+
"""
|
36
|
+
Access the global environment instance.
|
37
|
+
|
38
|
+
Returns:
|
39
|
+
Environment: The global environment instance.
|
40
|
+
"""
|
41
|
+
@staticmethod
|
42
|
+
def default(set_global_instance: bool = False) -> Environment:
|
43
|
+
"""
|
44
|
+
Get the default Environment object.
|
45
|
+
|
46
|
+
Args:
|
47
|
+
(set_global_instance): True if the global environment instance should be set.
|
48
|
+
|
49
|
+
Returns:
|
50
|
+
Environment: The default Environment object.
|
51
|
+
"""
|
52
|
+
@staticmethod
|
53
|
+
def has_global_instance() -> bool:
|
54
|
+
"""
|
55
|
+
Check if the global environment instance is set.
|
56
|
+
|
57
|
+
Returns:
|
58
|
+
bool: True if the global environment instance is set, False otherwise.
|
59
|
+
"""
|
60
|
+
@staticmethod
|
61
|
+
def reset_global_instance() -> None:
|
62
|
+
"""
|
63
|
+
Reset the global environment instance.
|
64
|
+
"""
|
65
|
+
@staticmethod
|
66
|
+
def undefined() -> Environment:
|
67
|
+
"""
|
68
|
+
Get an undefined Environment object.
|
69
|
+
|
70
|
+
Returns:
|
71
|
+
Environment: An undefined Environment object.
|
72
|
+
"""
|
73
|
+
@typing.overload
|
74
|
+
def __init__(self, instant: time.Instant, objects: list[...], set_global_instance: bool = False) -> None:
|
75
|
+
"""
|
76
|
+
Constructor
|
77
|
+
|
78
|
+
Args:
|
79
|
+
instant (Instant): An Instant.
|
80
|
+
objects (list[Object]): List of objects.
|
81
|
+
set_global_instance (bool, optional): True if the global environment instance should be set. Defaults to False.
|
82
|
+
"""
|
83
|
+
@typing.overload
|
84
|
+
def __init__(self, central_celestial_object: typing.Any, objects: list[...], instant: time.Instant = ..., set_global_instance: bool = False) -> None:
|
85
|
+
"""
|
86
|
+
Constructor
|
87
|
+
|
88
|
+
Args:
|
89
|
+
central_celestial_object (Object): A central celestial object.
|
90
|
+
objects (list[Object]): List of objects.
|
91
|
+
instant (Instant, optional): An Instant. Default is J2000 epoch.
|
92
|
+
set_global_instance (bool, optional): True if the global environment instance should be set. Defaults to False.
|
93
|
+
"""
|
94
|
+
def __repr__(self) -> str:
|
95
|
+
...
|
96
|
+
def __str__(self) -> str:
|
97
|
+
...
|
98
|
+
def access_celestial_object_with_name(self, name: ostk.core.type.String) -> ...:
|
99
|
+
"""
|
100
|
+
Access celestial object with a given name.
|
101
|
+
|
102
|
+
Args:
|
103
|
+
name (str): The name of the celestial object.
|
104
|
+
|
105
|
+
Returns:
|
106
|
+
Celestial: The celestial object with the given name.
|
107
|
+
"""
|
108
|
+
def access_central_celestial_object(self) -> ...:
|
109
|
+
"""
|
110
|
+
Access the central celestial object.
|
111
|
+
|
112
|
+
Returns:
|
113
|
+
Celestial: The central celestial object.
|
114
|
+
"""
|
115
|
+
def access_object_with_name(self, name: ostk.core.type.String) -> ...:
|
116
|
+
"""
|
117
|
+
Access an object with a given name.
|
118
|
+
|
119
|
+
Args:
|
120
|
+
name (str): An object name.
|
121
|
+
|
122
|
+
Returns:
|
123
|
+
Object: The object with the given name.
|
124
|
+
"""
|
125
|
+
def access_objects(self) -> list[...]:
|
126
|
+
"""
|
127
|
+
Access the objects in the environment.
|
128
|
+
|
129
|
+
Returns:
|
130
|
+
list(Object): The list of objects.
|
131
|
+
"""
|
132
|
+
def get_instant(self) -> time.Instant:
|
133
|
+
"""
|
134
|
+
Get instant.
|
135
|
+
|
136
|
+
Returns:
|
137
|
+
Instant: The instant.
|
138
|
+
"""
|
139
|
+
def get_object_names(self) -> list[ostk.core.type.String]:
|
140
|
+
"""
|
141
|
+
Get names of objects.
|
142
|
+
|
143
|
+
Returns:
|
144
|
+
list(str): List of objects names.
|
145
|
+
"""
|
146
|
+
def has_central_celestial_object(self) -> bool:
|
147
|
+
"""
|
148
|
+
Returns true if the environment has a central celestial object.
|
149
|
+
|
150
|
+
Returns:
|
151
|
+
bool: True if the environment has a central celestial object, False otherwise.
|
152
|
+
"""
|
153
|
+
def has_object_with_name(self, name: ostk.core.type.String) -> bool:
|
154
|
+
"""
|
155
|
+
Returns true if environment contains objects with a given name.
|
156
|
+
|
157
|
+
Args:
|
158
|
+
name (str): The name of the object.
|
159
|
+
|
160
|
+
Returns:
|
161
|
+
bool: True if environment contains objects with a given name, False otherwise.
|
162
|
+
"""
|
163
|
+
def intersects(self, geometry: typing.Any, objects_to_ignore: list[...] = []) -> bool:
|
164
|
+
"""
|
165
|
+
Returns true if a given geometry intersects any of the environment objects.
|
166
|
+
|
167
|
+
Args:
|
168
|
+
geometry (Geometry): The geometry to check for intersection.
|
169
|
+
objects_to_ignore (list[Object], optional): List of objects to ignore during intersection check.
|
170
|
+
|
171
|
+
Returns:
|
172
|
+
bool: True if the geometry intersects with any objects, False otherwise.
|
173
|
+
"""
|
174
|
+
def is_defined(self) -> bool:
|
175
|
+
"""
|
176
|
+
Check if the environment is defined,
|
177
|
+
|
178
|
+
Returns:
|
179
|
+
bool: True if the environment is defined, False otherwise,
|
180
|
+
"""
|
181
|
+
def is_position_in_eclipse(self, position: coordinate.Position) -> bool:
|
182
|
+
"""
|
183
|
+
Is position in eclipse.
|
184
|
+
|
185
|
+
Args:
|
186
|
+
position (Position): A position.
|
187
|
+
|
188
|
+
Returns:
|
189
|
+
bool: True if the position is in eclipse, False otherwise.
|
190
|
+
"""
|
191
|
+
def set_instant(self, instant: time.Instant) -> None:
|
192
|
+
"""
|
193
|
+
Set the instant of the environment.
|
194
|
+
|
195
|
+
Args:
|
196
|
+
instant (Instant): The new instant of the environment.
|
197
|
+
"""
|
198
|
+
class Manager:
|
199
|
+
"""
|
200
|
+
|
201
|
+
Manager
|
202
|
+
|
203
|
+
Abstract base class for managing physics-related resources.
|
204
|
+
|
205
|
+
This class serves as the foundation for specialized managers like
|
206
|
+
IERS, Data, Atmospheric, Gravitational, and Magnetic managers.
|
207
|
+
It provides common functionality for mode management and local
|
208
|
+
repository handling.
|
209
|
+
|
210
|
+
"""
|
211
|
+
class Mode:
|
212
|
+
"""
|
213
|
+
Members:
|
214
|
+
|
215
|
+
Manual
|
216
|
+
|
217
|
+
Automatic
|
218
|
+
"""
|
219
|
+
Automatic: typing.ClassVar[Manager.Mode] # value = <Mode.Automatic: 1>
|
220
|
+
Manual: typing.ClassVar[Manager.Mode] # value = <Mode.Manual: 0>
|
221
|
+
__members__: typing.ClassVar[dict[str, Manager.Mode]] # value = {'Manual': <Mode.Manual: 0>, 'Automatic': <Mode.Automatic: 1>}
|
222
|
+
@staticmethod
|
223
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
224
|
+
...
|
225
|
+
def __eq__(self, other: typing.Any) -> bool:
|
226
|
+
...
|
227
|
+
def __getstate__(self) -> int:
|
228
|
+
...
|
229
|
+
def __hash__(self) -> int:
|
230
|
+
...
|
231
|
+
def __index__(self) -> int:
|
232
|
+
...
|
233
|
+
def __init__(self, value: int) -> None:
|
234
|
+
...
|
235
|
+
def __int__(self) -> int:
|
236
|
+
...
|
237
|
+
def __ne__(self, other: typing.Any) -> bool:
|
238
|
+
...
|
239
|
+
def __repr__(self) -> str:
|
240
|
+
...
|
241
|
+
def __setstate__(self, state: int) -> None:
|
242
|
+
...
|
243
|
+
def __str__(self) -> str:
|
244
|
+
...
|
245
|
+
@property
|
246
|
+
def name(self) -> str:
|
247
|
+
...
|
248
|
+
@property
|
249
|
+
def value(self) -> int:
|
250
|
+
...
|
251
|
+
@staticmethod
|
252
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
253
|
+
...
|
254
|
+
def clear_local_repository(self) -> None:
|
255
|
+
"""
|
256
|
+
Clear the local repository.
|
257
|
+
"""
|
258
|
+
def get_local_repository(self) -> ostk.core.filesystem.Directory:
|
259
|
+
"""
|
260
|
+
Get the local repository.
|
261
|
+
|
262
|
+
Returns:
|
263
|
+
Directory: Local repository.
|
264
|
+
"""
|
265
|
+
def get_local_repository_lock_timeout(self) -> ...:
|
266
|
+
"""
|
267
|
+
Get the local repository lock timeout.
|
268
|
+
|
269
|
+
Returns:
|
270
|
+
Duration: Local repository lock timeout.
|
271
|
+
"""
|
272
|
+
def get_mode(self) -> Manager.Mode:
|
273
|
+
"""
|
274
|
+
Get the manager mode.
|
275
|
+
|
276
|
+
Returns:
|
277
|
+
Mode: Manager mode.
|
278
|
+
"""
|
279
|
+
def reset(self) -> None:
|
280
|
+
"""
|
281
|
+
Reset the manager.
|
282
|
+
"""
|
283
|
+
def set_local_repository(self, directory: ostk.core.filesystem.Directory) -> None:
|
284
|
+
"""
|
285
|
+
Set the local repository.
|
286
|
+
|
287
|
+
Args:
|
288
|
+
directory (Directory): Local repository.
|
289
|
+
"""
|
290
|
+
def set_mode(self, mode: Manager.Mode) -> None:
|
291
|
+
"""
|
292
|
+
Set the manager mode.
|
293
|
+
|
294
|
+
Args:
|
295
|
+
mode (Mode): Manager mode.
|
296
|
+
"""
|
297
|
+
class Unit:
|
298
|
+
"""
|
299
|
+
|
300
|
+
Unit
|
301
|
+
|
302
|
+
A unit of measurement is a definite magnitude of a quantity, defined and adopted by
|
303
|
+
convention or by law, that is used as a standard for measurement of the same kind of
|
304
|
+
quantity. Any other quantity of that kind can be expressed as a multiple of the unit of
|
305
|
+
measurement.
|
306
|
+
|
307
|
+
:see: https://en.wikipedia.org/wiki/Unit_of_measurement
|
308
|
+
|
309
|
+
|
310
|
+
"""
|
311
|
+
class Type:
|
312
|
+
"""
|
313
|
+
Members:
|
314
|
+
|
315
|
+
Undefined :
|
316
|
+
Undefined unit type.
|
317
|
+
|
318
|
+
|
319
|
+
None_ :
|
320
|
+
None unit type.
|
321
|
+
|
322
|
+
|
323
|
+
Length :
|
324
|
+
Length unit type.
|
325
|
+
|
326
|
+
|
327
|
+
Mass :
|
328
|
+
Mass unit type.
|
329
|
+
|
330
|
+
|
331
|
+
Time :
|
332
|
+
Time unit type.
|
333
|
+
|
334
|
+
|
335
|
+
Temperature :
|
336
|
+
Temperature unit type.
|
337
|
+
|
338
|
+
|
339
|
+
ElectricCurrent :
|
340
|
+
Electric current unit type.
|
341
|
+
|
342
|
+
|
343
|
+
LuminousIntensity :
|
344
|
+
Luminous intensity unit type.
|
345
|
+
|
346
|
+
|
347
|
+
Derived :
|
348
|
+
Derived unit type.
|
349
|
+
|
350
|
+
"""
|
351
|
+
Derived: typing.ClassVar[Unit.Type] # value = <Type.Derived: 8>
|
352
|
+
ElectricCurrent: typing.ClassVar[Unit.Type] # value = <Type.ElectricCurrent: 6>
|
353
|
+
Length: typing.ClassVar[Unit.Type] # value = <Type.Length: 2>
|
354
|
+
LuminousIntensity: typing.ClassVar[Unit.Type] # value = <Type.LuminousIntensity: 7>
|
355
|
+
Mass: typing.ClassVar[Unit.Type] # value = <Type.Mass: 3>
|
356
|
+
None_: typing.ClassVar[Unit.Type] # value = <Type.None_: 1>
|
357
|
+
Temperature: typing.ClassVar[Unit.Type] # value = <Type.Temperature: 5>
|
358
|
+
Time: typing.ClassVar[Unit.Type] # value = <Type.Time: 4>
|
359
|
+
Undefined: typing.ClassVar[Unit.Type] # value = <Type.Undefined: 0>
|
360
|
+
__members__: typing.ClassVar[dict[str, Unit.Type]] # value = {'Undefined': <Type.Undefined: 0>, 'None_': <Type.None_: 1>, 'Length': <Type.Length: 2>, 'Mass': <Type.Mass: 3>, 'Time': <Type.Time: 4>, 'Temperature': <Type.Temperature: 5>, 'ElectricCurrent': <Type.ElectricCurrent: 6>, 'LuminousIntensity': <Type.LuminousIntensity: 7>, 'Derived': <Type.Derived: 8>}
|
361
|
+
@staticmethod
|
362
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
363
|
+
...
|
364
|
+
def __eq__(self, other: typing.Any) -> bool:
|
365
|
+
...
|
366
|
+
def __getstate__(self) -> int:
|
367
|
+
...
|
368
|
+
def __hash__(self) -> int:
|
369
|
+
...
|
370
|
+
def __index__(self) -> int:
|
371
|
+
...
|
372
|
+
def __init__(self, value: int) -> None:
|
373
|
+
...
|
374
|
+
def __int__(self) -> int:
|
375
|
+
...
|
376
|
+
def __ne__(self, other: typing.Any) -> bool:
|
377
|
+
...
|
378
|
+
def __repr__(self) -> str:
|
379
|
+
...
|
380
|
+
def __setstate__(self, state: int) -> None:
|
381
|
+
...
|
382
|
+
def __str__(self) -> str:
|
383
|
+
...
|
384
|
+
@property
|
385
|
+
def name(self) -> str:
|
386
|
+
...
|
387
|
+
@property
|
388
|
+
def value(self) -> int:
|
389
|
+
...
|
390
|
+
__hash__: typing.ClassVar[None] = None
|
391
|
+
@staticmethod
|
392
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
393
|
+
...
|
394
|
+
@staticmethod
|
395
|
+
def derived(derived_unit: typing.Any) -> Unit:
|
396
|
+
"""
|
397
|
+
Create a derived unit.
|
398
|
+
|
399
|
+
Args:
|
400
|
+
derived_unit (unit.Derived.Unit): A derived unit.
|
401
|
+
|
402
|
+
Returns:
|
403
|
+
Unit: Derived unit.
|
404
|
+
"""
|
405
|
+
@staticmethod
|
406
|
+
def length(length_unit: typing.Any) -> Unit:
|
407
|
+
"""
|
408
|
+
Create a length unit.
|
409
|
+
|
410
|
+
Args:
|
411
|
+
length_unit (unit.Length.Unit): A length unit.
|
412
|
+
|
413
|
+
Returns:
|
414
|
+
Unit: Length unit.
|
415
|
+
"""
|
416
|
+
@staticmethod
|
417
|
+
def none() -> Unit:
|
418
|
+
"""
|
419
|
+
Create a none unit.
|
420
|
+
|
421
|
+
Returns:
|
422
|
+
Unit: None unit.
|
423
|
+
"""
|
424
|
+
@staticmethod
|
425
|
+
def string_from_type(type: Unit.Type) -> ostk.core.type.String:
|
426
|
+
"""
|
427
|
+
Get the string representation of a unit type.
|
428
|
+
|
429
|
+
Args:
|
430
|
+
type (Type): Unit type.
|
431
|
+
|
432
|
+
Returns:
|
433
|
+
str: String representation.
|
434
|
+
"""
|
435
|
+
@staticmethod
|
436
|
+
def undefined() -> Unit:
|
437
|
+
"""
|
438
|
+
Create an undefined unit.
|
439
|
+
|
440
|
+
Returns:
|
441
|
+
Unit: Undefined unit.
|
442
|
+
"""
|
443
|
+
def __eq__(self, arg0: Unit) -> bool:
|
444
|
+
...
|
445
|
+
def __ne__(self, arg0: Unit) -> bool:
|
446
|
+
...
|
447
|
+
def __repr__(self) -> str:
|
448
|
+
...
|
449
|
+
def __str__(self) -> str:
|
450
|
+
...
|
451
|
+
def get_type(self) -> Unit.Type:
|
452
|
+
"""
|
453
|
+
Get the unit type.
|
454
|
+
|
455
|
+
Returns:
|
456
|
+
Type: Unit type.
|
457
|
+
"""
|
458
|
+
def is_defined(self) -> bool:
|
459
|
+
"""
|
460
|
+
Check if the unit is defined.
|
461
|
+
|
462
|
+
Returns:
|
463
|
+
bool: True if defined.
|
464
|
+
"""
|
465
|
+
def is_none(self) -> bool:
|
466
|
+
"""
|
467
|
+
Check if the unit is none.
|
468
|
+
|
469
|
+
Returns:
|
470
|
+
bool: True if none.
|
471
|
+
"""
|
472
|
+
def ratio_to(self, unit: Unit) -> ostk.core.type.Real:
|
473
|
+
"""
|
474
|
+
Get the ratio to another unit.
|
475
|
+
|
476
|
+
Args:
|
477
|
+
unit (Unit): Another unit.
|
478
|
+
|
479
|
+
Returns:
|
480
|
+
float:Ratio to another unit.
|
481
|
+
"""
|
482
|
+
def to_string(self) -> ostk.core.type.String:
|
483
|
+
"""
|
484
|
+
Get the string representation of the unit.
|
485
|
+
|
486
|
+
Returns:
|
487
|
+
str: String representation.
|
488
|
+
"""
|