engeom 0.2.6__cp38-abi3-macosx_11_0_arm64.whl → 0.2.7__cp38-abi3-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.
engeom/engeom.abi3.so CHANGED
Binary file
@@ -0,0 +1,9 @@
1
+ """
2
+ This module provides a number of classes and functions for working with 3D raster (voxel) data.
3
+ """
4
+
5
+ from ..engeom import _raster3
6
+
7
+ # Global import of all functions
8
+ for name in [n for n in dir(_raster3) if not n.startswith("_")]:
9
+ globals()[name] = getattr(_raster3, name)
engeom/raster3.pyi ADDED
@@ -0,0 +1,19 @@
1
+ from __future__ import annotations
2
+
3
+ from typing import List
4
+
5
+ from numpy.typing import NDArray
6
+
7
+ def clusters_from_sparse(indices: NDArray[int]) -> List[NDArray[int]]:
8
+ """
9
+ Find clusters of connected voxel indices from a sparse array of voxel coordinates. The input array should be a Nx3
10
+ array of integer voxel indices. The output is a list of arrays, where each array contains the indices of a single
11
+ cluster of connected voxels.
12
+
13
+ The connectivity is defined as 26-connectivity, i.e. each voxel is connected to all neighbors with which it shares
14
+ at least one corner.
15
+
16
+ :param indices: Nx3 array of voxel indices
17
+ :return: List of arrays, each containing a Mx3 numpy array of the indices of a single cluster of connected voxels
18
+ """
19
+ ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: engeom
3
- Version: 0.2.6
3
+ Version: 0.2.7
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -1,5 +1,6 @@
1
- engeom-0.2.6.dist-info/METADATA,sha256=OfaBYpqRV9lwR1COpGbkUpjyeoUHLctJLSCv8QC8KoM,494
2
- engeom-0.2.6.dist-info/WHEEL,sha256=nueuVYsuRBtSjfqcjzlZpAANOvhemlVJqHt21fcVDVQ,102
1
+ engeom-0.2.7.dist-info/METADATA,sha256=ktJiJVBphJwVLdMbPZ7YNXzN3tawROpTWJMKsw92oPM,494
2
+ engeom-0.2.7.dist-info/WHEEL,sha256=KOb2uEsUFKFV_GOdT9ev2YJZGn1-e8xqWy3VUx4M6FQ,102
3
+ engeom/raster3.pyi,sha256=sBXXYXcDBiDU_OFDQiwa7Q3GcwSiUc4CLy6nJ1MwFqM,790
3
4
  engeom/geom2.pyi,sha256=508YJVNAJcZxEIZcWi4upcGtiZKoRnGtAW7TfTU3b3A,42922
4
5
  engeom/geom3.pyi,sha256=ZW37Pg2SLA74RTUmz0Ac82UmLTFm6K9BSHG_rWeX-Ro,55237
5
6
  engeom/geom3/__init__.py,sha256=l8B0iDhJ4YiRbslJLN791XWai2DWrpmZptnzIETMS9g,370
@@ -12,10 +13,11 @@ engeom/_plot/matplotlib.py,sha256=tTk4Fu6hDVxP1655koeT9B0JxkoURTr30ZyBV_jzTi8,11
12
13
  engeom/_plot/__init__.py,sha256=F_KviZtxzZGwfEjjn8Ep46N4UVl8VpFJWBzbBUE_J7A,30
13
14
  engeom/_plot/common.py,sha256=Py78ufN3yi59hPwv21SoGcqyZUJS-_PmK8tlAKgSG7Q,517
14
15
  engeom/airfoil/__init__.py,sha256=gpS9pVepUu90XJ-ePndNupbUMKI0RGxNXPxD9x0iVHY,274
16
+ engeom/raster3/__init__.py,sha256=iaayLrvco-ZMZPyeK47ox7rYne_51DNb2T2Q0iNNeKE,289
15
17
  engeom/__init__.py,sha256=QN5uETqrN442w41foyrcCPV_x6NP-mrxkPJhdvdey1g,109
16
18
  engeom/align/__init__.py,sha256=SEeMqeqLKqJC73Mg8GwPwd9NwWnl-dcCqJ4rPdh8yyc,196
17
19
  engeom/engeom.pyi,sha256=BtUBtYZ_MX8Xk2x_FyzVxRXjJQIazQ1xscbCLO_Y3HA,1516
18
20
  engeom/metrology.pyi,sha256=9I5un86VB_2gmQBrVYhX8JzILTUADMLB9Em8ttJxrWg,4044
19
21
  engeom/align.pyi,sha256=QCSKrTLkCoaIubcrPU9J-wDZe1lRP0GbPgWZmonXjo0,997
20
- engeom/engeom.abi3.so,sha256=ERO36to8IgNER8gvyukXE-dFHFnVIr7vEi1ty07fEXY,2653728
21
- engeom-0.2.6.dist-info/RECORD,,
22
+ engeom/engeom.abi3.so,sha256=gDnPpqmVqyzM3ZGUYTN4DU6y1zsgihNvDt6CTw9MPkc,2651968
23
+ engeom-0.2.7.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: maturin (1.8.2)
2
+ Generator: maturin (1.8.3)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp38-abi3-macosx_11_0_arm64