IMP logo
IMP Reference Guide  2.6.0
The Integrative Modeling Platform
IMP.pmi.restraints.stereochemistry.ConnectivityRestraint Class Reference

This class creates a restraint between consecutive TempResidue objects OR an entire PMI MOlecule object. More...

Inherits object.

Detailed Description

This class creates a restraint between consecutive TempResidue objects OR an entire PMI MOlecule object.

Note
This class is only available in Python.

Definition at line 20 of file stereochemistry.py.

Public Member Functions

def __init__
 
def get_num_restraints
 Returns number of connectivity restraints. More...
 

Constructor & Destructor Documentation

def IMP.pmi.restraints.stereochemistry.ConnectivityRestraint.__init__ (   self,
  objects,
  scale = 1.0,
  disorderedlength = False,
  upperharmonic = True,
  resolution = 1 
)
Parameters
objects- a list of hierarchies, PMI TempResidues OR a single Molecule
scale- Riccardo knows what this is
disorderedlength- This flag uses either disordered length calculated for random coil peptides (True) or zero surface-to-surface distance between beads (False) as optimal distance for the sequence connectivity restraint.
upperharmonic- This flag uses either harmonic (False) or upperharmonic (True) in the intra-pair connectivity restraint. resolution The resolution to connect things at - only used if you pass PMI objects

Definition at line 32 of file stereochemistry.py.

Member Function Documentation

def IMP.pmi.restraints.stereochemistry.ConnectivityRestraint.get_num_restraints (   self)

Returns number of connectivity restraints.

Definition at line 152 of file stereochemistry.py.


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