IMP Reference Guide
develop.63b38c487d,2024/12/22
The Integrative Modeling Platform
|
Utility functions to handle movement. More...
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... | |
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.
Definition at line 12 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.
Definition at line 27 of file movement.py.
def IMP.EMageFit.imp_general.movement.get_random_transformation | ( | max_distance, | |
max_angle, | |||
seed = -1 |
|||
) |
Return a random transformation.
max_distance | Maximum translation allowed |
max_angle | Maximum rotation angle allowed |
seed | If specified, seed for random number generator |
Definition at line 42 of file movement.py.