Skip to content

Add maximum determinant angular grids#302

Open
marco-2023 wants to merge 13 commits into
theochem:masterfrom
marco-2023:maxdet-data-conversion
Open

Add maximum determinant angular grids#302
marco-2023 wants to merge 13 commits into
theochem:masterfrom
marco-2023:maxdet-data-conversion

Conversation

@marco-2023
Copy link
Copy Markdown
Collaborator

This PR adds and tests the Maximum Determinant Points angular grids. This supersedes #298.

Note: These grid weights in the detratio data files are not normalized as a probability distribution like they are for Lebedev-Laikovs and Spherical t-design.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support for Maximum Determinant Points (“maxdet”) as an additional angular grid method in AngularGrid, and expands the unit test suite to exercise the new method alongside existing Lebedev and spherical t-design grids.

Changes:

  • Add maxdet degree/size mappings, caching, and data-loading support in AngularGrid.
  • Adjust weight normalization behavior so maxdet weights are used as-stored (vs. scaling by for other methods).
  • Extend existing angular/atomic grid tests to include method="maxdet".

Reviewed changes

Copilot reviewed 3 out of 203 changed files in this pull request and generated 6 comments.

File Description
src/grid/angular.py Introduces maxdet method support (degree/size map, cache, loader path, weight handling).
src/grid/tests/test_atomgrid.py Expands AtomGrid-related parametrized tests to include maxdet.
src/grid/tests/test_angular.py Expands AngularGrid spherical-harmonic integration tests to include maxdet.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/grid/angular.py Outdated
Comment thread src/grid/tests/test_angular.py
Comment thread src/grid/angular.py Outdated
Comment thread src/grid/angular.py Outdated
Comment thread src/grid/angular.py
Comment thread src/grid/tests/test_atomgrid.py Outdated
@marco-2023 marco-2023 requested a review from PaulWAyers May 21, 2026 01:21
@marco-2023
Copy link
Copy Markdown
Collaborator Author

@PaulWAyers, this PR completes the Maximum Determinant Point grids. I think it is ready for review.

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.

3 participants