IMP Reference Guide
2.20.0
The Integrative Modeling Platform
|
Keeps all structures inside a sphere. More...
Inherits RestraintBase.
Keeps all structures inside a sphere.
Definition at line 16 of file restraints/basic.py.
Public Member Functions | |
def | __init__ |
Setup external barrier restraint. More... | |
def IMP.pmi.restraints.basic.ExternalBarrier.__init__ | ( | self, | |
hierarchies, | |||
radius = 10.0 , |
|||
resolution = 10 , |
|||
weight = 1.0 , |
|||
center = None , |
|||
label = None |
|||
) |
Setup external barrier restraint.
hierarchies | Can be one of the following inputs: IMP Hierarchy, PMI System/State/Molecule/TempResidue, or a list/set of them |
radius | Size of external barrier |
resolution | Select which resolutions to act upon |
weight | Weight of restraint |
center | Center of the external barrier (IMP.algebra.Vector3D object) |
label | A unique label to be used in outputs and particle/restraint names. |
Definition at line 27 of file restraints/basic.py.