pointpca2 0.4.0__tar.gz → 0.4.2__tar.gz
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.
- {pointpca2-0.4.0 → pointpca2-0.4.2}/Cargo.lock +3 -3
- {pointpca2-0.4.0 → pointpca2-0.4.2}/Cargo.toml +2 -2
- {pointpca2-0.4.0 → pointpca2-0.4.2}/PKG-INFO +1 -1
- {pointpca2-0.4.0 → pointpca2-0.4.2}/pyproject.toml +1 -1
- {pointpca2-0.4.0 → pointpca2-0.4.2}/python/pointpca2/__init__.py +2 -2
- {pointpca2-0.4.0 → pointpca2-0.4.2}/.gitignore +0 -0
- {pointpca2-0.4.0 → pointpca2-0.4.2}/LICENSE +0 -0
- {pointpca2-0.4.0 → pointpca2-0.4.2}/README.md +0 -0
- {pointpca2-0.4.0 → pointpca2-0.4.2}/environment.yml +0 -0
- {pointpca2-0.4.0 → pointpca2-0.4.2}/examples/example_compute_predictors.py +0 -0
- {pointpca2-0.4.0 → pointpca2-0.4.2}/examples/pcs/amphoriskos_vox10.ply +0 -0
- {pointpca2-0.4.0 → pointpca2-0.4.2}/examples/pcs/tmc13_amphoriskos_vox10_dec_geom01_text01_octree-predlift.ply +0 -0
- {pointpca2-0.4.0 → pointpca2-0.4.2}/src/lib.rs +0 -0
|
@@ -450,7 +450,7 @@ dependencies = [
|
|
|
450
450
|
|
|
451
451
|
[[package]]
|
|
452
452
|
name = "pointpca2"
|
|
453
|
-
version = "0.4.
|
|
453
|
+
version = "0.4.2"
|
|
454
454
|
dependencies = [
|
|
455
455
|
"nalgebra",
|
|
456
456
|
"numpy",
|
|
@@ -460,8 +460,8 @@ dependencies = [
|
|
|
460
460
|
|
|
461
461
|
[[package]]
|
|
462
462
|
name = "pointpca2-rs"
|
|
463
|
-
version = "1.4.
|
|
464
|
-
source = "git+https://github.com/akaTsunemori/pointpca2-rs.git?tag=v1.4.
|
|
463
|
+
version = "1.4.2"
|
|
464
|
+
source = "git+https://github.com/akaTsunemori/pointpca2-rs.git?tag=v1.4.2#6830ccfa6162d679cbc51f0a93da0d9a6a860861"
|
|
465
465
|
dependencies = [
|
|
466
466
|
"kd-tree",
|
|
467
467
|
"libm",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "pointpca2"
|
|
3
|
-
version = "0.4.
|
|
3
|
+
version = "0.4.2"
|
|
4
4
|
edition = "2021"
|
|
5
5
|
|
|
6
6
|
[lib]
|
|
@@ -13,7 +13,7 @@ numpy = "0.15"
|
|
|
13
13
|
|
|
14
14
|
[dependencies.pointpca2-rs]
|
|
15
15
|
git = "https://github.com/akaTsunemori/pointpca2-rs.git"
|
|
16
|
-
tag = "v1.4.
|
|
16
|
+
tag = "v1.4.2"
|
|
17
17
|
|
|
18
18
|
[dependencies.pyo3]
|
|
19
19
|
version = "0.15.1"
|
|
@@ -3,9 +3,9 @@ from .pointpca2 import compute_pointpca2 as __pointpca2_internal
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
def __preprocess_point_cloud(points, colors):
|
|
6
|
-
if type(points)
|
|
6
|
+
if type(points) is np.ndarray:
|
|
7
7
|
points = np.array(points, dtype=np.double)
|
|
8
|
-
if type(colors)
|
|
8
|
+
if type(colors) is np.ndarray:
|
|
9
9
|
colors = np.array(colors, dtype=np.double)
|
|
10
10
|
if points.shape != colors.shape:
|
|
11
11
|
raise Exception("Points and colors must have the same shape.")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|