|
IMP Reference Guide
develop.49c9497b32,2026/04/16
The Integrative Modeling Platform
|
Score a single restraint, for use in stat files. More...
Score a single restraint, for use in stat files.
Every time this object is called, it returns the weighted score of the restraint for the current model configuration. This is primarily used in a PMI restraint's get_output() method to obtain restraint scores for stat file output.
| name | The name of the score in the stat file. |
| weight_object | A Python object with a 'weight' attribute (usually a PMI restraint) which is used to weight the score. |
| restraint | The IMP Restraint to score. |
Definition at line 1626 of file pmi/tools.py.
Public Member Functions | |
| def | __call__ |
Get the score for the current JAX Model if jm is given, otherwise for the current IMP Model. More... | |
| def IMP.pmi.tools.RestraintStatScorer.__call__ | ( | self, | |
jm = None |
|||
| ) |
Get the score for the current JAX Model if jm is given, otherwise for the current IMP Model.
Definition at line 1643 of file pmi/tools.py.