IMP Reference Guide
2.20.2
The Integrative Modeling Platform
|
Anchor a particle to a specific coordinate. More...
Inherits RestraintBase.
Anchor a particle to a specific coordinate.
Definition at line 248 of file restraints/basic.py.
Public Member Functions | |
def | __init__ |
Setup distance restraint. More... | |
def IMP.pmi.restraints.basic.DistanceToPointRestraint.__init__ | ( | self, | |
root_hier, | |||
tuple_selection, | |||
anchor_point = IMP.algebra.Vector3D(0, 0 , |
|||
radius = 10.0 , |
|||
kappa = 10.0 , |
|||
resolution = 1.0 , |
|||
weight = 1.0 , |
|||
label = None |
|||
) |
Setup distance restraint.
root_hier | The hierarchy to select from |
tuple_selection | (resnum, resnum, molecule name, copy number (=0)) |
anchor_point | Point to which to restrain particle (IMP.algebra.Vector3D object) |
radius | Maximum distance the particle can move from the fixed point before it is restrained |
kappa | Strength of the harmonic restraint for point-particle distance greater than the radius |
resolution | For selecting a particle |
weight | Weight of restraint |
label | A unique label to be used in outputs and particle/restraint names |
Definition at line 265 of file restraints/basic.py.