17 p = m.add_particle(
"p")
28print(r.evaluate(
False))
Class for storing model, its restraints, constraints, and particles.
Score a pair of particles based on the distance between their centers.
Harmonic function (symmetric about the mean)
Applies a PairScore to a Pair.
static XYZR setup_particle(Model *m, ParticleIndex pi)
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
VectorD< D > get_random_vector_in(const BoundingBoxD< D > &bb)
Generate a random vector in a box with uniform density.
Basic functionality that is expected to be used by a wide variety of IMP users.
void setup_from_argv(int argc, char **argv, std::string description)
Parse the command line flags and return the positional arguments.