Add RDF generation - #25
Closed
ced4rtree wants to merge 3 commits into
Closed
Conversation
ced4rtree
force-pushed
the
rdf-for-everybody
branch
from
June 10, 2026 23:58
9fbe438 to
b89ec4b
Compare
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
ced4rtree
force-pushed
the
rdf-for-everybody
branch
from
June 10, 2026 23:59
b89ec4b to
b80c339
Compare
erjank
self-requested a review
June 11, 2026 13:40
erjank
requested changes
Jun 11, 2026
Contributor
There was a problem hiding this comment.
Overall looks good, but two small nitpicks: I don't think we want to calculate average RDFs in this case, just the last frame, and reading from a GSD that has been written out adds some complexity relative to calculating RDFs as the simulation proceeds (which could be used in our stop criteria)
| import hoomd | ||
| import time | ||
| from cmeutils.sampling import is_equilibrated | ||
| import csv |
Contributor
Author
|
The way this implementation is structured seems like it would be a pain to use rdf data as a stop criterion compared to #26, so I'm going to close this PR. |
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.
I was going to work on adding the unit test that ensures no particles are closer together than 0.9 or so in a different PR, but I can do that in this one if that's better.