IMP logo
IMP Reference Guide  2.6.2
The Integrative Modeling Platform
IMP.pmi.restraints.basic.DistanceRestraint Class Reference

A simple distance restraint. More...

Inherits object.

Detailed Description

A simple distance restraint.

Note
This class is only available in Python.

Definition at line 90 of file basic.py.

Public Member Functions

def __init__
 Setup distance restraint. More...
 

Constructor & Destructor Documentation

def IMP.pmi.restraints.basic.DistanceRestraint.__init__ (   self,
  representation = None,
  tuple_selection1 = None,
  tuple_selection2 = None,
  distancemin = 0,
  distancemax = 100,
  resolution = 1.0,
  kappa = 1.0,
  root_hier = None 
)

Setup distance restraint.

Parameters
representationDEPRECATED
tuple_selection1(resnum,resnum,molecule name, copy number (=0))
tuple_selection2(resnum,resnum,molecule name, copy number (=0))
distanceminThe minimum dist
distancemaxThe maximum dist
resolutionFor selecting particles
kappaThe harmonic parameter
root_hierThe hierarchy to select from (use this instead of representation)

ote Pass the same resnum twice to each tuple_selection. Optionally add a copy number (PMI2 only)

Definition at line 103 of file basic.py.


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