Skip to content

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

Draft
padix-key wants to merge 1 commit intobiotite-dev:mainfrom
padix-key:issue-307
Draft

[WIP] Optional brute force approach for RDF calculation#315
padix-key wants to merge 1 commit intobiotite-dev:mainfrom
padix-key:issue-307

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.

1 participant