21d0.set_coordinates_are_optimized(
True)
22d1.set_coordinates_are_optimized(
True)
28opt.set_scoring_function([dist])
29opt.set_minimum_size(.000001)
30opt.set_initial_length(1)
33e = opt.optimize(1000000)
Class for storing model, its restraints, constraints, and particles.
Class to handle individual particles of a Model object.
Distance restraint between two particles.
Harmonic function (symmetric about the mean)
static XYZ setup_particle(Model *m, ParticleIndex pi)
A simplex optimizer taken from GSL.
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.
double get_distance(const Surface &s, const XYZR &d)
Get distance from sphere to surface.
Several general purpose optimizers from the GNU Scientific Library (GSL).
Support for running tests of IMP functionality.
void setup_from_argv(int argc, char **argv, std::string description)
Parse the command line flags and return the positional arguments.