25 for i
in range(0, num_balls):
30 d.set_coordinates_are_optimized(
True)
40 mc.set_incremental_scoring_function(isf)
46 print "initial", isf.evaluate(
False)
47 after = mc.optimize(num_mc_steps)
Applies a SingletonScore to each Singleton in a list.
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.
std::string create_temporary_file_name(std::string prefix="imp_temp", std::string suffix="")
Modify a set of continuous variables by perturbing them within a ball.
Score particles based on how far outside a box they are.
Vector3D get_random_vector_in(const Cylinder3D &c)
Generate a random vector in a cylinder with uniform density.
static XYZR setup_particle(kernel::Model *m, ParticleIndex pi)
Store a kernel::ParticleIndexes.
Class to handle individual model particles.
See IMP.core for more information.
See IMP.algebra for more information.
Prevent a set of particles and rigid bodies from inter-penetrating.
Write a CGO file with the geometry.
Strings setup_from_argv(const Strings &argv, std::string description, std::string positional_description, int num_positional)
See IMP.display for more information.
Apply a list of movers one at a time.
Class for storing model, its restraints, constraints, and particles.
Display an IMP::core::XYZR particle as a ball.