IMP
2.2.0
The Integrative Modeling Platform
|
Utility functions to handle restraints. More...
Functions | |
def | get_connectivity_restraint |
Set a connectivity restraint for the leaves of a set of particles. More... | |
def | get_em2d_restraint |
Sets a restraint for comparing the model to a set of EM images. | |
def IMP.em2d.restraints.get_connectivity_restraint | ( | particles, | |
distance = 10.0 , |
|||
n_pairs = 1 , |
|||
spring_constant = 1 |
|||
) |
The intended use is that the each particle is a hierarchy. Each hierarchy contains leaves that are atoms, or particles that are a coarse representation of a molecule
Definition at line 20 of file restraints.py.