IMP Reference Guide
2.20.1
The Integrative Modeling Platform
|
A simple distance restraint. More...
Inherits RestraintBase.
A simple distance restraint.
Definition at line 59 of file restraints/basic.py.
Public Member Functions | |
def | __init__ |
Setup distance restraint. More... | |
def IMP.pmi.restraints.basic.DistanceRestraint.__init__ | ( | self, | |
root_hier, | |||
tuple_selection1, | |||
tuple_selection2, | |||
distancemin = 0 , |
|||
distancemax = 100 , |
|||
resolution = 1.0 , |
|||
kappa = 1.0 , |
|||
label = None , |
|||
weight = 1.0 |
|||
) |
Setup distance restraint.
root_hier | The hierarchy to select from |
tuple_selection1 | (resnum, resnum, molecule name, copy number (=0)) |
tuple_selection2 | (resnum, resnum, molecule name, copy number (=0)) |
distancemin | The minimum dist |
distancemax | The maximum dist |
resolution | For selecting particles |
kappa | The harmonic parameter |
label | A unique label to be used in outputs and particle/restraint names |
weight | Weight of restraint |
Definition at line 75 of file restraints/basic.py.