Skip to content

Create partition function attributes for RotamerEnsemble and dRotamerEnsemble classes#208

Open
kylezhang1011 wants to merge 3 commits into
StollLab:mainfrom
kylezhang1011:partition-function-attributes
Open

Create partition function attributes for RotamerEnsemble and dRotamerEnsemble classes#208
kylezhang1011 wants to merge 3 commits into
StollLab:mainfrom
kylezhang1011:partition-function-attributes

Conversation

@kylezhang1011

Copy link
Copy Markdown

Introduce partition function attributes to enhance the functionality of the RotamerEnsemble and dRotamerEnsemble classes. The partition function can be used to quantify how labelable a site can be.

@mtessmer

mtessmer commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

How does this new method differ from self.evaluate?

Pull partition function calculation from existing energy calculation.
Pull partition values directly from previous energy calculation to avoid double calculations.

@kylezhang1011 kylezhang1011 left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I removed energy recalculation from the previous pull request to avoid double calculation. Previously, the partition function value was computed internally but not as a public attribute. This change returns the partition function values in both RotamerEnsemble and dRotamerEnsemble classes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants