#oct-tree #space #nearest-neighbor #py #octant

octree

Octree algorithm for nearest neighbor search in 3D space

2 unstable releases

0.1.0 Mar 10, 2020
0.0.6 Feb 6, 2020

#1368 in Data structures

Download history 28/week @ 2025-01-15 11/week @ 2025-02-05 26/week @ 2025-02-12 8/week @ 2025-02-19 15/week @ 2025-02-26 11/week @ 2025-03-12 13/week @ 2025-03-19 12/week @ 2025-03-26 7/week @ 2025-04-09 19/week @ 2025-04-16 25/week @ 2025-04-23 23/week @ 2025-04-30

74 downloads per month
Used in 17 crates (via gchemol-neighbors)

MIT/Apache

1.5MB
545 lines

This is my first crate for learning Rust.

Performance

test data: examples/data/3wu2.xyz, coordinates of 51053 particles extracted from a PDB file 3wu2

img

How to to reproduce

rust-octree (v0.0.6):

RAYON_NUM_THREADS=1 cargo run --example demo --release

scipy-ckdtree(v1.3.2):

ipython> edit scripts/bench.py
ipython> %timeit -n 10 run_test()

Related crates

References

Footnotes

https://www.rcsb.org/structure/3wu2

Dependencies