gridpoints 1.0.0__tar.gz → 1.0.1__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.
- {gridpoints-1.0.0 → gridpoints-1.0.1}/PKG-INFO +2 -2
- {gridpoints-1.0.0 → gridpoints-1.0.1}/README.md +1 -1
- {gridpoints-1.0.0 → gridpoints-1.0.1}/pyproject.toml +1 -1
- {gridpoints-1.0.0 → gridpoints-1.0.1}/src/griddemo/__init__.py +1 -1
- {gridpoints-1.0.0 → gridpoints-1.0.1}/src/gridpoints/__init__.py +1 -1
- {gridpoints-1.0.0 → gridpoints-1.0.1}/src/gridpoints/mlg_sort.py +2 -0
- {gridpoints-1.0.0 → gridpoints-1.0.1}/src/gridpoints.egg-info/PKG-INFO +2 -2
- {gridpoints-1.0.0 → gridpoints-1.0.1}/LICENSE +0 -0
- {gridpoints-1.0.0 → gridpoints-1.0.1}/setup.cfg +0 -0
- {gridpoints-1.0.0 → gridpoints-1.0.1}/src/griddemo/quick_demo.py +0 -0
- {gridpoints-1.0.0 → gridpoints-1.0.1}/src/gridpoints/array_libs.py +0 -0
- {gridpoints-1.0.0 → gridpoints-1.0.1}/src/gridpoints/diagonal_tricks.py +0 -0
- {gridpoints-1.0.0 → gridpoints-1.0.1}/src/gridpoints/kdtree.py +0 -0
- {gridpoints-1.0.0 → gridpoints-1.0.1}/src/gridpoints.egg-info/SOURCES.txt +0 -0
- {gridpoints-1.0.0 → gridpoints-1.0.1}/src/gridpoints.egg-info/dependency_links.txt +0 -0
- {gridpoints-1.0.0 → gridpoints-1.0.1}/src/gridpoints.egg-info/requires.txt +0 -0
- {gridpoints-1.0.0 → gridpoints-1.0.1}/src/gridpoints.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gridpoints
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.1
|
|
4
4
|
Summary: fast multidimensional sorting tool for point clouds using the monotonic lagrangian grid
|
|
5
5
|
Author: Armand de Cacqueray
|
|
6
6
|
License: MIT
|
|
@@ -36,7 +36,7 @@ NaNs and Infs are supported in a consistent manner:
|
|
|
36
36
|
This allow to deal with prime or variable N, as long as one is ready to
|
|
37
37
|
deal with void/special grid cells.
|
|
38
38
|
|
|
39
|
-
Expected runtime for sorting 1 million points: CPU → < 10s, GPU → <
|
|
39
|
+
Expected runtime for sorting 1 million points: CPU → < 10s, GPU → < 500 ms
|
|
40
40
|
|
|
41
41
|
---
|
|
42
42
|
|
|
@@ -20,7 +20,7 @@ NaNs and Infs are supported in a consistent manner:
|
|
|
20
20
|
This allow to deal with prime or variable N, as long as one is ready to
|
|
21
21
|
deal with void/special grid cells.
|
|
22
22
|
|
|
23
|
-
Expected runtime for sorting 1 million points: CPU → < 10s, GPU → <
|
|
23
|
+
Expected runtime for sorting 1 million points: CPU → < 10s, GPU → < 500 ms
|
|
24
24
|
|
|
25
25
|
---
|
|
26
26
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "gridpoints"
|
|
7
|
-
version = "1.0.
|
|
7
|
+
version = "1.0.1"
|
|
8
8
|
description = "fast multidimensional sorting tool for point clouds using the monotonic lagrangian grid "
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9"
|
|
@@ -183,6 +183,7 @@ def _sort_along_direction(X, direction):
|
|
|
183
183
|
|
|
184
184
|
elif level == 2:
|
|
185
185
|
ax0, ax1 = xp.where(direction != 0)[0]
|
|
186
|
+
ax0, ax1 = int(ax0), int(ax1)
|
|
186
187
|
Y = xp.moveaxis(X, [ax0, ax1], [-2, -1])
|
|
187
188
|
flipaxes = []
|
|
188
189
|
for ax, _ax in zip([ax0, ax1], [-2, -1]):
|
|
@@ -195,6 +196,7 @@ def _sort_along_direction(X, direction):
|
|
|
195
196
|
|
|
196
197
|
elif level == 3:
|
|
197
198
|
ax0, ax1, ax2 = xp.where(direction != 0)[0]
|
|
199
|
+
ax0, ax1, ax2 = int(ax0), int(ax1), int(ax2)
|
|
198
200
|
Y = xp.moveaxis(X, [ax0, ax1, ax2], [-3, -2, -1])
|
|
199
201
|
flipaxes = []
|
|
200
202
|
for ax, _ax in zip([ax0, ax1, ax2], [-3, -2, -1]):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gridpoints
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.1
|
|
4
4
|
Summary: fast multidimensional sorting tool for point clouds using the monotonic lagrangian grid
|
|
5
5
|
Author: Armand de Cacqueray
|
|
6
6
|
License: MIT
|
|
@@ -36,7 +36,7 @@ NaNs and Infs are supported in a consistent manner:
|
|
|
36
36
|
This allow to deal with prime or variable N, as long as one is ready to
|
|
37
37
|
deal with void/special grid cells.
|
|
38
38
|
|
|
39
|
-
Expected runtime for sorting 1 million points: CPU → < 10s, GPU → <
|
|
39
|
+
Expected runtime for sorting 1 million points: CPU → < 10s, GPU → < 500 ms
|
|
40
40
|
|
|
41
41
|
---
|
|
42
42
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|