9 #ifndef IMPEM_FIT_RESTRAINT_H
10 #define IMPEM_FIT_RESTRAINT_H
12 #include <IMP/em/em_config.h>
24 #include <boost/unordered_map.hpp>
56 FloatKey weight_key = atom::Mass::get_mass_key(),
57 float scale = 1,
bool use_rigid_bodies =
true,
58 KernelType kt = GAUSSIAN);
61 void set_scale_factor(
float scale) { scalefac_ = scale; }
62 float get_scale_factor()
const {
return scalefac_; }
75 void resample()
const;
77 void initialize_model_density_map(
FloatKey weight_key);
93 bool use_rigid_bodies_;
96 boost::unordered_map<core::RigidBody, kernel::Particles> member_map_;
A decorator for particles with mass.
Class for adding derivatives from restraints to the model.
Perform coarse fitting between two density objects.
A smart pointer to a ref-counted Object that is a class member.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
std::pair< double, double > FloatPair
A generic pair of floats.
SampledDensityMap * get_model_dens_map() const
Return the predicted density map of the model.
Class for handling density maps.
Decorator for helping deal with a hierarchy of molecules.
Class for handling density maps.
Class for sampling a density map from particles.
Abstract base class for all restraints.
Import IMP/kernel/Refiner.h in the namespace.
A restraint is a term in an IMP ScoringFunction.
Class to handle individual model particles.
Storage of a model, its restraints, constraints and particles.
Calculate score based on fit to EM map.
virtual ModelObjectsTemp do_get_inputs() const =0
#define IMP_LIST(protection, Ucname, lcname, Data, PluralData)
A macro to provide a uniform interface for storing lists of objects.
Decorator for a sphere-like particle.
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.