IMP logo
example examples

range restriction

This example shows how to use the example singleton modifier to constrain the coordinates of a set of particles to remain within a box.

import IMP.core
bb= IMP.algebra.BoundingBox3D(IMP.algebra.Vector3D(0,0,0),
# apply the range restriction modifier to each each particle in sc
m.add_score_state(ss)
# now optimize and things
# ...


Generated on Tue May 22 2012 23:33:21 for IMP by doxygen 1.8.1