Add maximum determinant angular grids#302
Open
marco-2023 wants to merge 13 commits into
Open
Conversation
The data was also checked against reference in: https://web.maths.unsw.edu.au/~rsw/Sphere/MaxDet/MaxDet1.html
Notes: The weights in the data fro these grids is normalized to integrate the sphere. Because of this they are not scaled when constructing the angular grids (see angular.py lines 596-599).
Contributor
There was a problem hiding this comment.
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
maxdetdegree/size mappings, caching, and data-loading support inAngularGrid. - Adjust weight normalization behavior so
maxdetweights are used as-stored (vs. scaling by4π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.
Collaborator
Author
|
@PaulWAyers, this PR completes the Maximum Determinant Point grids. I think it is ready for review. |
This was referenced May 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds and tests the Maximum Determinant Points angular grids. This supersedes #298.
Note: These grid weights in the
detratiodata files are not normalized as a probability distribution like they are for Lebedev-Laikovs and Spherical t-design.