17 r = sd.get_restraint()
18 h = sd.get_harmonic_upper_bound()
21 sd.set_standard_deviation(3.5)
24 imp_model.add_restraint(r)
27 imp_model.evaluate(
False)
SimpleDiameter create_simple_diameter(const kernel::Particles &ps, Float diameter)
See IMP.restrainer for more information.
XYZRs create_xyzr_particles(kernel::Model *m, unsigned int num, Float radius, Float box_side=10)
Create a set of particles with random coordinates.
See IMP.core for more information.
Class for storing model, its restraints, constraints, and particles.