open-space-toolkit-physics 11.3.0__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.3.0.dist-info → open_space_toolkit_physics-12.0.0.dist-info}/METADATA +1 -1
- {open_space_toolkit_physics-11.3.0.dist-info → open_space_toolkit_physics-12.0.0.dist-info}/RECORD +23 -24
- ostk/physics/OpenSpaceToolkitPhysicsPy.cpython-311-aarch64-linux-gnu.so +0 -0
- ostk/physics/__init__.pyi +8 -8
- ostk/physics/coordinate/__init__.pyi +13 -13
- ostk/physics/coordinate/frame/provider/__init__.pyi +1 -1
- ostk/physics/coordinate/frame/provider/iers.pyi +2 -2
- ostk/physics/coordinate/spherical.pyi +2 -2
- ostk/physics/data/__init__.pyi +1 -1
- ostk/physics/environment/gravitational/__init__.pyi +8 -8
- ostk/physics/environment/magnetic/__init__.pyi +2 -2
- ostk/physics/environment/object/__init__.pyi +4 -4
- ostk/physics/environment/object/celestial/__init__.pyi +8 -8
- 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/environment/atmospheric/earth/test_cssi_space_weather.py +11 -8
- ostk/physics/time.pyi +13 -13
- ostk/physics/unit.pyi +25 -25
- ostk/physics/py.typed +0 -0
- {open_space_toolkit_physics-11.3.0.dist-info → open_space_toolkit_physics-12.0.0.dist-info}/WHEEL +0 -0
- {open_space_toolkit_physics-11.3.0.dist-info → open_space_toolkit_physics-12.0.0.dist-info}/top_level.txt +0 -0
- {open_space_toolkit_physics-11.3.0.dist-info → open_space_toolkit_physics-12.0.0.dist-info}/zip-safe +0 -0
{open_space_toolkit_physics-11.3.0.dist-info → open_space_toolkit_physics-12.0.0.dist-info}/RECORD
RENAMED
@@ -1,28 +1,27 @@
|
|
1
1
|
ostk/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
2
|
-
ostk/physics/OpenSpaceToolkitPhysicsPy.cpython-311-aarch64-linux-gnu.so,sha256=
|
2
|
+
ostk/physics/OpenSpaceToolkitPhysicsPy.cpython-311-aarch64-linux-gnu.so,sha256=Vo-aSmRbhbVq4HkjfbmPH_AbUQzIL4fLyMWZLvs0gqk,1976128
|
3
3
|
ostk/physics/__init__.py,sha256=O3L1kW3UL7dnO9T3XwRgXykNPUKtQ-SgewrHBiVR-ZM,117
|
4
|
-
ostk/physics/__init__.pyi,sha256=
|
5
|
-
ostk/physics/libopen-space-toolkit-physics.so.
|
6
|
-
ostk/physics/
|
7
|
-
ostk/physics/
|
8
|
-
ostk/physics/
|
9
|
-
ostk/physics/coordinate/
|
10
|
-
ostk/physics/coordinate/spherical.pyi,sha256=nhWv_ildB2ifaCD8aK2Z10d071tSoE-ADm0klKFHVDk,18341
|
4
|
+
ostk/physics/__init__.pyi,sha256=hAoeqyZLv5SuDxzUr8ALbF3ZDO0Z8ggvlAB4VgLH31Q,17112
|
5
|
+
ostk/physics/libopen-space-toolkit-physics.so.12,sha256=WV8lT6fFgmueJyHjHSY4h1FSt84ft9JGcxhP_KwpMDo,4156528
|
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
|
11
10
|
ostk/physics/coordinate/frame/__init__.pyi,sha256=kkNKeR5ENK6HrerZcP_cB2J5-Tmkl0V5-FwoCHKJAjA,841
|
12
|
-
ostk/physics/coordinate/frame/provider/__init__.pyi,sha256=
|
11
|
+
ostk/physics/coordinate/frame/provider/__init__.pyi,sha256=6Kyr7xdmRc49QNBy-e0GvjDeFDe_NrfrMdF2wuhQpr4,2191
|
13
12
|
ostk/physics/coordinate/frame/provider/iau.pyi,sha256=-0bGS4MOn-S8z5JQLvZ13oTaKPUgF_Yts9F1f5wH7Tc,2027
|
14
|
-
ostk/physics/coordinate/frame/provider/iers.pyi,sha256=
|
15
|
-
ostk/physics/data/__init__.pyi,sha256=
|
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
|
16
15
|
ostk/physics/data/provider.pyi,sha256=W2u2i1A42X7oZOSmyf1ZIsE_FMjGcIi3M-G8Jwy3Nis,815
|
17
16
|
ostk/physics/environment/__init__.pyi,sha256=on-2tIjUlGgvHhgsyVNrwnRyQlrcPAGC2T1yZ9MNAZI,4317
|
18
17
|
ostk/physics/environment/atmospheric/__init__.pyi,sha256=4-5qv0zBEWrB37Ml2BXMtQEkea9Tjmn3jH_JjfXVWu0,7391
|
19
18
|
ostk/physics/environment/atmospheric/earth.pyi,sha256=t6Ly-u5D5u_j0KKJy-UuYnV1fmXtVMRs8LG1pAFHgSk,21817
|
20
|
-
ostk/physics/environment/gravitational/__init__.pyi,sha256=
|
19
|
+
ostk/physics/environment/gravitational/__init__.pyi,sha256=Zt-RjYpSpJKsWTK1mqucjlCu1H4RA4f_01VqXnAdKU0,21502
|
21
20
|
ostk/physics/environment/gravitational/earth.pyi,sha256=eoxaTdSNtrUy5PuJBzqynZ6iMqh4_VdSrUPpUKa5RYU,2213
|
22
|
-
ostk/physics/environment/magnetic/__init__.pyi,sha256=
|
21
|
+
ostk/physics/environment/magnetic/__init__.pyi,sha256=hg3hyRygZs72s31PQ0pTVv0qqlQ8g5BGSLz3L0Dwego,6841
|
23
22
|
ostk/physics/environment/magnetic/earth.pyi,sha256=JVjk8chAblGAaMiD5hIVeeNP0fZgOQ30AqVYRZNKk0Y,2132
|
24
|
-
ostk/physics/environment/object/__init__.pyi,sha256
|
25
|
-
ostk/physics/environment/object/celestial/__init__.pyi,sha256=
|
23
|
+
ostk/physics/environment/object/__init__.pyi,sha256=tpi4xTAlNBmvtEoVDIi3JYMY4kkoFJmw6lxjb4L39CE,16408
|
24
|
+
ostk/physics/environment/object/celestial/__init__.pyi,sha256=WJfYad159oW7a0CN2CK8vXmx4iUJzReFhUWeII51cvA,9254
|
26
25
|
ostk/physics/environment/object/celestial/moon.pyi,sha256=cat2bt1Bu2J35nyVtKUE3z1AaYI1CKyPG99AdFUd9Qs,52
|
27
26
|
ostk/physics/environment/object/celestial/sun.pyi,sha256=cat2bt1Bu2J35nyVtKUE3z1AaYI1CKyPG99AdFUd9Qs,52
|
28
27
|
ostk/physics/test/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
@@ -37,9 +36,9 @@ ostk/physics/test/coordinate/test_velocity.py,sha256=hro6hy0xSB-9ENmPraEMnr5Vlnx
|
|
37
36
|
ostk/physics/test/coordinate/frame/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
38
37
|
ostk/physics/test/coordinate/frame/provider/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
39
38
|
ostk/physics/test/coordinate/frame/provider/iers/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
40
|
-
ostk/physics/test/coordinate/frame/provider/iers/conftest.py,sha256=
|
41
|
-
ostk/physics/test/coordinate/frame/provider/iers/test_bulletin_a.py,sha256=
|
42
|
-
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
|
43
42
|
ostk/physics/test/coordinate/frame/provider/iers/test_manager.py,sha256=p8Gs2EUxtWkNZN7x7SUOE6sg2WJTNme8htIALhPbyIA,6943
|
44
43
|
ostk/physics/test/coordinate/frame/provider/iers/data/finals2000A.data,sha256=idUrST8kLIJgf1H5X4iMXRTc9bwYciYwmR3FvoaRQMU,2059164
|
45
44
|
ostk/physics/test/coordinate/frame/provider/iers/data/ser7.dat,sha256=ag0H9n7mwSHB3zQaZb2lJgVewiwgTQ9a42f-kLib1WU,38546
|
@@ -59,7 +58,7 @@ ostk/physics/test/environment/atmospheric/__init__.py,sha256=epnVn2PwdQkUDZ1msqB
|
|
59
58
|
ostk/physics/test/environment/atmospheric/test_earth.py,sha256=C0GMYD3-Q-CNWmLlBI8nWbX2gjx6jNQCtewqU7hVtPI,5536
|
60
59
|
ostk/physics/test/environment/atmospheric/earth/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
61
60
|
ostk/physics/test/environment/atmospheric/earth/conftest.py,sha256=2Ebi0ucBYlcL5PssrWU0cDc7F7ZCac1s-br8VUo-4j0,1764
|
62
|
-
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
|
63
62
|
ostk/physics/test/environment/atmospheric/earth/test_exponential.py,sha256=8nwVsseHmg5yIkwPjeuWEj3HmNEOhiWg-eHJ-eQimNg,1166
|
64
63
|
ostk/physics/test/environment/atmospheric/earth/test_manager.py,sha256=MOmS6_Ob5vXhISNPbRbKFd_WQYREFeNdBTS1gPBQPeY,6242
|
65
64
|
ostk/physics/test/environment/atmospheric/earth/test_nrlmsise00.py,sha256=h3MB-ex0yPLsvIBrGNmnGqlnTroCju7uPDDyDiwLZG8,1164
|
@@ -97,8 +96,8 @@ ostk/physics/test/unit/test_mass.py,sha256=AAgQK9i8fCadGoEMwKnwK7qz6_VroDVqqVYyV
|
|
97
96
|
ostk/physics/test/unit/test_time.py,sha256=XsyEm3f-zTMnYkZOOu5tABpIZaV0fd91S64WeYDSoqc,2124
|
98
97
|
ostk/physics/test/unit/derived/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
99
98
|
ostk/physics/test/unit/derived/test_angle.py,sha256=8NqMsESDO3LHe_OAzylNtiVuOJKDAE7lXBZinNk4It0,12016
|
100
|
-
open_space_toolkit_physics-
|
101
|
-
open_space_toolkit_physics-
|
102
|
-
open_space_toolkit_physics-
|
103
|
-
open_space_toolkit_physics-
|
104
|
-
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=WZxZG4G111q64nK1VjXhegKz45v_6WcDjthmmKx6smM,111
|
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
|
ostk/physics/__init__.pyi
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
from __future__ import annotations
|
2
2
|
from ostk import core as OpenSpaceToolkitCorePy
|
3
3
|
from ostk.core import container
|
4
|
-
from ostk.core import filesystem
|
5
4
|
import ostk.core.filesystem
|
5
|
+
from ostk.core import filesystem
|
6
6
|
from ostk.core import type
|
7
7
|
import ostk.core.type
|
8
8
|
from ostk import io as OpenSpaceToolkitIOPy
|
@@ -81,7 +81,7 @@ class Environment:
|
|
81
81
|
set_global_instance (bool, optional): True if the global environment instance should be set. Defaults to False.
|
82
82
|
"""
|
83
83
|
@typing.overload
|
84
|
-
def __init__(self, central_celestial_object:
|
84
|
+
def __init__(self, central_celestial_object: typing.Any, objects: list[...], instant: time.Instant = ..., set_global_instance: bool = False) -> None:
|
85
85
|
"""
|
86
86
|
Constructor
|
87
87
|
|
@@ -160,7 +160,7 @@ class Environment:
|
|
160
160
|
Returns:
|
161
161
|
bool: True if environment contains objects with a given name, False otherwise.
|
162
162
|
"""
|
163
|
-
def intersects(self, geometry:
|
163
|
+
def intersects(self, geometry: typing.Any, objects_to_ignore: list[...] = []) -> bool:
|
164
164
|
"""
|
165
165
|
Returns true if a given geometry intersects any of the environment objects.
|
166
166
|
|
@@ -316,7 +316,7 @@ class Unit:
|
|
316
316
|
Undefined unit type.
|
317
317
|
|
318
318
|
|
319
|
-
|
319
|
+
None_ :
|
320
320
|
None unit type.
|
321
321
|
|
322
322
|
|
@@ -353,11 +353,11 @@ class Unit:
|
|
353
353
|
Length: typing.ClassVar[Unit.Type] # value = <Type.Length: 2>
|
354
354
|
LuminousIntensity: typing.ClassVar[Unit.Type] # value = <Type.LuminousIntensity: 7>
|
355
355
|
Mass: typing.ClassVar[Unit.Type] # value = <Type.Mass: 3>
|
356
|
-
|
356
|
+
None_: typing.ClassVar[Unit.Type] # value = <Type.None_: 1>
|
357
357
|
Temperature: typing.ClassVar[Unit.Type] # value = <Type.Temperature: 5>
|
358
358
|
Time: typing.ClassVar[Unit.Type] # value = <Type.Time: 4>
|
359
359
|
Undefined: typing.ClassVar[Unit.Type] # value = <Type.Undefined: 0>
|
360
|
-
__members__: typing.ClassVar[dict[str, Unit.Type]] # value = {'Undefined': <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
361
|
@staticmethod
|
362
362
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
363
363
|
...
|
@@ -392,7 +392,7 @@ class Unit:
|
|
392
392
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
393
393
|
...
|
394
394
|
@staticmethod
|
395
|
-
def derived(derived_unit:
|
395
|
+
def derived(derived_unit: typing.Any) -> Unit:
|
396
396
|
"""
|
397
397
|
Create a derived unit.
|
398
398
|
|
@@ -403,7 +403,7 @@ class Unit:
|
|
403
403
|
Unit: Derived unit.
|
404
404
|
"""
|
405
405
|
@staticmethod
|
406
|
-
def length(length_unit:
|
406
|
+
def length(length_unit: typing.Any) -> Unit:
|
407
407
|
"""
|
408
408
|
Create a length unit.
|
409
409
|
|
@@ -144,7 +144,7 @@ class Frame:
|
|
144
144
|
Frame: ITRF.
|
145
145
|
"""
|
146
146
|
@staticmethod
|
147
|
-
def J2000(theory:
|
147
|
+
def J2000(theory: typing.Any) -> Frame:
|
148
148
|
"""
|
149
149
|
Get the J2000 frame.
|
150
150
|
|
@@ -193,7 +193,7 @@ class Frame:
|
|
193
193
|
Frame: TIRF.
|
194
194
|
"""
|
195
195
|
@staticmethod
|
196
|
-
def TOD(epoch: ostk.physics.time.Instant, theory:
|
196
|
+
def TOD(epoch: ostk.physics.time.Instant, theory: typing.Any) -> Frame:
|
197
197
|
"""
|
198
198
|
Get the TOD frame.
|
199
199
|
|
@@ -208,7 +208,7 @@ class Frame:
|
|
208
208
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
209
209
|
...
|
210
210
|
@staticmethod
|
211
|
-
def construct(name: ostk.core.type.String, is_quasi_inertial: bool, parent_frame: Frame, provider:
|
211
|
+
def construct(name: ostk.core.type.String, is_quasi_inertial: bool, parent_frame: Frame, provider: typing.Any) -> Frame:
|
212
212
|
"""
|
213
213
|
Construct a frame.
|
214
214
|
|
@@ -390,7 +390,7 @@ class Position:
|
|
390
390
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
391
391
|
...
|
392
392
|
@staticmethod
|
393
|
-
def from_lla(lla: spherical.LLA, celestial:
|
393
|
+
def from_lla(lla: spherical.LLA, celestial: typing.Any = None) -> Position:
|
394
394
|
"""
|
395
395
|
Create a Position from LLA.
|
396
396
|
|
@@ -402,7 +402,7 @@ class Position:
|
|
402
402
|
Position: Position.
|
403
403
|
"""
|
404
404
|
@staticmethod
|
405
|
-
def meters(coordinates: numpy.ndarray[numpy.float64[3, 1]], frame:
|
405
|
+
def meters(coordinates: numpy.ndarray[numpy.float64[3, 1]], frame: typing.Any) -> Position:
|
406
406
|
"""
|
407
407
|
Create a Position in meters.
|
408
408
|
|
@@ -431,7 +431,7 @@ class Position:
|
|
431
431
|
Returns:
|
432
432
|
bool: True if equal.
|
433
433
|
"""
|
434
|
-
def __init__(self, coordinates: numpy.ndarray[numpy.float64[3, 1]], unit: ostk.physics.unit.Length.Unit, frame:
|
434
|
+
def __init__(self, coordinates: numpy.ndarray[numpy.float64[3, 1]], unit: ostk.physics.unit.Length.Unit, frame: typing.Any) -> None:
|
435
435
|
"""
|
436
436
|
Constructs a Position.
|
437
437
|
|
@@ -475,7 +475,7 @@ class Position:
|
|
475
475
|
Returns:
|
476
476
|
Unit: Unit.
|
477
477
|
"""
|
478
|
-
def in_frame(self, frame:
|
478
|
+
def in_frame(self, frame: typing.Any, instant: ostk.physics.time.Instant) -> Position:
|
479
479
|
"""
|
480
480
|
Get the Position in another frame of reference.
|
481
481
|
|
@@ -660,7 +660,7 @@ class Transform:
|
|
660
660
|
Returns:
|
661
661
|
Transform: Composition.
|
662
662
|
"""
|
663
|
-
def __init__(self, instant: ostk.physics.time.Instant, translation: numpy.ndarray[numpy.float64[3, 1]], velocity: numpy.ndarray[numpy.float64[3, 1]], orientation: ostk.mathematics.geometry.d3.transformation.rotation.Quaternion, angular_velocity: numpy.ndarray[numpy.float64[3, 1]], type:
|
663
|
+
def __init__(self, instant: ostk.physics.time.Instant, translation: numpy.ndarray[numpy.float64[3, 1]], velocity: numpy.ndarray[numpy.float64[3, 1]], orientation: ostk.mathematics.geometry.d3.transformation.rotation.Quaternion, angular_velocity: numpy.ndarray[numpy.float64[3, 1]], type: typing.Any) -> None:
|
664
664
|
"""
|
665
665
|
Constructs a transform.
|
666
666
|
|
@@ -877,7 +877,7 @@ class Velocity:
|
|
877
877
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
878
878
|
...
|
879
879
|
@staticmethod
|
880
|
-
def meters_per_second(coordinates: numpy.ndarray[numpy.float64[3, 1]], frame:
|
880
|
+
def meters_per_second(coordinates: numpy.ndarray[numpy.float64[3, 1]], frame: typing.Any) -> Velocity:
|
881
881
|
"""
|
882
882
|
Create a velocity in meters per second.
|
883
883
|
|
@@ -889,7 +889,7 @@ class Velocity:
|
|
889
889
|
Velocity: Velocity in meters per second.
|
890
890
|
"""
|
891
891
|
@staticmethod
|
892
|
-
def string_from_unit(unit:
|
892
|
+
def string_from_unit(unit: typing.Any) -> ostk.core.type.String:
|
893
893
|
"""
|
894
894
|
Create a string from unit.
|
895
895
|
|
@@ -917,7 +917,7 @@ class Velocity:
|
|
917
917
|
Returns:
|
918
918
|
bool: True if equal.
|
919
919
|
"""
|
920
|
-
def __init__(self, coordinates: numpy.ndarray[numpy.float64[3, 1]], unit:
|
920
|
+
def __init__(self, coordinates: numpy.ndarray[numpy.float64[3, 1]], unit: typing.Any, frame: typing.Any) -> None:
|
921
921
|
"""
|
922
922
|
Constructs a velocity.
|
923
923
|
|
@@ -961,7 +961,7 @@ class Velocity:
|
|
961
961
|
Returns:
|
962
962
|
Unit: Unit.
|
963
963
|
"""
|
964
|
-
def in_frame(self, position: Position, frame:
|
964
|
+
def in_frame(self, position: Position, frame: typing.Any, instant: ostk.physics.time.Instant) -> Velocity:
|
965
965
|
"""
|
966
966
|
Convert to frame.
|
967
967
|
|
@@ -973,7 +973,7 @@ class Velocity:
|
|
973
973
|
Returns:
|
974
974
|
Velocity: Velocity.
|
975
975
|
"""
|
976
|
-
def in_unit(self, unit:
|
976
|
+
def in_unit(self, unit: typing.Any) -> Velocity:
|
977
977
|
"""
|
978
978
|
Convert to unit.
|
979
979
|
|
@@ -568,14 +568,14 @@ class Manager(ostk.physics.Manager):
|
|
568
568
|
Returns:
|
569
569
|
float: UT1 - UTC [sec].
|
570
570
|
"""
|
571
|
-
def load_bulletin_a(self, bulletin_a:
|
571
|
+
def load_bulletin_a(self, bulletin_a: typing.Any) -> None:
|
572
572
|
"""
|
573
573
|
Load Bulletin A.
|
574
574
|
|
575
575
|
Returns:
|
576
576
|
bulletin_a (BulletinA): Bulletin A.
|
577
577
|
"""
|
578
|
-
def load_finals_2000a(self, finals_2000a:
|
578
|
+
def load_finals_2000a(self, finals_2000a: typing.Any) -> None:
|
579
579
|
"""
|
580
580
|
Load Finals 2000A.
|
581
581
|
|
@@ -15,7 +15,7 @@ class AER:
|
|
15
15
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
16
16
|
...
|
17
17
|
@staticmethod
|
18
|
-
def from_position_to_position(from_position:
|
18
|
+
def from_position_to_position(from_position: typing.Any, to_position: typing.Any, is_z_negative: bool = True) -> AER:
|
19
19
|
"""
|
20
20
|
Construct AER from position to position.
|
21
21
|
|
@@ -195,7 +195,7 @@ class LLA:
|
|
195
195
|
LLA: Propagated LLA coordinate.
|
196
196
|
"""
|
197
197
|
@staticmethod
|
198
|
-
def from_position(position:
|
198
|
+
def from_position(position: typing.Any, celestial: typing.Any = None) -> LLA:
|
199
199
|
"""
|
200
200
|
Construct LLA from position.
|
201
201
|
|
ostk/physics/data/__init__.pyi
CHANGED
@@ -99,7 +99,7 @@ class Earth(Model):
|
|
99
99
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
100
100
|
...
|
101
101
|
@typing.overload
|
102
|
-
def __init__(self, type:
|
102
|
+
def __init__(self, type: typing.Any, directory: ostk.core.filesystem.Directory) -> None:
|
103
103
|
"""
|
104
104
|
Construct an Earth gravitational model.
|
105
105
|
|
@@ -108,7 +108,7 @@ class Earth(Model):
|
|
108
108
|
directory (Directory): Directory containing the gravity model data files.
|
109
109
|
"""
|
110
110
|
@typing.overload
|
111
|
-
def __init__(self, type:
|
111
|
+
def __init__(self, type: typing.Any) -> None:
|
112
112
|
"""
|
113
113
|
Construct an Earth gravitational model.
|
114
114
|
|
@@ -116,7 +116,7 @@ class Earth(Model):
|
|
116
116
|
type (Earth.Type): Earth model type.
|
117
117
|
"""
|
118
118
|
@typing.overload
|
119
|
-
def __init__(self, type:
|
119
|
+
def __init__(self, type: typing.Any, directory: ostk.core.filesystem.Directory, gravitational_model_degree: ostk.core.type.Integer, gravitational_model_order: ostk.core.type.Integer) -> None:
|
120
120
|
"""
|
121
121
|
Construct an Earth gravitational model.
|
122
122
|
|
@@ -127,7 +127,7 @@ class Earth(Model):
|
|
127
127
|
gravitational_model_order (int): Order of the gravitational model.
|
128
128
|
"""
|
129
129
|
@typing.overload
|
130
|
-
def __init__(self, type:
|
130
|
+
def __init__(self, type: typing.Any, gravitational_model_degree: ostk.core.type.Integer, gravitational_model_order: ostk.core.type.Integer) -> None:
|
131
131
|
"""
|
132
132
|
Construct an Earth gravitational model.
|
133
133
|
|
@@ -390,7 +390,7 @@ class Moon(Model):
|
|
390
390
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
391
391
|
...
|
392
392
|
@typing.overload
|
393
|
-
def __init__(self, type:
|
393
|
+
def __init__(self, type: typing.Any, directory: ostk.core.filesystem.Directory) -> None:
|
394
394
|
"""
|
395
395
|
Construct a Moon gravitational model.
|
396
396
|
|
@@ -399,7 +399,7 @@ class Moon(Model):
|
|
399
399
|
directory (Directory): Directory containing the gravity model data files.
|
400
400
|
"""
|
401
401
|
@typing.overload
|
402
|
-
def __init__(self, type:
|
402
|
+
def __init__(self, type: typing.Any) -> None:
|
403
403
|
"""
|
404
404
|
Construct a Moon gravitational model.
|
405
405
|
|
@@ -523,7 +523,7 @@ class Sun(Model):
|
|
523
523
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
524
524
|
...
|
525
525
|
@typing.overload
|
526
|
-
def __init__(self, type:
|
526
|
+
def __init__(self, type: typing.Any, directory: ostk.core.filesystem.Directory) -> None:
|
527
527
|
"""
|
528
528
|
Construct a Sun gravitational model.
|
529
529
|
|
@@ -532,7 +532,7 @@ class Sun(Model):
|
|
532
532
|
directory (Directory): Directory containing the gravity model data files.
|
533
533
|
"""
|
534
534
|
@typing.overload
|
535
|
-
def __init__(self, type:
|
535
|
+
def __init__(self, type: typing.Any) -> None:
|
536
536
|
"""
|
537
537
|
Construct a Sun gravitational model.
|
538
538
|
|
@@ -128,7 +128,7 @@ class Earth:
|
|
128
128
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
129
129
|
...
|
130
130
|
@typing.overload
|
131
|
-
def __init__(self, type:
|
131
|
+
def __init__(self, type: typing.Any, directory: ostk.core.filesystem.Directory) -> None:
|
132
132
|
"""
|
133
133
|
Construct an Earth magnetic model.
|
134
134
|
|
@@ -137,7 +137,7 @@ class Earth:
|
|
137
137
|
directory (Directory): Directory containing the magnetic model data files.
|
138
138
|
"""
|
139
139
|
@typing.overload
|
140
|
-
def __init__(self, type:
|
140
|
+
def __init__(self, type: typing.Any) -> None:
|
141
141
|
"""
|
142
142
|
Construct an Earth magnetic model.
|
143
143
|
|
@@ -133,7 +133,7 @@ class Celestial(ostk.physics.environment.Object):
|
|
133
133
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
134
134
|
...
|
135
135
|
@staticmethod
|
136
|
-
def string_from_frame_type(frame_type:
|
136
|
+
def string_from_frame_type(frame_type: typing.Any) -> ostk.core.type.String:
|
137
137
|
"""
|
138
138
|
Get the string representation of a frame type.
|
139
139
|
|
@@ -152,7 +152,7 @@ class Celestial(ostk.physics.environment.Object):
|
|
152
152
|
Celestial: Undefined celestial object.
|
153
153
|
"""
|
154
154
|
@typing.overload
|
155
|
-
def __init__(self, name: ostk.core.type.String, type:
|
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
156
|
"""
|
157
157
|
Constructor
|
158
158
|
|
@@ -170,7 +170,7 @@ class Celestial(ostk.physics.environment.Object):
|
|
170
170
|
atmospheric_model (AtmosphericModel): Atmospheric model.
|
171
171
|
"""
|
172
172
|
@typing.overload
|
173
|
-
def __init__(self, name: ostk.core.type.String, type:
|
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
174
|
"""
|
175
175
|
Constructor
|
176
176
|
|
@@ -252,7 +252,7 @@ class Celestial(ostk.physics.environment.Object):
|
|
252
252
|
Returns:
|
253
253
|
float: Flattening.
|
254
254
|
"""
|
255
|
-
def get_frame_at(self, lla: ostk.physics.coordinate.spherical.LLA, frame_type:
|
255
|
+
def get_frame_at(self, lla: ostk.physics.coordinate.spherical.LLA, frame_type: typing.Any) -> ostk.physics.coordinate.Frame:
|
256
256
|
"""
|
257
257
|
Get the frame at a given LLA and frame type.
|
258
258
|
|
@@ -80,7 +80,7 @@ class Earth(ostk.physics.environment.object.Celestial):
|
|
80
80
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
81
81
|
...
|
82
82
|
@staticmethod
|
83
|
-
def atmospheric_only(atmospheric_model:
|
83
|
+
def atmospheric_only(atmospheric_model: typing.Any) -> Earth:
|
84
84
|
"""
|
85
85
|
Just atmospheric model.
|
86
86
|
|
@@ -99,7 +99,7 @@ class Earth(ostk.physics.environment.object.Celestial):
|
|
99
99
|
Earth: Earth
|
100
100
|
"""
|
101
101
|
@staticmethod
|
102
|
-
def from_models(gravity_model:
|
102
|
+
def from_models(gravity_model: typing.Any, magnetic_model: typing.Any, atmospheric_model: typing.Any) -> Earth:
|
103
103
|
"""
|
104
104
|
Create earth from specified models.
|
105
105
|
|
@@ -112,7 +112,7 @@ class Earth(ostk.physics.environment.object.Celestial):
|
|
112
112
|
Earth: Earth.
|
113
113
|
"""
|
114
114
|
@staticmethod
|
115
|
-
def gravitational_only(gravity_model:
|
115
|
+
def gravitational_only(gravity_model: typing.Any) -> Earth:
|
116
116
|
"""
|
117
117
|
Just gravity model.
|
118
118
|
|
@@ -123,7 +123,7 @@ class Earth(ostk.physics.environment.object.Celestial):
|
|
123
123
|
Earth: Earth.
|
124
124
|
"""
|
125
125
|
@staticmethod
|
126
|
-
def magnetic_only(magnetic_model:
|
126
|
+
def magnetic_only(magnetic_model: typing.Any) -> Earth:
|
127
127
|
"""
|
128
128
|
Just magnetic model.
|
129
129
|
|
@@ -142,7 +142,7 @@ class Earth(ostk.physics.environment.object.Celestial):
|
|
142
142
|
Earth: Earth.
|
143
143
|
"""
|
144
144
|
@typing.overload
|
145
|
-
def __init__(self, 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:
|
145
|
+
def __init__(self, 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:
|
146
146
|
"""
|
147
147
|
Constructor
|
148
148
|
|
@@ -158,7 +158,7 @@ class Earth(ostk.physics.environment.object.Celestial):
|
|
158
158
|
atmospheric_model (EarthAtmosphericModel): Atmospheric model.
|
159
159
|
"""
|
160
160
|
@typing.overload
|
161
|
-
def __init__(self, ephemeris:
|
161
|
+
def __init__(self, ephemeris: typing.Any, gravitational_model: typing.Any = None, magnetic_model: typing.Any = None, atmospheric_model: typing.Any = None) -> None:
|
162
162
|
"""
|
163
163
|
Constructor
|
164
164
|
|
@@ -197,7 +197,7 @@ class Moon(ostk.physics.environment.object.Celestial):
|
|
197
197
|
Returns:
|
198
198
|
Moon: Moon.
|
199
199
|
"""
|
200
|
-
def __init__(self, ephemeris:
|
200
|
+
def __init__(self, ephemeris: typing.Any, gravitational_model: typing.Any) -> None:
|
201
201
|
"""
|
202
202
|
Constructor.
|
203
203
|
|
@@ -234,7 +234,7 @@ class Sun(ostk.physics.environment.object.Celestial):
|
|
234
234
|
Returns:
|
235
235
|
Sun: Sun.
|
236
236
|
"""
|
237
|
-
def __init__(self, ephemeris:
|
237
|
+
def __init__(self, ephemeris: typing.Any, gravitational_model: typing.Any) -> None:
|
238
238
|
"""
|
239
239
|
Constructor.
|
240
240
|
|
Binary file
|
@@ -6,11 +6,8 @@ import pathlib
|
|
6
6
|
|
7
7
|
from ostk.core.filesystem import Path
|
8
8
|
from ostk.core.filesystem import File
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
BulletinA = physics.coordinate.frame.provider.iers.BulletinA
|
13
|
-
Finals2000A = physics.coordinate.frame.provider.iers.Finals2000A
|
9
|
+
from ostk.physics.coordinate.frame.provider.iers import BulletinA
|
10
|
+
from ostk.physics.coordinate.frame.provider.iers import Finals2000A
|
14
11
|
|
15
12
|
|
16
13
|
@pytest.fixture
|
@@ -6,10 +6,7 @@ from ostk.core.filesystem import File
|
|
6
6
|
|
7
7
|
from ostk.physics.time import Scale
|
8
8
|
from ostk.physics.time import Instant
|
9
|
-
|
10
|
-
import ostk.physics as physics
|
11
|
-
|
12
|
-
BulletinA = physics.coordinate.frame.provider.iers.BulletinA
|
9
|
+
from ostk.physics.coordinate.frame.provider.iers import BulletinA
|
13
10
|
|
14
11
|
|
15
12
|
class TestBulletinA:
|
@@ -6,10 +6,7 @@ from ostk.core.filesystem import File
|
|
6
6
|
|
7
7
|
from ostk.physics.time import Scale
|
8
8
|
from ostk.physics.time import Instant
|
9
|
-
|
10
|
-
import ostk.physics as physics
|
11
|
-
|
12
|
-
Finals2000A = physics.coordinate.frame.provider.iers.Finals2000A
|
9
|
+
from ostk.physics.coordinate.frame.provider.iers import Finals2000A
|
13
10
|
|
14
11
|
|
15
12
|
class TestFinals2000A:
|
@@ -8,7 +8,6 @@ from ostk.core.filesystem import File
|
|
8
8
|
|
9
9
|
from ostk.physics.time import Scale
|
10
10
|
from ostk.physics.time import Instant
|
11
|
-
|
12
11
|
from ostk.physics.environment.atmospheric.earth import CSSISpaceWeather
|
13
12
|
|
14
13
|
|
@@ -38,7 +37,7 @@ class TestCSSISpaceWeather:
|
|
38
37
|
)
|
39
38
|
|
40
39
|
def test_access_observation_at_success(self, cssi_space_weather: CSSISpaceWeather):
|
41
|
-
observation:
|
40
|
+
observation: CSSISpaceWeather.Reading = cssi_space_weather.access_observation_at(
|
42
41
|
Instant.date_time(datetime(2023, 6, 19, 0, 0, 0), Scale.UTC)
|
43
42
|
)
|
44
43
|
|
@@ -58,8 +57,10 @@ class TestCSSISpaceWeather:
|
|
58
57
|
def test_access_daily_prediction_at_success(
|
59
58
|
self, cssi_space_weather: CSSISpaceWeather
|
60
59
|
):
|
61
|
-
prediction: Reading =
|
62
|
-
|
60
|
+
prediction: CSSISpaceWeather.Reading = (
|
61
|
+
cssi_space_weather.access_daily_prediction_at(
|
62
|
+
Instant.date_time(datetime(2023, 8, 3, 0, 0, 0), Scale.UTC)
|
63
|
+
)
|
63
64
|
)
|
64
65
|
|
65
66
|
assert prediction.date.to_string() == "2023-08-03"
|
@@ -78,8 +79,10 @@ class TestCSSISpaceWeather:
|
|
78
79
|
def test_access_monthly_prediction_at_success(
|
79
80
|
self, cssi_space_weather: CSSISpaceWeather
|
80
81
|
):
|
81
|
-
prediction: Reading =
|
82
|
-
|
82
|
+
prediction: CSSISpaceWeather.Reading = (
|
83
|
+
cssi_space_weather.access_monthly_prediction_at(
|
84
|
+
Instant.date_time(datetime(2029, 1, 1, 0, 0, 0), Scale.UTC)
|
85
|
+
)
|
83
86
|
)
|
84
87
|
|
85
88
|
assert prediction.date.to_string() == "2029-01-01"
|
@@ -87,7 +90,7 @@ class TestCSSISpaceWeather:
|
|
87
90
|
assert prediction.f107_obs_center_81 == pytest.approx(83.6)
|
88
91
|
|
89
92
|
def test_access_reading_at_success(self, cssi_space_weather: CSSISpaceWeather):
|
90
|
-
reading: Reading = cssi_space_weather.access_reading_at(
|
93
|
+
reading: CSSISpaceWeather.Reading = cssi_space_weather.access_reading_at(
|
91
94
|
Instant.date_time(datetime(2029, 1, 1, 0, 0, 0), Scale.UTC)
|
92
95
|
)
|
93
96
|
|
@@ -99,7 +102,7 @@ class TestCSSISpaceWeather:
|
|
99
102
|
def test_access_last_reading_where_success(
|
100
103
|
self, cssi_space_weather: CSSISpaceWeather
|
101
104
|
):
|
102
|
-
reading: Reading = cssi_space_weather.access_last_reading_where(
|
105
|
+
reading: CSSISpaceWeather.Reading = cssi_space_weather.access_last_reading_where(
|
103
106
|
lambda reading: reading.f107_data_type == "PRD",
|
104
107
|
Instant.date_time(datetime(2023, 12, 1, 0, 0, 0), Scale.UTC),
|
105
108
|
)
|
ostk/physics/time.pyi
CHANGED
@@ -175,7 +175,7 @@ class Date:
|
|
175
175
|
year (int): Year (1400 - 9999).
|
176
176
|
"""
|
177
177
|
@typing.overload
|
178
|
-
def to_string(self, arg0:
|
178
|
+
def to_string(self, arg0: typing.Any) -> ostk.core.type.String:
|
179
179
|
"""
|
180
180
|
Get string representation of date.
|
181
181
|
|
@@ -189,7 +189,7 @@ class Date:
|
|
189
189
|
def to_string(self) -> ostk.core.type.String:
|
190
190
|
...
|
191
191
|
@typing.overload
|
192
|
-
def to_string(self, arg0:
|
192
|
+
def to_string(self, arg0: typing.Any) -> ostk.core.type.String:
|
193
193
|
...
|
194
194
|
class DateTime:
|
195
195
|
"""
|
@@ -323,7 +323,7 @@ class DateTime:
|
|
323
323
|
def __eq__(self, arg0: DateTime) -> bool:
|
324
324
|
...
|
325
325
|
@typing.overload
|
326
|
-
def __init__(self, date:
|
326
|
+
def __init__(self, date: typing.Any, time: typing.Any) -> None:
|
327
327
|
"""
|
328
328
|
Constructor.
|
329
329
|
|
@@ -392,7 +392,7 @@ class DateTime:
|
|
392
392
|
def to_string(self) -> ostk.core.type.String:
|
393
393
|
...
|
394
394
|
@typing.overload
|
395
|
-
def to_string(self, arg0:
|
395
|
+
def to_string(self, arg0: typing.Any) -> ostk.core.type.String:
|
396
396
|
...
|
397
397
|
class Duration:
|
398
398
|
"""
|
@@ -454,7 +454,7 @@ class Duration:
|
|
454
454
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
455
455
|
...
|
456
456
|
@staticmethod
|
457
|
-
def between(arg0:
|
457
|
+
def between(arg0: typing.Any, arg1: typing.Any) -> Duration:
|
458
458
|
"""
|
459
459
|
Constructs a duration between two instants
|
460
460
|
|
@@ -751,7 +751,7 @@ class Duration:
|
|
751
751
|
def to_string(self) -> ostk.core.type.String:
|
752
752
|
...
|
753
753
|
@typing.overload
|
754
|
-
def to_string(self, arg0:
|
754
|
+
def to_string(self, arg0: typing.Any) -> ostk.core.type.String:
|
755
755
|
...
|
756
756
|
def to_timedelta(self) -> datetime.timedelta:
|
757
757
|
...
|
@@ -1002,7 +1002,7 @@ class Interval:
|
|
1002
1002
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
1003
1003
|
...
|
1004
1004
|
@staticmethod
|
1005
|
-
def centered(instant:
|
1005
|
+
def centered(instant: typing.Any, duration: Duration, type: ostk.mathematics.object.RealInterval.Type) -> Interval:
|
1006
1006
|
"""
|
1007
1007
|
Create a centered interval.
|
1008
1008
|
|
@@ -1033,7 +1033,7 @@ class Interval:
|
|
1033
1033
|
Interval: Clipped intervals.
|
1034
1034
|
"""
|
1035
1035
|
@staticmethod
|
1036
|
-
def closed(start_instant:
|
1036
|
+
def closed(start_instant: typing.Any, end_instant: typing.Any) -> Interval:
|
1037
1037
|
"""
|
1038
1038
|
Create a closed interval.
|
1039
1039
|
|
@@ -1063,7 +1063,7 @@ class Interval:
|
|
1063
1063
|
Interval: Intervals gaps.
|
1064
1064
|
"""
|
1065
1065
|
@staticmethod
|
1066
|
-
def half_open_left(start_instant:
|
1066
|
+
def half_open_left(start_instant: typing.Any, end_instant: typing.Any) -> Interval:
|
1067
1067
|
"""
|
1068
1068
|
Create a half-open left interval.
|
1069
1069
|
|
@@ -1075,7 +1075,7 @@ class Interval:
|
|
1075
1075
|
Interval: Half-open left interval.
|
1076
1076
|
"""
|
1077
1077
|
@staticmethod
|
1078
|
-
def half_open_right(start_instant:
|
1078
|
+
def half_open_right(start_instant: typing.Any, end_instant: typing.Any) -> Interval:
|
1079
1079
|
"""
|
1080
1080
|
Create a half-open right interval.
|
1081
1081
|
|
@@ -1139,7 +1139,7 @@ class Interval:
|
|
1139
1139
|
Interval: Merged intervals.
|
1140
1140
|
"""
|
1141
1141
|
@staticmethod
|
1142
|
-
def open(start_instant:
|
1142
|
+
def open(start_instant: typing.Any, end_instant: typing.Any) -> Interval:
|
1143
1143
|
"""
|
1144
1144
|
Create a open interval.
|
1145
1145
|
|
@@ -1184,7 +1184,7 @@ class Interval:
|
|
1184
1184
|
"""
|
1185
1185
|
def __eq__(self, arg0: Interval) -> bool:
|
1186
1186
|
...
|
1187
|
-
def __init__(self, start_instant:
|
1187
|
+
def __init__(self, start_instant: typing.Any, end_instant: typing.Any, type: ostk.mathematics.object.RealInterval.Type) -> None:
|
1188
1188
|
"""
|
1189
1189
|
Constructor.
|
1190
1190
|
|
@@ -1199,7 +1199,7 @@ class Interval:
|
|
1199
1199
|
...
|
1200
1200
|
def __str__(self) -> str:
|
1201
1201
|
...
|
1202
|
-
def contains_instant(self, instant:
|
1202
|
+
def contains_instant(self, instant: typing.Any) -> bool:
|
1203
1203
|
"""
|
1204
1204
|
Check if the interval contains an instant.
|
1205
1205
|
|
ostk/physics/unit.pyi
CHANGED
@@ -190,7 +190,7 @@ class Angle:
|
|
190
190
|
Angle: An angle in revolutions.
|
191
191
|
"""
|
192
192
|
@staticmethod
|
193
|
-
def string_from_unit(unit:
|
193
|
+
def string_from_unit(unit: typing.Any) -> ostk.core.type.String:
|
194
194
|
"""
|
195
195
|
Get the string representation of an angle unit.
|
196
196
|
|
@@ -201,7 +201,7 @@ class Angle:
|
|
201
201
|
str: The string representation of an angle unit.
|
202
202
|
"""
|
203
203
|
@staticmethod
|
204
|
-
def symbol_from_unit(unit:
|
204
|
+
def symbol_from_unit(unit: typing.Any) -> ostk.core.type.String:
|
205
205
|
"""
|
206
206
|
Get the symbol representation of an angle unit.
|
207
207
|
|
@@ -244,7 +244,7 @@ class Angle:
|
|
244
244
|
def __imul__(self, arg0: ostk.core.type.Real) -> Angle:
|
245
245
|
...
|
246
246
|
@typing.overload
|
247
|
-
def __init__(self, value: ostk.core.type.Real, unit:
|
247
|
+
def __init__(self, value: ostk.core.type.Real, unit: typing.Any) -> None:
|
248
248
|
"""
|
249
249
|
Constructor.
|
250
250
|
|
@@ -374,7 +374,7 @@ class Angle:
|
|
374
374
|
Returns:
|
375
375
|
float: The angle in revolutions.
|
376
376
|
"""
|
377
|
-
def in_unit(self, unit:
|
377
|
+
def in_unit(self, unit: typing.Any) -> ostk.core.type.Real:
|
378
378
|
"""
|
379
379
|
Get the angle in the specified unit.
|
380
380
|
|
@@ -537,7 +537,7 @@ class Derived:
|
|
537
537
|
Unit: Unit.
|
538
538
|
"""
|
539
539
|
@staticmethod
|
540
|
-
def angular_velocity(angle:
|
540
|
+
def angular_velocity(angle: typing.Any, time: Time.Unit) -> Derived.Unit:
|
541
541
|
"""
|
542
542
|
Create an angular velocity unit.
|
543
543
|
|
@@ -715,7 +715,7 @@ class Derived:
|
|
715
715
|
"""
|
716
716
|
def __eq__(self, arg0: Derived.Unit) -> bool:
|
717
717
|
...
|
718
|
-
def __init__(self, arg0: Length.Unit, arg1: Derived.Order, arg2: Mass.Unit, arg3: Derived.Order, arg4: Time.Unit, arg5: Derived.Order, arg6: ElectricCurrent.Unit, arg7: Derived.Order, arg8:
|
718
|
+
def __init__(self, arg0: Length.Unit, arg1: Derived.Order, arg2: Mass.Unit, arg3: Derived.Order, arg4: Time.Unit, arg5: Derived.Order, arg6: ElectricCurrent.Unit, arg7: Derived.Order, arg8: typing.Any, arg9: Derived.Order) -> None:
|
719
719
|
...
|
720
720
|
def __ne__(self, arg0: Derived.Unit) -> bool:
|
721
721
|
...
|
@@ -742,7 +742,7 @@ class Derived:
|
|
742
742
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
743
743
|
...
|
744
744
|
@staticmethod
|
745
|
-
def string_from_unit(arg0:
|
745
|
+
def string_from_unit(arg0: typing.Any) -> ostk.core.type.String:
|
746
746
|
"""
|
747
747
|
Get string from unit.
|
748
748
|
|
@@ -753,7 +753,7 @@ class Derived:
|
|
753
753
|
str: String.
|
754
754
|
"""
|
755
755
|
@staticmethod
|
756
|
-
def symbol_from_unit(arg0:
|
756
|
+
def symbol_from_unit(arg0: typing.Any) -> ostk.core.type.String:
|
757
757
|
"""
|
758
758
|
Get symbol from unit.
|
759
759
|
|
@@ -773,7 +773,7 @@ class Derived:
|
|
773
773
|
"""
|
774
774
|
def __eq__(self, arg0: Derived) -> bool:
|
775
775
|
...
|
776
|
-
def __init__(self, arg0: ostk.core.type.Real, arg1:
|
776
|
+
def __init__(self, arg0: ostk.core.type.Real, arg1: typing.Any) -> None:
|
777
777
|
"""
|
778
778
|
Constructor.
|
779
779
|
|
@@ -794,7 +794,7 @@ class Derived:
|
|
794
794
|
Returns:
|
795
795
|
Unit: Unit.
|
796
796
|
"""
|
797
|
-
def in_unit(self, arg0:
|
797
|
+
def in_unit(self, arg0: typing.Any) -> ostk.core.type.Real:
|
798
798
|
"""
|
799
799
|
Convert to unit.
|
800
800
|
|
@@ -883,7 +883,7 @@ class ElectricCurrent:
|
|
883
883
|
ElectricCurrent: An electric current in amperes.
|
884
884
|
"""
|
885
885
|
@staticmethod
|
886
|
-
def string_from_unit(arg0:
|
886
|
+
def string_from_unit(arg0: typing.Any) -> ostk.core.type.String:
|
887
887
|
"""
|
888
888
|
Get the string representation of an electric current unit.
|
889
889
|
|
@@ -891,7 +891,7 @@ class ElectricCurrent:
|
|
891
891
|
str: The string representation.
|
892
892
|
"""
|
893
893
|
@staticmethod
|
894
|
-
def symbol_from_unit(arg0:
|
894
|
+
def symbol_from_unit(arg0: typing.Any) -> ostk.core.type.String:
|
895
895
|
"""
|
896
896
|
Get the symbol of an electric current unit.
|
897
897
|
|
@@ -908,7 +908,7 @@ class ElectricCurrent:
|
|
908
908
|
"""
|
909
909
|
def __eq__(self, arg0: ElectricCurrent) -> bool:
|
910
910
|
...
|
911
|
-
def __init__(self, arg0: ostk.core.type.Real, arg1:
|
911
|
+
def __init__(self, arg0: ostk.core.type.Real, arg1: typing.Any) -> None:
|
912
912
|
"""
|
913
913
|
Constructor.
|
914
914
|
|
@@ -934,7 +934,7 @@ class ElectricCurrent:
|
|
934
934
|
Returns:
|
935
935
|
float: The electric current in amperes.
|
936
936
|
"""
|
937
|
-
def in_unit(self, arg0:
|
937
|
+
def in_unit(self, arg0: typing.Any) -> ostk.core.type.Real:
|
938
938
|
"""
|
939
939
|
Get the electric current in a given unit.
|
940
940
|
|
@@ -1159,7 +1159,7 @@ class Length:
|
|
1159
1159
|
Length: A length.
|
1160
1160
|
"""
|
1161
1161
|
@staticmethod
|
1162
|
-
def string_from_unit(arg0:
|
1162
|
+
def string_from_unit(arg0: typing.Any) -> ostk.core.type.String:
|
1163
1163
|
"""
|
1164
1164
|
Get the string representation of a length unit.
|
1165
1165
|
|
@@ -1167,7 +1167,7 @@ class Length:
|
|
1167
1167
|
str: The string representation.
|
1168
1168
|
"""
|
1169
1169
|
@staticmethod
|
1170
|
-
def symbol_from_unit(arg0:
|
1170
|
+
def symbol_from_unit(arg0: typing.Any) -> ostk.core.type.String:
|
1171
1171
|
"""
|
1172
1172
|
Get the symbol of a length unit.
|
1173
1173
|
|
@@ -1194,7 +1194,7 @@ class Length:
|
|
1194
1194
|
...
|
1195
1195
|
def __imul__(self, arg0: ostk.core.type.Real) -> Length:
|
1196
1196
|
...
|
1197
|
-
def __init__(self, arg0: ostk.core.type.Real, arg1:
|
1197
|
+
def __init__(self, arg0: ostk.core.type.Real, arg1: typing.Any) -> None:
|
1198
1198
|
"""
|
1199
1199
|
Constructor.
|
1200
1200
|
|
@@ -1247,7 +1247,7 @@ class Length:
|
|
1247
1247
|
Returns:
|
1248
1248
|
float: The length in meters.
|
1249
1249
|
"""
|
1250
|
-
def in_unit(self, arg0:
|
1250
|
+
def in_unit(self, arg0: typing.Any) -> ostk.core.type.Real:
|
1251
1251
|
"""
|
1252
1252
|
Get the length in a given unit.
|
1253
1253
|
|
@@ -1361,7 +1361,7 @@ class Mass:
|
|
1361
1361
|
Mass: A mass.
|
1362
1362
|
"""
|
1363
1363
|
@staticmethod
|
1364
|
-
def string_from_unit(arg0:
|
1364
|
+
def string_from_unit(arg0: typing.Any) -> ostk.core.type.String:
|
1365
1365
|
"""
|
1366
1366
|
Get string from unit.
|
1367
1367
|
|
@@ -1369,7 +1369,7 @@ class Mass:
|
|
1369
1369
|
str: A string.
|
1370
1370
|
"""
|
1371
1371
|
@staticmethod
|
1372
|
-
def symbol_from_unit(arg0:
|
1372
|
+
def symbol_from_unit(arg0: typing.Any) -> ostk.core.type.String:
|
1373
1373
|
"""
|
1374
1374
|
Get symbol from unit.
|
1375
1375
|
|
@@ -1386,7 +1386,7 @@ class Mass:
|
|
1386
1386
|
"""
|
1387
1387
|
def __eq__(self, arg0: Mass) -> bool:
|
1388
1388
|
...
|
1389
|
-
def __init__(self, arg0: ostk.core.type.Real, arg1:
|
1389
|
+
def __init__(self, arg0: ostk.core.type.Real, arg1: typing.Any) -> None:
|
1390
1390
|
"""
|
1391
1391
|
Constructor.
|
1392
1392
|
|
@@ -1412,7 +1412,7 @@ class Mass:
|
|
1412
1412
|
Returns:
|
1413
1413
|
float: Mass in kilograms.
|
1414
1414
|
"""
|
1415
|
-
def in_unit(self, arg0:
|
1415
|
+
def in_unit(self, arg0: typing.Any) -> ostk.core.type.Real:
|
1416
1416
|
"""
|
1417
1417
|
Convert mass to unit.
|
1418
1418
|
|
@@ -1528,7 +1528,7 @@ class Time:
|
|
1528
1528
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
1529
1529
|
...
|
1530
1530
|
@staticmethod
|
1531
|
-
def string_from_unit(arg0:
|
1531
|
+
def string_from_unit(arg0: typing.Any) -> ostk.core.type.String:
|
1532
1532
|
"""
|
1533
1533
|
Get the string representation from a time unit.
|
1534
1534
|
|
@@ -1539,7 +1539,7 @@ class Time:
|
|
1539
1539
|
str: String representation.
|
1540
1540
|
"""
|
1541
1541
|
@staticmethod
|
1542
|
-
def symbol_from_unit(arg0:
|
1542
|
+
def symbol_from_unit(arg0: typing.Any) -> ostk.core.type.String:
|
1543
1543
|
"""
|
1544
1544
|
Get the symbol representation from a time unit.
|
1545
1545
|
|
@@ -1559,7 +1559,7 @@ class Time:
|
|
1559
1559
|
"""
|
1560
1560
|
def __eq__(self, arg0: Time) -> bool:
|
1561
1561
|
...
|
1562
|
-
def __init__(self, arg0: ostk.core.type.Real, arg1:
|
1562
|
+
def __init__(self, arg0: ostk.core.type.Real, arg1: typing.Any) -> None:
|
1563
1563
|
"""
|
1564
1564
|
Constructor.
|
1565
1565
|
|
ostk/physics/py.typed
DELETED
File without changes
|
{open_space_toolkit_physics-11.3.0.dist-info → open_space_toolkit_physics-12.0.0.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
{open_space_toolkit_physics-11.3.0.dist-info → open_space_toolkit_physics-12.0.0.dist-info}/zip-safe
RENAMED
File without changes
|