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

Prior: D2 dispersive correction #143

Merged
merged 24 commits into from
Nov 24, 2022
Merged

Prior: D2 dispersive correction #143

merged 24 commits into from
Nov 24, 2022

Conversation

raimis
Copy link
Collaborator

@raimis raimis commented Oct 26, 2022

  • Implement the D2 dispersive correction
  • Tests
  • Documentation

@raimis raimis self-assigned this Oct 26, 2022
@peastman
Copy link
Collaborator

This will be a really useful feature to have.

Can you use the same system as in #134, where the dataset provides atomic_number, distance_scale, and energy_scale fields? That will allow it to be used with arbitrary units, and with datasets where atom types are different from atomic numbers.

@peastman peastman mentioned this pull request Nov 1, 2022
@raimis raimis marked this pull request as ready for review November 8, 2022 14:50
Copy link
Collaborator

@stefdoerr stefdoerr left a comment

Choose a reason for hiding this comment

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

Can't help much as I don't really know what this dispersive correction is. I leave it to Peter to review

torchmdnet/priors/d2.py Outdated Show resolved Hide resolved
tests/test_prior_d2.py Outdated Show resolved Hide resolved
torchmdnet/priors/d2.py Outdated Show resolved Hide resolved
@raimis
Copy link
Collaborator Author

raimis commented Nov 17, 2022

@peastman any more comments?

Copy link
Collaborator

@peastman peastman left a comment

Choose a reason for hiding this comment

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

Looks good! Aside from the one last change to the docstring, I think it's ready to merge.

torchmdnet/priors/d2.py Outdated Show resolved Hide resolved
@raimis raimis merged commit 48337d9 into torchmd:main Nov 24, 2022
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

3 participants