-
Notifications
You must be signed in to change notification settings - Fork 50
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
RDF Normalization Mode Argument #1013
Conversation
I can take a look at this on Friday. |
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good. I just two questions related to docstrings.
I've updated the PR description to say that this is related to #396 but not that it resolves it. There is additional work to be done to resolve that issue. |
Good point, I'm not currently planning on implementing the new solution on this PR, so it wouldn't resolve that issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there is a typo in one of the changes to docstrings (please double check that). And I have some improvements suggested. I can't see anything else wrong.
Co-authored-by: Domagoj Fijan <[email protected]>
Co-authored-by: Domagoj Fijan <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice to actually validate the long-distance behaviors of the RDF for a small system of particles as well, but getting that test to behave nicely statistically will probably be hard since the whole point is to test a small system where statistics are bad, so if you have a hard time writing a robust test it's fine to skip it.
Co-authored-by: Vyas Ramasubramani <[email protected]>
Description
This PR changes the
normalize
argument tofreud.density.RDF
to be more descriptive, and clarifies what the default value is.Motivation and Context
There was a lot of discussion about how the RDF should be normalized, what the options should be, and how the API should look in the issues linked below.
Resolves: #635
Related to #396
How Has This Been Tested?
I have added a test for both of the valid arguments, and a test case for the invalid arguments.
Types of changes
Checklist: