This example shows how to create simple IMP::core::DiameterRestraint.
15 sd = IMP.restrainer.create_simple_diameter(ps, diameter)
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)