pfc-geometry 0.2.11__py3-none-any.whl → 0.2.13__py3-none-any.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.
- geometry/py.typed +0 -0
- geometry/time.py +2 -2
- {pfc_geometry-0.2.11.dist-info → pfc_geometry-0.2.13.dist-info}/METADATA +5 -15
- {pfc_geometry-0.2.11.dist-info → pfc_geometry-0.2.13.dist-info}/RECORD +7 -7
- {pfc_geometry-0.2.11.dist-info → pfc_geometry-0.2.13.dist-info}/WHEEL +1 -2
- pfc_geometry-0.2.11.dist-info/top_level.txt +0 -1
- /geometry/{testing.py → checks.py} +0 -0
- {pfc_geometry-0.2.11.dist-info → pfc_geometry-0.2.13.dist-info/licenses}/LICENSE +0 -0
geometry/py.typed
ADDED
|
File without changes
|
geometry/time.py
CHANGED
|
@@ -22,9 +22,9 @@ class Time(Base):
|
|
|
22
22
|
return Time(t, dt)
|
|
23
23
|
|
|
24
24
|
@staticmethod
|
|
25
|
-
def uniform(duration: float, npoints: int | None) -> Time:
|
|
25
|
+
def uniform(duration: float, npoints: int | None, minpoints:int=1) -> Time:
|
|
26
26
|
return Time.from_t(
|
|
27
|
-
np.linspace(0, duration, npoints if npoints else int(np.ceil(duration * 25)))
|
|
27
|
+
np.linspace(0, duration, npoints if npoints else max(int(np.ceil(duration * 25)), minpoints))
|
|
28
28
|
)
|
|
29
29
|
|
|
30
30
|
def scale(self, duration) -> Self:
|
|
@@ -1,21 +1,11 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
2
|
Name: pfc-geometry
|
|
3
|
-
Version: 0.2.
|
|
4
|
-
Summary: A
|
|
5
|
-
Author-email: Thomas David <thomasdavid0@gmail.com>
|
|
6
|
-
License: GNU GPL v3
|
|
7
|
-
Project-URL: Homepage, https://github.com/PyFlightCoach/geometry
|
|
8
|
-
Project-URL: Documentation, https://pfcdocumentation.readthedocs.io/pyflightcoach/geometry.html
|
|
9
|
-
Classifier: Programming Language :: Python :: 3
|
|
3
|
+
Version: 0.2.13
|
|
4
|
+
Summary: A library for working with 3D geometry.
|
|
10
5
|
Requires-Python: >=3.12
|
|
6
|
+
Requires-Dist: numpy>=2.1.3
|
|
7
|
+
Requires-Dist: pandas>=2.2.3
|
|
11
8
|
Description-Content-Type: text/markdown
|
|
12
|
-
License-File: LICENSE
|
|
13
|
-
Requires-Dist: numpy
|
|
14
|
-
Requires-Dist: pandas
|
|
15
|
-
Provides-Extra: dev
|
|
16
|
-
Requires-Dist: numpy ; extra == 'dev'
|
|
17
|
-
Requires-Dist: pandas ; extra == 'dev'
|
|
18
|
-
Requires-Dist: pytest ; extra == 'dev'
|
|
19
9
|
|
|
20
10
|
# geometry #
|
|
21
11
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
geometry/__init__.py,sha256=HNhMyemIJzDq1nDjrr09eX5PS7q9ULscSbYsXss3JRM,1253
|
|
2
2
|
geometry/base.py,sha256=yNiO7Fe-S5c4wtvgNmQ2jrX7Yt4tB3eBekYHK0_psYc,11926
|
|
3
|
+
geometry/checks.py,sha256=o8yMBAdU5Vy0EspBYaof4fPGgRSFZhRDhzBjRPsLd0M,375
|
|
3
4
|
geometry/coordinate_frame.py,sha256=YTCAtCUuIq5LAsO-P9FwFs55f4qpWP9pUP6mf-Nhk54,3145
|
|
4
5
|
geometry/gps.py,sha256=Fs3hakSQ754HUqRsA7NWg_MSEdYxNqyiu4gu6EDrFqI,3381
|
|
5
6
|
geometry/mass.py,sha256=BUWBSITwpdRfpJR5-oJTd16BI7FLZt8rhxdzr0cx1HY,1675
|
|
6
7
|
geometry/point.py,sha256=XF7sdCaCD-si9UAumpyvxzMOTX3utVogJ2tt_7vt7b0,5185
|
|
8
|
+
geometry/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
9
|
geometry/quaternion.py,sha256=nggmRu_8xCQNYlf8GcilC4zJZLsac3dwUQKu5pxL_38,9522
|
|
8
|
-
geometry/
|
|
9
|
-
geometry/time.py,sha256=ZWO6yThXesHkNsROJfUruF-G4Lpcx149x0H__0HPLvw,1206
|
|
10
|
+
geometry/time.py,sha256=ljQxAYxphHU4AE_gdUT7DDTXOF1QvYKpWyGpXw_zWQA,1239
|
|
10
11
|
geometry/transformation.py,sha256=eunEC924zPBLhaVSEWE-IClrRfitvUKjSdOTaa2tdDQ,4705
|
|
11
|
-
pfc_geometry-0.2.
|
|
12
|
-
pfc_geometry-0.2.
|
|
13
|
-
pfc_geometry-0.2.
|
|
14
|
-
pfc_geometry-0.2.
|
|
15
|
-
pfc_geometry-0.2.11.dist-info/RECORD,,
|
|
12
|
+
pfc_geometry-0.2.13.dist-info/METADATA,sha256=5H5SFGIU_UzRoAY3uUDF5EVvcDBUksjpv-Miw-TO-c0,1537
|
|
13
|
+
pfc_geometry-0.2.13.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
14
|
+
pfc_geometry-0.2.13.dist-info/licenses/LICENSE,sha256=z72U6pv-bQgJ_Svr4uCXnMjemsp38aSerhHEdEAOMJ4,7632
|
|
15
|
+
pfc_geometry-0.2.13.dist-info/RECORD,,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
geometry
|
|
File without changes
|
|
File without changes
|