26 for p0
in lc.get_particles():
27 for p1
in lc.get_particles():
32 print "The maximim distance is " + str(max)
38 for p0
in lc.get_particles():
39 for p1
in lc.get_particles():
44 print "Afterwards, the maximim distance is " + str(max)
See IMP.container for more information.
Upper bound harmonic function (non-zero when feature > mean)
void set_log_level(LogLevel l)
Set the current global log level.
Simple conjugate gradients optimizer.
double get_distance(XYZR a, XYZR b)
Compute the sphere distance between a and b.
Restrain the diameter of a set of points.
XYZRs create_xyzr_particles(kernel::Model *m, unsigned int num, Float radius, Float box_side=10)
Create a set of particles with random coordinates.
A decorator for a particle with x,y,z coordinates.
See IMP.core for more information.
Class for storing model, its restraints, constraints, and particles.