Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Optional brute force approach for RDF calculation #315

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

padix-key
Copy link
Member

@padix-key padix-key commented May 18, 2021

This PR aims to improve the performance of biotite.structure.rdf() (issue #307): Although a CellList scales well for a large number of centers, the brute-force approach, i.e. the pairwise distance measurement of all atoms is faster for a small number of centers. This PR adds an optional use_cell_list parameter to give the user control about the approach. By default, the appropriate approach is chosen based on a threshold number of centers.

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.

None yet

1 participant