13 prb.set_coordinates_are_optimized(
True)
14 prb.set_name(name +
" rb")
28 d.set_name(name + str(i) + str(j) + str(k))
30 d.set_rotational_diffusion_coefficient(
31 d.get_rotational_diffusion_coefficient() * 100)
35 def display(i, w, hs):
51 rb0.get_members() + rb1.get_members()),
64 bd.set_time_step(10000)
69 for i
in range(0, 100):
70 display(i, w, [h0, h1])
static RigidBody setup_particle(kernel::Model *m, ParticleIndex pi, kernel::ParticleIndexesAdaptor ps)
void set_log_level(LogLevel l)
Set the current global log level.
std::string create_temporary_file_name(std::string prefix="imp_temp", std::string suffix="")
Create a temporary file.
kernel::Restraint * create_distance_restraint(const Selection &n0, const Selection &n1, double x0, double k, std::string name="Distance%1%")
static XYZR setup_particle(kernel::Model *m, ParticleIndex pi)
Simple Brownian dynamics simulator.
static Molecule setup_particle(kernel::Model *m, ParticleIndex pi)
Store a kernel::ParticleIndexes.
Class to handle individual model particles.
static Mass setup_particle(kernel::Model *m, ParticleIndex pi, Float mass)
Basic functionality that is expected to be used by a wide variety of IMP users.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
Prevent a set of particles and rigid bodies from inter-penetrating.
Write a CGO file with the geometry.
static Fragment setup_particle(kernel::Model *m, ParticleIndex pi)
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.
IMP::core::RigidBody create_rigid_body(const Hierarchies &h, std::string name=std::string("created rigid body"))
Rigidify a molecule or collection of molecules.
Select hierarchy particles identified by the biological name.
static RigidBodyDiffusion setup_particle(kernel::Model *m, ParticleIndex pi)
Display an IMP::atom::Hierarchy particle as balls.
Class for storing model, its restraints, constraints, and particles.