pye57 0.4.17__cp310-cp310-macosx_11_0_arm64.whl → 0.4.18__cp310-cp310-macosx_11_0_arm64.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 pye57 might be problematic. Click here for more details.
- pye57/.dylibs/libxerces-c-3.2.dylib +0 -0
- pye57/__version__.py +1 -1
- pye57/libe57.cpython-310-darwin.so +0 -0
- pye57/libxerces-c-3.2.dylib +0 -0
- pye57/scan_header.py +11 -3
- {pye57-0.4.17.dist-info → pye57-0.4.18.dist-info}/METADATA +1 -1
- pye57-0.4.18.dist-info/RECORD +14 -0
- {pye57-0.4.17.dist-info → pye57-0.4.18.dist-info}/WHEEL +1 -1
- pye57-0.4.17.dist-info/RECORD +0 -14
- {pye57-0.4.17.dist-info → pye57-0.4.18.dist-info}/licenses/LICENSE +0 -0
- {pye57-0.4.17.dist-info → pye57-0.4.18.dist-info}/top_level.txt +0 -0
|
Binary file
|
pye57/__version__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.4.
|
|
1
|
+
__version__ = "0.4.18"
|
|
Binary file
|
pye57/libxerces-c-3.2.dylib
CHANGED
|
Binary file
|
pye57/scan_header.py
CHANGED
|
@@ -28,7 +28,11 @@ class ScanHeader:
|
|
|
28
28
|
|
|
29
29
|
@property
|
|
30
30
|
def rotation_matrix(self) -> np.array:
|
|
31
|
-
|
|
31
|
+
try:
|
|
32
|
+
rotation = self.node["pose"]["rotation"]
|
|
33
|
+
q = Quaternion([e.value() for e in rotation])
|
|
34
|
+
except libe57.E57Exception:
|
|
35
|
+
q = Quaternion()
|
|
32
36
|
return q.rotation_matrix
|
|
33
37
|
|
|
34
38
|
@property
|
|
@@ -36,13 +40,17 @@ class ScanHeader:
|
|
|
36
40
|
try:
|
|
37
41
|
rotation = self.node["pose"]["rotation"]
|
|
38
42
|
q = Quaternion([e.value() for e in rotation])
|
|
39
|
-
except
|
|
43
|
+
except libe57.E57Exception:
|
|
40
44
|
q = Quaternion()
|
|
41
45
|
return q.elements
|
|
42
46
|
|
|
43
47
|
@property
|
|
44
48
|
def translation(self):
|
|
45
|
-
|
|
49
|
+
try:
|
|
50
|
+
translation_values = [e.value() for e in self.node["pose"]["translation"]]
|
|
51
|
+
except libe57.E57Exception:
|
|
52
|
+
translation_values = [0] * 3
|
|
53
|
+
return np.array(translation_values)
|
|
46
54
|
|
|
47
55
|
def pretty_print(self, node=None, indent=""):
|
|
48
56
|
if node is None:
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
pye57/libxerces-c-3.2.dylib,sha256=L7OmRUdE89ie_ijqsq424JT6teu5FiIcSYMPaAHHs4c,3955688
|
|
2
|
+
pye57/exception.py,sha256=hjNBnDf-PJrBLU7E8aAlWll0aovVITwjJoN9ex4Lx3o,47
|
|
3
|
+
pye57/__init__.py,sha256=p-yo66Eblp6mIVKaupuS1E3BQGCNZrI96ApqoFusOi8,92
|
|
4
|
+
pye57/__version__.py,sha256=my_eRKQWrGqOjGcYUQ3l4O21n-LMG22J283Pb5L90kw,23
|
|
5
|
+
pye57/e57.py,sha256=iW8gC3N_4KFsYJtBDrSci7sl4VgO0p8eg9sv0AlMA6U,19674
|
|
6
|
+
pye57/utils.py,sha256=LvBz7-LW3E9WNGu7c2aurqrXi-iCdorY-VLAEcTKGbU,4181
|
|
7
|
+
pye57/libe57.cpython-310-darwin.so,sha256=_M2BlwL8RVDFGw53MVJzwYJTJEyzYr44cxnuU8btmvA,2081664
|
|
8
|
+
pye57/scan_header.py,sha256=5L9gexIEob94UsDQdNd3cBYn745mbMVQwK4MhTCopqY,6349
|
|
9
|
+
pye57/.dylibs/libxerces-c-3.2.dylib,sha256=ymq0IS3FsmWG7Azi6_YFnopRzYkoaBXc5IZ5v0Qpb_g,3973824
|
|
10
|
+
pye57-0.4.18.dist-info/RECORD,,
|
|
11
|
+
pye57-0.4.18.dist-info/WHEEL,sha256=11kMdE9gzbsaQG30fRcsAYxBLEVRsqJo098Y5iL60Xo,136
|
|
12
|
+
pye57-0.4.18.dist-info/top_level.txt,sha256=xD9HDzQ3BfGMuz1kI2uNKUR0KXcR-RtNEKigrkh48Nk,6
|
|
13
|
+
pye57-0.4.18.dist-info/METADATA,sha256=MHMMurcwNKrXVFPArwCBZTL_NqqMHqvbAnQDoyNzmhA,4781
|
|
14
|
+
pye57-0.4.18.dist-info/licenses/LICENSE,sha256=fk66gXDC1OVruix0TJ6tGGH6vaP_VOzBPETZ3xxnMsY,1050
|
pye57-0.4.17.dist-info/RECORD
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
pye57-0.4.17.dist-info/RECORD,,
|
|
2
|
-
pye57-0.4.17.dist-info/WHEEL,sha256=Kz7x5a30LjdVndtlT-hEtV0KbbK9UgGJEyI9c5PkEIM,136
|
|
3
|
-
pye57-0.4.17.dist-info/top_level.txt,sha256=xD9HDzQ3BfGMuz1kI2uNKUR0KXcR-RtNEKigrkh48Nk,6
|
|
4
|
-
pye57-0.4.17.dist-info/METADATA,sha256=dLwKNmqGB5IIl8UFo_II5zAtUn8VvzuHRZk6zaQUQdM,4781
|
|
5
|
-
pye57-0.4.17.dist-info/licenses/LICENSE,sha256=fk66gXDC1OVruix0TJ6tGGH6vaP_VOzBPETZ3xxnMsY,1050
|
|
6
|
-
pye57/libxerces-c-3.2.dylib,sha256=G44q9hFS5RR3HC8eWQIL2xVZdwpGTjIFf0Hv4bOlzKY,3955688
|
|
7
|
-
pye57/exception.py,sha256=hjNBnDf-PJrBLU7E8aAlWll0aovVITwjJoN9ex4Lx3o,47
|
|
8
|
-
pye57/__init__.py,sha256=p-yo66Eblp6mIVKaupuS1E3BQGCNZrI96ApqoFusOi8,92
|
|
9
|
-
pye57/__version__.py,sha256=rJbmNVFVceaHhRo-pizixUQW0k5sqoDVdU1TfXfG8CA,23
|
|
10
|
-
pye57/e57.py,sha256=iW8gC3N_4KFsYJtBDrSci7sl4VgO0p8eg9sv0AlMA6U,19674
|
|
11
|
-
pye57/utils.py,sha256=LvBz7-LW3E9WNGu7c2aurqrXi-iCdorY-VLAEcTKGbU,4181
|
|
12
|
-
pye57/libe57.cpython-310-darwin.so,sha256=uT13zfeeruoIBYIFsIlGBZir0EN7izoZ6Wi4DslF2Io,2022784
|
|
13
|
-
pye57/scan_header.py,sha256=qO1NhT917ST1uLCl2Hq5lbqkh2343VbyHvTWxjkWxXo,6082
|
|
14
|
-
pye57/.dylibs/libxerces-c-3.2.dylib,sha256=VzvBkqsgEnadVA7YTuh0UD4MtKdm-a8llv8n3cdM7E4,3973824
|
|
File without changes
|
|
File without changes
|