15p1 = m.add_particle(
'p1')
16p2 = m.add_particle(
'p2')
39d1.set_coordinates_are_optimized(
True)
40d2.set_coordinates_are_optimized(
True)
42o.set_scoring_function(sf)
Class for storing model, its restraints, constraints, and particles.
Simple conjugate gradients optimizer.
Score a pair of particles based on the distance between their centers.
Harmonic function (symmetric about the mean)
Applies a PairScore to a Pair.
Create a scoring function on a list of restraints.
Applies a SingletonScore to a Singleton.
static XYZ setup_particle(Model *m, ParticleIndex pi)
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
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.