IMP logo
IMP Reference Guide  2.5.0
The Integrative Modeling Platform
IMP.EMageFit.restraints Namespace Reference

Utility functions to handle restraints. More...

Detailed Description

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...
 

Function Documentation

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

Note
This function is only available in Python.

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.

Note
This function is only available in Python.

Definition at line 38 of file restraints.py.