IMP  2.0.1
The Integrative Modeling Platform
_randomize.py
1 # python files placed in this src directory are automatically added to the module.
2 # The function below can be accessed as IMP.example.randomize.randomize_particles().
3 
4 import IMP.core
5 
6 def randomize_particle(p):
8  d.set_coordinates(IMP.algebra.get_random_vector_in(IMP.algebra.get_unit_bounding_box_3d()))