open-space-toolkit-mathematics 4.4.0__py313-none-manylinux2014_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of open-space-toolkit-mathematics might be problematic. Click here for more details.
- open_space_toolkit_mathematics-4.4.0.dist-info/METADATA +28 -0
- open_space_toolkit_mathematics-4.4.0.dist-info/RECORD +69 -0
- open_space_toolkit_mathematics-4.4.0.dist-info/WHEEL +5 -0
- open_space_toolkit_mathematics-4.4.0.dist-info/top_level.txt +1 -0
- open_space_toolkit_mathematics-4.4.0.dist-info/zip-safe +1 -0
- ostk/__init__.py +1 -0
- ostk/mathematics/OpenSpaceToolkitMathematicsPy.cpython-313-x86_64-linux-gnu.so +0 -0
- ostk/mathematics/__init__.py +5 -0
- ostk/mathematics/__init__.pyi +11 -0
- ostk/mathematics/curve_fitting/__init__.pyi +65 -0
- ostk/mathematics/curve_fitting/interpolator.pyi +46 -0
- ostk/mathematics/geometry/__init__.pyi +178 -0
- ostk/mathematics/geometry/d2/__init__.pyi +315 -0
- ostk/mathematics/geometry/d2/object.pyi +405 -0
- ostk/mathematics/geometry/d3/__init__.pyi +351 -0
- ostk/mathematics/geometry/d3/object.pyi +837 -0
- ostk/mathematics/geometry/d3/transformation/__init__.pyi +3 -0
- ostk/mathematics/geometry/d3/transformation/rotation.pyi +421 -0
- ostk/mathematics/libopen-space-toolkit-mathematics.so.4 +0 -0
- ostk/mathematics/object.pyi +123 -0
- ostk/mathematics/py.typed +0 -0
- ostk/mathematics/solver.pyi +147 -0
- ostk/mathematics/test/__init__.py +1 -0
- ostk/mathematics/test/curve_fitting/__init__.py +1 -0
- ostk/mathematics/test/curve_fitting/interpolator/__init__.py +1 -0
- ostk/mathematics/test/curve_fitting/interpolator/test_barycentric_rational.py +34 -0
- ostk/mathematics/test/curve_fitting/interpolator/test_cubic_spline.py +45 -0
- ostk/mathematics/test/curve_fitting/interpolator/test_interpolator.py +71 -0
- ostk/mathematics/test/curve_fitting/interpolator/test_linear.py +35 -0
- ostk/mathematics/test/geometry/__init__.py +1 -0
- ostk/mathematics/test/geometry/d2/__init__.py +1 -0
- ostk/mathematics/test/geometry/d2/conftest.py +82 -0
- ostk/mathematics/test/geometry/d2/object/__init__.py +1 -0
- ostk/mathematics/test/geometry/d2/object/test_composite.py +96 -0
- ostk/mathematics/test/geometry/d2/object/test_line.py +57 -0
- ostk/mathematics/test/geometry/d2/object/test_linestring.py +174 -0
- ostk/mathematics/test/geometry/d2/object/test_multipolygon.py +101 -0
- ostk/mathematics/test/geometry/d2/object/test_point.py +213 -0
- ostk/mathematics/test/geometry/d2/object/test_point_set.py +103 -0
- ostk/mathematics/test/geometry/d2/object/test_polygon.py +370 -0
- ostk/mathematics/test/geometry/d2/object/test_segment.py +104 -0
- ostk/mathematics/test/geometry/d2/test_object.py +25 -0
- ostk/mathematics/test/geometry/d2/test_transformation.py +84 -0
- ostk/mathematics/test/geometry/d3/__init__.py +1 -0
- ostk/mathematics/test/geometry/d3/object/__init__.py +1 -0
- ostk/mathematics/test/geometry/d3/object/test_composite.py +262 -0
- ostk/mathematics/test/geometry/d3/object/test_cuboid.py +20 -0
- ostk/mathematics/test/geometry/d3/object/test_line.py +68 -0
- ostk/mathematics/test/geometry/d3/object/test_linestring.py +168 -0
- ostk/mathematics/test/geometry/d3/object/test_point.py +234 -0
- ostk/mathematics/test/geometry/d3/object/test_point_set.py +116 -0
- ostk/mathematics/test/geometry/d3/object/test_polygon.py +141 -0
- ostk/mathematics/test/geometry/d3/object/test_segment.py +120 -0
- ostk/mathematics/test/geometry/d3/objects/test_cuboid.py +20 -0
- ostk/mathematics/test/geometry/d3/test_intersection.py +3 -0
- ostk/mathematics/test/geometry/d3/test_object.py +3 -0
- ostk/mathematics/test/geometry/d3/test_transformation.py +3 -0
- ostk/mathematics/test/geometry/d3/transformation/__init__.py +1 -0
- ostk/mathematics/test/geometry/d3/transformation/rotation/__init__.py +1 -0
- ostk/mathematics/test/geometry/d3/transformation/rotation/test_euler_angle.py +138 -0
- ostk/mathematics/test/geometry/d3/transformation/rotation/test_quaternion.py +185 -0
- ostk/mathematics/test/geometry/d3/transformation/rotation/test_rotation_matrix.py +29 -0
- ostk/mathematics/test/geometry/d3/transformation/rotation/test_rotation_vector.py +47 -0
- ostk/mathematics/test/geometry/test_angle.py +345 -0
- ostk/mathematics/test/object/__init__.py +1 -0
- ostk/mathematics/test/object/test_interval.py +515 -0
- ostk/mathematics/test/object/test_vector.py +5 -0
- ostk/mathematics/test/solver/test_numerical_solver.py +176 -0
- ostk/mathematics/test/test_object.py +24 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: open-space-toolkit-mathematics
|
|
3
|
+
Version: 4.4.0
|
|
4
|
+
Summary: Geometry, curve fitting, optimization.
|
|
5
|
+
Author: Open Space Collective
|
|
6
|
+
Author-email: contact@open-space-collective.org
|
|
7
|
+
License: Apache License 2.0
|
|
8
|
+
Keywords: open-space-collective,open-space-toolkit mathematics
|
|
9
|
+
Classifier: Development Status :: 3 - Alpha
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
12
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
Requires-Dist: numpy<3.0,>=1.0
|
|
15
|
+
Requires-Dist: open-space-toolkit-core~=5.0
|
|
16
|
+
|
|
17
|
+
# Open Space Toolkit ▸ Mathematics
|
|
18
|
+
|
|
19
|
+
Geometry, curve fitting, optimization.
|
|
20
|
+
|
|
21
|
+
[](https://github.com/open-space-collective/open-space-toolkit-mathematics/actions/workflows/build-test.yml)
|
|
22
|
+
[](https://codecov.io/gh/open-space-collective/open-space-toolkit-mathematics)
|
|
23
|
+
[](https://open-space-collective.github.io/open-space-toolkit-mathematics)
|
|
24
|
+
[](https://badge.fury.io/gh/open-space-collective%2Fopen-space-toolkit-mathematics)
|
|
25
|
+
[](https://badge.fury.io/py/open-space-toolkit-mathematics)
|
|
26
|
+
[](https://opensource.org/licenses/Apache-2.0)
|
|
27
|
+
|
|
28
|
+
[GitHub](https://github.com/open-space-collective/open-space-toolkit-mathematics)
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
ostk/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
|
2
|
+
ostk/mathematics/OpenSpaceToolkitMathematicsPy.cpython-313-x86_64-linux-gnu.so,sha256=8s0mneJxOeuNQr5xr7vqz0erqM405aqyvLJj6OFYGXo,1779608
|
|
3
|
+
ostk/mathematics/__init__.py,sha256=U81I6jh2hIPyuT4dtZjNcLi-CQ8yXIvtFn32tVK1YCY,92
|
|
4
|
+
ostk/mathematics/__init__.pyi,sha256=J_InNBNyrZgyfVQ-r8PVZq37Wb9kM0acE4BZW2Jwo14,484
|
|
5
|
+
ostk/mathematics/libopen-space-toolkit-mathematics.so.4,sha256=PtmHAeb7KppFnSltp--eyLrG2u3HbTpTXCgcfCkdqnQ,91615832
|
|
6
|
+
ostk/mathematics/object.pyi,sha256=xe3gaG5Cw3yhHNYPHCUboPfwpHdLZzj5nCOL_IJtRO0,4338
|
|
7
|
+
ostk/mathematics/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
|
+
ostk/mathematics/solver.pyi,sha256=i38tbVDHD15NKnn6KYQP-xexVG5muIhpJ2ewcYY3WSw,5592
|
|
9
|
+
ostk/mathematics/curve_fitting/__init__.pyi,sha256=1zdh7bItrqhSU1hNZngSSDUGP-8jjGDCxIlF-EyNr_A,2213
|
|
10
|
+
ostk/mathematics/curve_fitting/interpolator.pyi,sha256=YokiLmQJEsPg2MfhWg9FAVZW6uvZPyXFJ2RQFUmy3to,1781
|
|
11
|
+
ostk/mathematics/geometry/__init__.pyi,sha256=Gov_9ggOwVOA4QL_yLWaw-d0PXxbCQ8SBqNWmlrbFjA,5612
|
|
12
|
+
ostk/mathematics/geometry/d2/__init__.pyi,sha256=yq1fxvSEzd46PU_Av0KYRl794UJ50VYq4mzYEY0VCtI,9942
|
|
13
|
+
ostk/mathematics/geometry/d2/object.pyi,sha256=1D-UTuVeyL3Ie2mRvUGChbsiWwwTkN77tL8IiptW0og,12670
|
|
14
|
+
ostk/mathematics/geometry/d3/__init__.pyi,sha256=Kh2UqsmAse9OewXtz4lW__AkoGJ0Kk4ZXepE9Ta3wFs,10580
|
|
15
|
+
ostk/mathematics/geometry/d3/object.pyi,sha256=snyvxQir8GeGD5U5zInhmpu0l7Sap4spWzhrUOVqXBk,25638
|
|
16
|
+
ostk/mathematics/geometry/d3/transformation/__init__.pyi,sha256=wjoTgfldZsg2a26-4iRZd_FyMFFWRYa2FfQmm55-4b0,81
|
|
17
|
+
ostk/mathematics/geometry/d3/transformation/rotation.pyi,sha256=vSKlPT6odMaushrIJyfHKFqzgOp6uF6Y7misgPqCEaw,14034
|
|
18
|
+
ostk/mathematics/test/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
|
19
|
+
ostk/mathematics/test/test_object.py,sha256=WtksTu9zz8_UNkQYKLO64nNBFDBkRWM_DXFuAWTdKUM,1027
|
|
20
|
+
ostk/mathematics/test/curve_fitting/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
|
21
|
+
ostk/mathematics/test/curve_fitting/interpolator/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
|
22
|
+
ostk/mathematics/test/curve_fitting/interpolator/test_barycentric_rational.py,sha256=T2aqrwvb48GrIsNzH2tZpwM5Pc7HQfPx73yvxx-0A6o,1117
|
|
23
|
+
ostk/mathematics/test/curve_fitting/interpolator/test_cubic_spline.py,sha256=h2u0_0neNHKzgh4-i25VWSGZLJe6bzP2waZ-GRy8thc,1378
|
|
24
|
+
ostk/mathematics/test/curve_fitting/interpolator/test_interpolator.py,sha256=46px5NKN8TJO9L9KbopsK9pixq0j3_Xu7PchDQTSEPQ,2093
|
|
25
|
+
ostk/mathematics/test/curve_fitting/interpolator/test_linear.py,sha256=9axYpdxqQksp5SNEDdDgq2NMLyBO_q0Y-HYhEbsb9wY,1111
|
|
26
|
+
ostk/mathematics/test/geometry/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
|
27
|
+
ostk/mathematics/test/geometry/test_angle.py,sha256=HOzlWUApgN6LN0g0Zts0cFQ6In_nmbYpFb3CnWWHVR0,10136
|
|
28
|
+
ostk/mathematics/test/geometry/d2/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
|
29
|
+
ostk/mathematics/test/geometry/d2/conftest.py,sha256=pKLQ32AMokx_5-Y5Xks9kj-okj1o6vn2XUOkU1RWkPE,1759
|
|
30
|
+
ostk/mathematics/test/geometry/d2/test_object.py,sha256=JwyeSL4JIR8LY2is0SJKdoTeKiJINDv4b8uFd6dY75c,546
|
|
31
|
+
ostk/mathematics/test/geometry/d2/test_transformation.py,sha256=WEG_qVZFx-0wZB6Qn3uHKBGdEJ04fq5Vds2Kqx_YkO0,2095
|
|
32
|
+
ostk/mathematics/test/geometry/d2/object/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
|
33
|
+
ostk/mathematics/test/geometry/d2/object/test_composite.py,sha256=w7-pm2fsoRutDGmQ7ZJjm1X6yW-OHl6w7oArrT7_VxA,2763
|
|
34
|
+
ostk/mathematics/test/geometry/d2/object/test_line.py,sha256=Dr0uHk-gFLJcsC69W1DBCvvipLlAbTVPBxigJGKXORQ,1433
|
|
35
|
+
ostk/mathematics/test/geometry/d2/object/test_linestring.py,sha256=EucjDiSSQ2Ab3-huWtfanE6Cb0Jazb78LUuiFnpe8Mo,5933
|
|
36
|
+
ostk/mathematics/test/geometry/d2/object/test_multipolygon.py,sha256=kxLhoygnMIiSreFvf3C2nycFpZjZCHcit96cN0y5QYo,3543
|
|
37
|
+
ostk/mathematics/test/geometry/d2/object/test_point.py,sha256=Eoq1FAYB6W4yrjpassgG9PRb3Zdg2DOjpmTZZuNiQ9M,6457
|
|
38
|
+
ostk/mathematics/test/geometry/d2/object/test_point_set.py,sha256=hxrck57IHXDkZa0FV717eAvj_sbDtUIqC2LX-ae4EZ0,3337
|
|
39
|
+
ostk/mathematics/test/geometry/d2/object/test_polygon.py,sha256=fHEJDXmzgl24-eQ3gMGIBwNZsEa-3F6_8T6eLzaVgFI,12621
|
|
40
|
+
ostk/mathematics/test/geometry/d2/object/test_segment.py,sha256=M1QTkseGo1ADeslcEl5JzlQEc_1-1LpBV4av_FuPX7E,3072
|
|
41
|
+
ostk/mathematics/test/geometry/d3/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
|
42
|
+
ostk/mathematics/test/geometry/d3/test_intersection.py,sha256=7QrduhVXyTHG0lGLEHNgv4olvFrR6TR0MNgu9acmRd4,61
|
|
43
|
+
ostk/mathematics/test/geometry/d3/test_object.py,sha256=7QrduhVXyTHG0lGLEHNgv4olvFrR6TR0MNgu9acmRd4,61
|
|
44
|
+
ostk/mathematics/test/geometry/d3/test_transformation.py,sha256=7QrduhVXyTHG0lGLEHNgv4olvFrR6TR0MNgu9acmRd4,61
|
|
45
|
+
ostk/mathematics/test/geometry/d3/object/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
|
46
|
+
ostk/mathematics/test/geometry/d3/object/test_composite.py,sha256=03wi6k35a2lwyM29q5STjqX4CHL1IofYm2hBzERQlzU,7710
|
|
47
|
+
ostk/mathematics/test/geometry/d3/object/test_cuboid.py,sha256=xJp6ImRnkNw_k6Tt8RaSXlsGnSqM-SlQSBfbm7SwJuA,470
|
|
48
|
+
ostk/mathematics/test/geometry/d3/object/test_line.py,sha256=d-CvDjXeH1WQcleCU2yt4FdHLhWgy45NGzn3mEwy6xE,1690
|
|
49
|
+
ostk/mathematics/test/geometry/d3/object/test_linestring.py,sha256=L2gEJGDOaP17RgbLbX0-kBjskW_MrPLxVyf_l9yyxag,5938
|
|
50
|
+
ostk/mathematics/test/geometry/d3/object/test_point.py,sha256=-5Cjy3Pru3UWbMO7vBDNiJYfUkqVVxxZtDgsMYYaosc,6611
|
|
51
|
+
ostk/mathematics/test/geometry/d3/object/test_point_set.py,sha256=ceMRMNcnVAAsuMWORMW6wwJDNbTtMn3y-4rWR04QnPM,3605
|
|
52
|
+
ostk/mathematics/test/geometry/d3/object/test_polygon.py,sha256=7ZjucWMsNzppN3pptxHgGgOtOGv1grseT7VnctgOJP4,4262
|
|
53
|
+
ostk/mathematics/test/geometry/d3/object/test_segment.py,sha256=HWg-BCJoa74EgWlvUPd85v_qR2p9THi0ejhtG0EQNEA,4027
|
|
54
|
+
ostk/mathematics/test/geometry/d3/objects/test_cuboid.py,sha256=uIDwPbkygXFIopKc2kayKYgadNfOKD_zxf3w2J4DfTY,471
|
|
55
|
+
ostk/mathematics/test/geometry/d3/transformation/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
|
56
|
+
ostk/mathematics/test/geometry/d3/transformation/rotation/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
|
57
|
+
ostk/mathematics/test/geometry/d3/transformation/rotation/test_euler_angle.py,sha256=eTIxAqUfCQj6eZfoQgNu-1xFg0O4sbKk4n8XHQwXD2E,4393
|
|
58
|
+
ostk/mathematics/test/geometry/d3/transformation/rotation/test_quaternion.py,sha256=ZEWCuRzt6ss2Li6E67LfGO_sh6CXCsDiylNSuaCWtx8,6920
|
|
59
|
+
ostk/mathematics/test/geometry/d3/transformation/rotation/test_rotation_matrix.py,sha256=pD-zR2e1uMTD2eenjQiFPPMKji_gdnuYPuDYQ7pGgUg,1055
|
|
60
|
+
ostk/mathematics/test/geometry/d3/transformation/rotation/test_rotation_vector.py,sha256=ngzrvqH_0QRGwNsWc2RupUkpsTU5vZI-eoh5q2BkKRQ,1568
|
|
61
|
+
ostk/mathematics/test/object/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
|
62
|
+
ostk/mathematics/test/object/test_interval.py,sha256=rf7tL-m76inO18rzxopkWrk-cSjKhoN5xXek6e53wAU,21708
|
|
63
|
+
ostk/mathematics/test/object/test_vector.py,sha256=5MG3s8vhgoGKAIc5GzswlZObyIrJDIPNtsEd5wNORPU,76
|
|
64
|
+
ostk/mathematics/test/solver/test_numerical_solver.py,sha256=5Z7uXlvfQ_pjrSAOd7ff-ky5pjRZk3-R0F565FfCUrU,5672
|
|
65
|
+
open_space_toolkit_mathematics-4.4.0.dist-info/METADATA,sha256=acrk0-aXCHZimUjQf2VhFXVHQVVTzQ-aR8uMPmoFXdU,1804
|
|
66
|
+
open_space_toolkit_mathematics-4.4.0.dist-info/WHEEL,sha256=tYxIONYs3ivmw21Nz6roIs7SUMlOyYL1781kzpAyrT8,110
|
|
67
|
+
open_space_toolkit_mathematics-4.4.0.dist-info/top_level.txt,sha256=zOR18699uDYnafgarhL8WU_LmTZY_5NVqutv-flp_x4,5
|
|
68
|
+
open_space_toolkit_mathematics-4.4.0.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
69
|
+
open_space_toolkit_mathematics-4.4.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ostk
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
ostk/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# Apache License 2.0
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
from ostk.core import type
|
|
6
|
+
from ostk import mathematics as OpenSpaceToolkitMathematicsPy
|
|
7
|
+
from . import curve_fitting
|
|
8
|
+
from . import geometry
|
|
9
|
+
from . import object
|
|
10
|
+
from . import solver
|
|
11
|
+
__all__ = ['OpenSpaceToolkitCorePy', 'OpenSpaceToolkitMathematicsPy', 'container', 'curve_fitting', 'filesystem', 'geometry', 'object', 'solver', 'type']
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
import numpy
|
|
3
|
+
import typing
|
|
4
|
+
from . import interpolator
|
|
5
|
+
__all__ = ['Interpolator', 'interpolator']
|
|
6
|
+
class Interpolator:
|
|
7
|
+
class Type:
|
|
8
|
+
"""
|
|
9
|
+
Members:
|
|
10
|
+
|
|
11
|
+
BarycentricRational
|
|
12
|
+
|
|
13
|
+
CubicSpline
|
|
14
|
+
|
|
15
|
+
Linear
|
|
16
|
+
"""
|
|
17
|
+
BarycentricRational: typing.ClassVar[Interpolator.Type] # value = <Type.BarycentricRational: 0>
|
|
18
|
+
CubicSpline: typing.ClassVar[Interpolator.Type] # value = <Type.CubicSpline: 1>
|
|
19
|
+
Linear: typing.ClassVar[Interpolator.Type] # value = <Type.Linear: 2>
|
|
20
|
+
__members__: typing.ClassVar[dict[str, Interpolator.Type]] # value = {'BarycentricRational': <Type.BarycentricRational: 0>, 'CubicSpline': <Type.CubicSpline: 1>, 'Linear': <Type.Linear: 2>}
|
|
21
|
+
@staticmethod
|
|
22
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
23
|
+
...
|
|
24
|
+
def __eq__(self, other: typing.Any) -> bool:
|
|
25
|
+
...
|
|
26
|
+
def __getstate__(self) -> int:
|
|
27
|
+
...
|
|
28
|
+
def __hash__(self) -> int:
|
|
29
|
+
...
|
|
30
|
+
def __index__(self) -> int:
|
|
31
|
+
...
|
|
32
|
+
def __init__(self, value: int) -> None:
|
|
33
|
+
...
|
|
34
|
+
def __int__(self) -> int:
|
|
35
|
+
...
|
|
36
|
+
def __ne__(self, other: typing.Any) -> bool:
|
|
37
|
+
...
|
|
38
|
+
def __repr__(self) -> str:
|
|
39
|
+
...
|
|
40
|
+
def __setstate__(self, state: int) -> None:
|
|
41
|
+
...
|
|
42
|
+
def __str__(self) -> str:
|
|
43
|
+
...
|
|
44
|
+
@property
|
|
45
|
+
def name(self) -> str:
|
|
46
|
+
...
|
|
47
|
+
@property
|
|
48
|
+
def value(self) -> int:
|
|
49
|
+
...
|
|
50
|
+
@staticmethod
|
|
51
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
52
|
+
...
|
|
53
|
+
@staticmethod
|
|
54
|
+
def generate_interpolator(interpolation_type: Interpolator.Type, x: numpy.ndarray[numpy.float64[m, 1]], y: numpy.ndarray[numpy.float64[m, 1]]) -> Interpolator:
|
|
55
|
+
...
|
|
56
|
+
def __init__(self, interpolation_type: Interpolator.Type) -> None:
|
|
57
|
+
...
|
|
58
|
+
@typing.overload
|
|
59
|
+
def evaluate(self, x: numpy.ndarray[numpy.float64[m, 1]]) -> numpy.ndarray[numpy.float64[m, 1]]:
|
|
60
|
+
...
|
|
61
|
+
@typing.overload
|
|
62
|
+
def evaluate(self, x: float) -> float:
|
|
63
|
+
...
|
|
64
|
+
def get_interpolation_type(self) -> Interpolator.Type:
|
|
65
|
+
...
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
import numpy
|
|
3
|
+
import ostk.core.type
|
|
4
|
+
import ostk.mathematics.curve_fitting
|
|
5
|
+
import typing
|
|
6
|
+
__all__ = ['BarycentricRational', 'CubicSpline', 'Linear']
|
|
7
|
+
class BarycentricRational(ostk.mathematics.curve_fitting.Interpolator):
|
|
8
|
+
@staticmethod
|
|
9
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
10
|
+
...
|
|
11
|
+
def __init__(self, x: numpy.ndarray[numpy.float64[m, 1]], y: numpy.ndarray[numpy.float64[m, 1]]) -> None:
|
|
12
|
+
...
|
|
13
|
+
@typing.overload
|
|
14
|
+
def evaluate(self, x: numpy.ndarray[numpy.float64[m, 1]]) -> numpy.ndarray[numpy.float64[m, 1]]:
|
|
15
|
+
...
|
|
16
|
+
@typing.overload
|
|
17
|
+
def evaluate(self, x: float) -> float:
|
|
18
|
+
...
|
|
19
|
+
class CubicSpline(ostk.mathematics.curve_fitting.Interpolator):
|
|
20
|
+
@staticmethod
|
|
21
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
22
|
+
...
|
|
23
|
+
@typing.overload
|
|
24
|
+
def __init__(self, x: numpy.ndarray[numpy.float64[m, 1]], y: numpy.ndarray[numpy.float64[m, 1]]) -> None:
|
|
25
|
+
...
|
|
26
|
+
@typing.overload
|
|
27
|
+
def __init__(self, y: numpy.ndarray[numpy.float64[m, 1]], x_0: ostk.core.type.Real, h: ostk.core.type.Real) -> None:
|
|
28
|
+
...
|
|
29
|
+
@typing.overload
|
|
30
|
+
def evaluate(self, x: numpy.ndarray[numpy.float64[m, 1]]) -> numpy.ndarray[numpy.float64[m, 1]]:
|
|
31
|
+
...
|
|
32
|
+
@typing.overload
|
|
33
|
+
def evaluate(self, x: float) -> float:
|
|
34
|
+
...
|
|
35
|
+
class Linear(ostk.mathematics.curve_fitting.Interpolator):
|
|
36
|
+
@staticmethod
|
|
37
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
38
|
+
...
|
|
39
|
+
def __init__(self, x: numpy.ndarray[numpy.float64[m, 1]], y: numpy.ndarray[numpy.float64[m, 1]]) -> None:
|
|
40
|
+
...
|
|
41
|
+
@typing.overload
|
|
42
|
+
def evaluate(self, x: numpy.ndarray[numpy.float64[m, 1]]) -> numpy.ndarray[numpy.float64[m, 1]]:
|
|
43
|
+
...
|
|
44
|
+
@typing.overload
|
|
45
|
+
def evaluate(self, x: float) -> float:
|
|
46
|
+
...
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
import numpy
|
|
3
|
+
import ostk.core.type
|
|
4
|
+
import typing
|
|
5
|
+
from . import d2
|
|
6
|
+
from . import d3
|
|
7
|
+
__all__ = ['Angle', 'd2', 'd3']
|
|
8
|
+
class Angle:
|
|
9
|
+
class Unit:
|
|
10
|
+
"""
|
|
11
|
+
Members:
|
|
12
|
+
|
|
13
|
+
Undefined
|
|
14
|
+
|
|
15
|
+
Radian
|
|
16
|
+
|
|
17
|
+
Degree
|
|
18
|
+
|
|
19
|
+
Arcminute
|
|
20
|
+
|
|
21
|
+
Arcsecond
|
|
22
|
+
|
|
23
|
+
Revolution
|
|
24
|
+
"""
|
|
25
|
+
Arcminute: typing.ClassVar[Angle.Unit] # value = <Unit.Arcminute: 3>
|
|
26
|
+
Arcsecond: typing.ClassVar[Angle.Unit] # value = <Unit.Arcsecond: 4>
|
|
27
|
+
Degree: typing.ClassVar[Angle.Unit] # value = <Unit.Degree: 2>
|
|
28
|
+
Radian: typing.ClassVar[Angle.Unit] # value = <Unit.Radian: 1>
|
|
29
|
+
Revolution: typing.ClassVar[Angle.Unit] # value = <Unit.Revolution: 5>
|
|
30
|
+
Undefined: typing.ClassVar[Angle.Unit] # value = <Unit.Undefined: 0>
|
|
31
|
+
__members__: typing.ClassVar[dict[str, Angle.Unit]] # value = {'Undefined': <Unit.Undefined: 0>, 'Radian': <Unit.Radian: 1>, 'Degree': <Unit.Degree: 2>, 'Arcminute': <Unit.Arcminute: 3>, 'Arcsecond': <Unit.Arcsecond: 4>, 'Revolution': <Unit.Revolution: 5>}
|
|
32
|
+
@staticmethod
|
|
33
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
34
|
+
...
|
|
35
|
+
def __eq__(self, other: typing.Any) -> bool:
|
|
36
|
+
...
|
|
37
|
+
def __getstate__(self) -> int:
|
|
38
|
+
...
|
|
39
|
+
def __hash__(self) -> int:
|
|
40
|
+
...
|
|
41
|
+
def __index__(self) -> int:
|
|
42
|
+
...
|
|
43
|
+
def __init__(self, value: int) -> None:
|
|
44
|
+
...
|
|
45
|
+
def __int__(self) -> int:
|
|
46
|
+
...
|
|
47
|
+
def __ne__(self, other: typing.Any) -> bool:
|
|
48
|
+
...
|
|
49
|
+
def __repr__(self) -> str:
|
|
50
|
+
...
|
|
51
|
+
def __setstate__(self, state: int) -> None:
|
|
52
|
+
...
|
|
53
|
+
def __str__(self) -> str:
|
|
54
|
+
...
|
|
55
|
+
@property
|
|
56
|
+
def name(self) -> str:
|
|
57
|
+
...
|
|
58
|
+
@property
|
|
59
|
+
def value(self) -> int:
|
|
60
|
+
...
|
|
61
|
+
__hash__: typing.ClassVar[None] = None
|
|
62
|
+
@staticmethod
|
|
63
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
64
|
+
...
|
|
65
|
+
@staticmethod
|
|
66
|
+
def arcminutes(value: ostk.core.type.Real) -> Angle:
|
|
67
|
+
...
|
|
68
|
+
@staticmethod
|
|
69
|
+
def arcseconds(value: ostk.core.type.Real) -> Angle:
|
|
70
|
+
...
|
|
71
|
+
@staticmethod
|
|
72
|
+
@typing.overload
|
|
73
|
+
def between(first_vector: numpy.ndarray[numpy.float64[2, 1]], second_vector: numpy.ndarray[numpy.float64[2, 1]]) -> Angle:
|
|
74
|
+
...
|
|
75
|
+
@staticmethod
|
|
76
|
+
@typing.overload
|
|
77
|
+
def between(first_vector: numpy.ndarray[numpy.float64[3, 1]], second_vector: numpy.ndarray[numpy.float64[3, 1]]) -> Angle:
|
|
78
|
+
...
|
|
79
|
+
@staticmethod
|
|
80
|
+
def degrees(value: ostk.core.type.Real) -> Angle:
|
|
81
|
+
...
|
|
82
|
+
@staticmethod
|
|
83
|
+
def half_pi() -> Angle:
|
|
84
|
+
...
|
|
85
|
+
@staticmethod
|
|
86
|
+
def pi() -> Angle:
|
|
87
|
+
...
|
|
88
|
+
@staticmethod
|
|
89
|
+
def radians(value: ostk.core.type.Real) -> Angle:
|
|
90
|
+
...
|
|
91
|
+
@staticmethod
|
|
92
|
+
def revolutions(value: ostk.core.type.Real) -> Angle:
|
|
93
|
+
...
|
|
94
|
+
@staticmethod
|
|
95
|
+
def string_from_unit(unit: ...) -> ostk.core.type.String:
|
|
96
|
+
...
|
|
97
|
+
@staticmethod
|
|
98
|
+
def symbol_from_unit(unit: ...) -> ostk.core.type.String:
|
|
99
|
+
...
|
|
100
|
+
@staticmethod
|
|
101
|
+
def two_pi() -> Angle:
|
|
102
|
+
...
|
|
103
|
+
@staticmethod
|
|
104
|
+
def undefined() -> Angle:
|
|
105
|
+
...
|
|
106
|
+
@staticmethod
|
|
107
|
+
def zero() -> Angle:
|
|
108
|
+
...
|
|
109
|
+
def __add__(self, arg0: Angle) -> Angle:
|
|
110
|
+
...
|
|
111
|
+
def __eq__(self, arg0: Angle) -> bool:
|
|
112
|
+
...
|
|
113
|
+
def __iadd__(self, arg0: Angle) -> Angle:
|
|
114
|
+
...
|
|
115
|
+
def __imul__(self, arg0: ostk.core.type.Real) -> Angle:
|
|
116
|
+
...
|
|
117
|
+
def __init__(self, value: ostk.core.type.Real, unit: ...) -> None:
|
|
118
|
+
...
|
|
119
|
+
def __isub__(self, arg0: Angle) -> Angle:
|
|
120
|
+
...
|
|
121
|
+
def __itruediv__(self, arg0: ostk.core.type.Real) -> Angle:
|
|
122
|
+
...
|
|
123
|
+
def __mul__(self, arg0: ostk.core.type.Real) -> Angle:
|
|
124
|
+
...
|
|
125
|
+
def __ne__(self, arg0: Angle) -> bool:
|
|
126
|
+
...
|
|
127
|
+
def __neg__(self) -> Angle:
|
|
128
|
+
...
|
|
129
|
+
def __pos__(self) -> Angle:
|
|
130
|
+
...
|
|
131
|
+
def __repr__(self) -> str:
|
|
132
|
+
...
|
|
133
|
+
def __str__(self) -> str:
|
|
134
|
+
...
|
|
135
|
+
def __sub__(self, arg0: Angle) -> Angle:
|
|
136
|
+
...
|
|
137
|
+
def __truediv__(self, arg0: ostk.core.type.Real) -> Angle:
|
|
138
|
+
...
|
|
139
|
+
def get_unit(self) -> ...:
|
|
140
|
+
...
|
|
141
|
+
@typing.overload
|
|
142
|
+
def in_arcminutes(self) -> ostk.core.type.Real:
|
|
143
|
+
...
|
|
144
|
+
@typing.overload
|
|
145
|
+
def in_arcminutes(self, lower_bound: ostk.core.type.Real, upper_bound: ostk.core.type.Real) -> ostk.core.type.Real:
|
|
146
|
+
...
|
|
147
|
+
@typing.overload
|
|
148
|
+
def in_arcseconds(self) -> ostk.core.type.Real:
|
|
149
|
+
...
|
|
150
|
+
@typing.overload
|
|
151
|
+
def in_arcseconds(self, lower_bound: ostk.core.type.Real, upper_bound: ostk.core.type.Real) -> ostk.core.type.Real:
|
|
152
|
+
...
|
|
153
|
+
@typing.overload
|
|
154
|
+
def in_degrees(self) -> ostk.core.type.Real:
|
|
155
|
+
...
|
|
156
|
+
@typing.overload
|
|
157
|
+
def in_degrees(self, lower_bound: ostk.core.type.Real, upper_bound: ostk.core.type.Real) -> ostk.core.type.Real:
|
|
158
|
+
...
|
|
159
|
+
@typing.overload
|
|
160
|
+
def in_radians(self) -> ostk.core.type.Real:
|
|
161
|
+
...
|
|
162
|
+
@typing.overload
|
|
163
|
+
def in_radians(self, lower_bound: ostk.core.type.Real, upper_bound: ostk.core.type.Real) -> ostk.core.type.Real:
|
|
164
|
+
...
|
|
165
|
+
def in_revolutions(self) -> ostk.core.type.Real:
|
|
166
|
+
...
|
|
167
|
+
def in_unit(self, unit: ...) -> ostk.core.type.Real:
|
|
168
|
+
...
|
|
169
|
+
def is_defined(self) -> bool:
|
|
170
|
+
...
|
|
171
|
+
def is_near(self, angle: Angle, tolerance: Angle) -> bool:
|
|
172
|
+
...
|
|
173
|
+
def is_negative(self) -> bool:
|
|
174
|
+
...
|
|
175
|
+
def is_zero(self) -> bool:
|
|
176
|
+
...
|
|
177
|
+
def to_string(self, do_sanitize: ostk.core.type.Integer = False) -> ostk.core.type.String:
|
|
178
|
+
...
|