IMP logo
IMP Reference Guide  2.9.0
The Integrative Modeling Platform
IMP.EMageFit.imp_general.movement Namespace Reference

Utility functions to handle movement. More...

Detailed Description

Utility functions to handle movement.

Functions

def apply_random_transform
 Apply a random transformation to the rigid body and change the reference frame. More...
 
def apply_transformation_to_hierarchy
 If fn_write is different from False, write to file. More...
 
def get_random_transformation
 Return a random transformation. More...
 

Function Documentation

def IMP.EMageFit.imp_general.movement.apply_random_transform (   rb,
  max_trans = 100 
)

Apply a random transformation to the rigid body and change the reference frame.

Note
This function is only available in Python.

Definition at line 13 of file movement.py.

def IMP.EMageFit.imp_general.movement.apply_transformation_to_hierarchy (   prot,
  T,
  fn_write = False 
)

If fn_write is different from False, write to file.

Note
This function is only available in Python.

Definition at line 30 of file movement.py.

def IMP.EMageFit.imp_general.movement.get_random_transformation (   max_distance,
  max_angle,
  seed = -1 
)

Return a random transformation.

Parameters
max_distanceMaximum translation allowed
max_angleMaximum rotation angle allowed
seedIf specified, seed for random number generator
Note
This function is only available in Python.

Definition at line 45 of file movement.py.