IMP logo
IMP Reference Guide  develop.63b38c487d,2024/12/21
The Integrative Modeling Platform
IMP.modeller.IMPRestraints Class Reference

A Modeller restraint which evaluates an IMP scoring function. More...

Inherits EnergyTerm.

Detailed Description

A Modeller restraint which evaluates an IMP scoring function.

This can be used to incorporate IMP Restraints into an existing comparative modeling pipeline, or to use Modeller optimizers or protocols.

Note
This class is only available in Python.

Definition at line 26 of file modeller/__init__.py.

Public Member Functions

def __init__
 Constructor. More...
 

Constructor & Destructor Documentation

def IMP.modeller.IMPRestraints.__init__ (   self,
  particles,
  scoring_function = None 
)

Constructor.

Parameters
particlesA list of the IMP atoms (as Particle objects), same order as the Modeller atoms.
scoring_functionAn IMP::ScoringFunction object that will be incorporated into the Modeller score (molpdf).
Note
since Modeller, unlike IMP, is sensitive to the ordering of atoms, it usually makes sense to create the model in Modeller and then use ModelLoader to load it into IMP, since that will preserve the Modeller atom ordering in IMP.

Definition at line 36 of file modeller/__init__.py.


The documentation for this class was generated from the following file: