Serial order neighbor search module using spatial encoding.
Project description
serial-neighbor
A lightweight and fast implementation of spatial neighbor search using serialization encoding (like z-order and Hilbert curves). Designed for 3D point cloud applications, compatible with PyTorch.
Installation
pip install serial-neighbor
Usage Example
from serial_neighbor_lib import serial_neighbor
import torch
points = torch.rand(1000, 3).cuda()
query_xyz = torch.rand(100, 3).cuda()
idx, dists = serial_neighbor(points, query_xyz, ["z"], k_neighbors=8)
print(idx.shape, dists.shape)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
serial_neighbor-0.1.0.tar.gz
(8.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file serial_neighbor-0.1.0.tar.gz.
File metadata
- Download URL: serial_neighbor-0.1.0.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5af82f5aa97e8fa059714672ebe525fb8b280acd507551a6adede06d8ec1a316
|
|
| MD5 |
6543217230d2aa853fc9a854cdb1e327
|
|
| BLAKE2b-256 |
ec3806554ed623c59eb0e6e2578a48486d4570492535184c4f60375172059ec6
|
File details
Details for the file serial_neighbor-0.1.0-py3-none-any.whl.
File metadata
- Download URL: serial_neighbor-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c743e2b4a3973ccab63b05e3dbc82eaf47c4d24fd0baf31f753532c163bb1640
|
|
| MD5 |
be4d670a8a2dbcb4d4b923121d808d47
|
|
| BLAKE2b-256 |
a42393e9b159d6e7643aa0e7a892cd06716f043420d452c5998635b62f529837
|