IMP Reference Guide
2.14.0
The Integrative Modeling Platform
|
Utility functions to handle restraints. More...
Utility functions to handle restraints.
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. More... | |
def IMP.EMageFit.restraints.get_connectivity_restraint | ( | particles, | |
distance = 10.0 , |
|||
n_pairs = 1 , |
|||
spring_constant = 1 |
|||
) |
Set a connectivity restraint for the leaves of a set of particles.
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 19 of file restraints.py.
def IMP.EMageFit.restraints.get_em2d_restraint | ( | assembly, | |
images_selection_file, | |||
restraint_params, | |||
mode = 'fast' , |
|||
n_optimized = 1 |
|||
) |
Sets a restraint for comparing the model to a set of EM images.
Definition at line 38 of file restraints.py.