IMP  2.1.0
The Integrative Modeling Platform
IMP.em2d.restraints Namespace Reference

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.
 

Detailed Description

Function Documentation

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 19 of file restraints.py.

+ Here is the call graph for this function: