Illustration of simple usage of the IMP library from Python.
15 p1 = m.add_particle(
'p1')
16 p2 = m.add_particle(
'p2')
23 d1.set_coordinates(IMP.algebra.Vector3D(10.0, 10.0, 10.0))
24 d2.set_coordinates(IMP.algebra.Vector3D(-10.0, -10.0, -10.0))
39 d1.set_coordinates_are_optimized(
True)
40 d2.set_coordinates_are_optimized(
True)
42 o.set_scoring_function(sf)