pye57 0.4.12__cp312-cp312-win_amd64.whl → 0.4.13__cp312-cp312-win_amd64.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/__version__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.4.12"
1
+ __version__ = "0.4.13"
Binary file
pye57/scan_header.py CHANGED
@@ -5,6 +5,10 @@ from pye57 import libe57
5
5
  from pye57.utils import get_fields, get_node
6
6
 
7
7
  class ScanHeader:
8
+ """Provides summary statistics for an individual lidar scan in an E57 file.
9
+
10
+ Including the number of points, bounds and pose of the scan.
11
+ """
8
12
  def __init__(self, scan_node):
9
13
  self.node = scan_node
10
14
  points = self.node["points"]
@@ -29,7 +33,11 @@ class ScanHeader:
29
33
 
30
34
  @property
31
35
  def rotation(self) -> np.array:
32
- q = Quaternion([e.value() for e in self.node["pose"]["rotation"]])
36
+ try:
37
+ rotation = self.node["pose"]["rotation"]
38
+ q = Quaternion([e.value() for e in rotation])
39
+ except KeyError:
40
+ q = Quaternion()
33
41
  return q.elements
34
42
 
35
43
  @property
pye57/xerces-c_3_2.dll CHANGED
Binary file
@@ -1,10 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pye57
3
- Version: 0.4.12
3
+ Version: 0.4.13
4
4
  Summary: Python .e57 files reader/writer
5
5
  Home-page: https://www.github.com/davidcaron/pye57
6
6
  Author: David Caron
7
7
  Author-email: dcaron05@gmail.com
8
+ Maintainer: Graham Knapp
9
+ Maintainer-email: graham.knapp@gmail.com
8
10
  License: MIT
9
11
  Classifier: License :: OSI Approved :: MIT License
10
12
  Classifier: Programming Language :: Python
@@ -0,0 +1,13 @@
1
+ pye57/__init__.py,sha256=keWVF2W7Jau5voY0aufr6bayvjfDJSWf_bmawIvvj88,95
2
+ pye57/__version__.py,sha256=Q39Kp9NPU2eq-tFPb4TniYzoJvrW_Wv_F0KkKUp_qww,24
3
+ pye57/e57.py,sha256=ec9_zxTvZ9TlnIVPMrzzB2wRHQg428F6EtWCCeg05K0,18950
4
+ pye57/exception.py,sha256=9Qgriir0IsSpHhStN5uvI5mlbKrc_P5ZURsi_PIW_q8,50
5
+ pye57/libe57.cp312-win_amd64.pyd,sha256=tZV0DF00vASlCU2PezBLcqoVDUsc9cktqKVkHp0YFbU,760832
6
+ pye57/scan_header.py,sha256=eCPId1MGxTJmKaqPwHjMJV6bFRvhorcxVmumZOrbLow,6301
7
+ pye57/utils.py,sha256=4jZrQ0sbrsaaFjVkgm_Tf8cLU9fBFb8hvYUDGD2ZJic,4297
8
+ pye57/xerces-c_3_2.dll,sha256=q__l2tun4Wrp7Fur54bCx-V8l9NvlC7idThuPvBvFtI,2787328
9
+ pye57-0.4.13.dist-info/LICENSE,sha256=Q0K1iCfVm6UmnR4AAyqME5q7flnU6aGh5OarEIa2K6Y,1056
10
+ pye57-0.4.13.dist-info/METADATA,sha256=1NM1FZ3OuUm6tm_IA9g4yPIxScK3Uap3WpZfaGT-aNw,4607
11
+ pye57-0.4.13.dist-info/WHEEL,sha256=Z9NC-OvRBktQLUujjZiuac9jF_06CqbjTb-FqrCClNs,101
12
+ pye57-0.4.13.dist-info/top_level.txt,sha256=xD9HDzQ3BfGMuz1kI2uNKUR0KXcR-RtNEKigrkh48Nk,6
13
+ pye57-0.4.13.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (72.1.0)
2
+ Generator: setuptools (74.1.2)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp312-cp312-win_amd64
5
5
 
@@ -1,13 +0,0 @@
1
- pye57/__init__.py,sha256=keWVF2W7Jau5voY0aufr6bayvjfDJSWf_bmawIvvj88,95
2
- pye57/__version__.py,sha256=TjSYoKEuXfUl8y7pMA9CsDggQgtU90SQ0hEzEdAz0X4,24
3
- pye57/e57.py,sha256=ec9_zxTvZ9TlnIVPMrzzB2wRHQg428F6EtWCCeg05K0,18950
4
- pye57/exception.py,sha256=9Qgriir0IsSpHhStN5uvI5mlbKrc_P5ZURsi_PIW_q8,50
5
- pye57/libe57.cp312-win_amd64.pyd,sha256=En48q6kddkW2lYQZPS5bTxpGFl17ikifUTRo0HdRw8Q,760832
6
- pye57/scan_header.py,sha256=39FD40CBcJL5azN_HjVNvSnFrQR3uO-MIQFFNRhUqRU,6036
7
- pye57/utils.py,sha256=4jZrQ0sbrsaaFjVkgm_Tf8cLU9fBFb8hvYUDGD2ZJic,4297
8
- pye57/xerces-c_3_2.dll,sha256=4l0oxMPwmMslfk5_QyhJ4iqu68Zi21qOx5T42nY2IZk,2787328
9
- pye57-0.4.12.dist-info/LICENSE,sha256=Q0K1iCfVm6UmnR4AAyqME5q7flnU6aGh5OarEIa2K6Y,1056
10
- pye57-0.4.12.dist-info/METADATA,sha256=PlPkerJd3KoJUYbInwpsThGr8ClVRUUaoHRj5z3XO88,4539
11
- pye57-0.4.12.dist-info/WHEEL,sha256=KNRoynpGu-d6mheJI-zfvcGl1iN-y8BewbiCDXsF3cY,101
12
- pye57-0.4.12.dist-info/top_level.txt,sha256=xD9HDzQ3BfGMuz1kI2uNKUR0KXcR-RtNEKigrkh48Nk,6
13
- pye57-0.4.12.dist-info/RECORD,,