Skip to content

Conversation

@Aryaman-Chaudhri
Copy link

@Aryaman-Chaudhri Aryaman-Chaudhri commented Dec 29, 2025

Fixes #5114

Changes made in this Pull Request:

-Added benchmarks/benchmarks/neighbors.py proving scipy.spatial.cKDTree is faster than the existing Implemetation.

-Implemented scipy.spatial.cKDTree backend in package/MDAnalysis/lib/pkdtree.py by building a new class.

-Updated testsuite/MDAnalysisTests/lib/test_pkdtree.py to verify both PeriodicKDTree (for API stability) and AugmentedPKDTree.

-Updated package/AUTHORS and package/CHANGELOG to reflect the contribution.

PR Checklist

Developers Certificate of Origin

I certify that I can submit this code contribution as described in the Developer Certificate of Origin, under the MDAnalysis LICENSE.


📚 Documentation preview 📚: https://mdanalysis--5193.org.readthedocs.build/en/5193/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use native scipy periodic KDTree for orthorhombic boxes?

1 participant