12#ifndef IMPEM_FIT_RESTRAINT_BAYES_EM3D_H
13#define IMPEM_FIT_RESTRAINT_BAYES_EM3D_H
22#include <IMP/em/em_config.h>
24#include <boost/unordered_map.hpp>
46 bool use_rigid_bodies =
true,
double sigma = .1,
47 double window_size = 1.0);
64 mutable double score_;
Compute a Bayesian formalism score and its derivatives to assess degree of match between a tested mod...
Class for handling density maps.
A decorator for particles with mass.
Storage of a model, its restraints, constraints and particles.
Refine a particle into a list of particles.
Abstract base class for all restraints.
Decorator for a sphere-like particle.
Decorator for helping deal with a hierarchy of molecules.
Class for adding derivatives from restraints to the model.
Restraint(Model *m, std::string name)
Create a restraint and register it with the model.
static FloatKey get_mass_key()
Class for handling density maps.
virtual double unprotected_evaluate(IMP::DerivativeAccumulator *accum) const override
Return the unweighted score for the restraint.
FitRestraintBayesEM3D(ParticlesTemp ps, DensityMap *em_map, FloatKey weight_key=atom::Mass::get_mass_key(), bool use_rigid_bodies=true, double sigma=.1, double window_size=1.0)
Constructor.
virtual IMP::ModelObjectsTemp do_get_inputs() const override
Vector< VectorD< 3 > > Vector3Ds
Vector< Pointer< Particle > > Particles
A list of reference-counted Particle objects.
Key< 0 > FloatKey
The type used to identify float attributes in the Particles.
IMP::Vector< IMP::WeakPointer< ModelObject > > ModelObjectsTemp
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
A smart pointer to a ref-counted Object that is a class member.