IMP logo
Public Member Functions | Static Public Member Functions
IMP::em::FitRestraint Class Reference

Detailed Description

Calculate score based on fit to EM map.

Examples: analyze convergence, fit restraint

+ Inheritance diagram for IMP::em::FitRestraint:

List of all members.

Public Member Functions

 FitRestraint (ParticlesTemp ps, DensityMap *em_map, FloatPair norm_factors=FloatPair(0., 0.), FloatKey weight_key=atom::Mass::get_mass_key(), float scale=1, bool use_rigid_bodies=true, KernelType kt=GAUSSIAN)
 Constructor.
SampledDensityMapget_model_dens_map () const
float get_scale_factor () const
void set_scale_factor (float scale)

Static Public Member Functions

static FitRestraintget_from (IMP::base::Object *o)

Constructor & Destructor Documentation

IMP::em::FitRestraint::FitRestraint ( ParticlesTemp  ps,
DensityMap em_map,
FloatPair  norm_factors = FloatPair(0., 0.),
FloatKey  weight_key = atom::Mass::get_mass_key(),
float  scale = 1,
bool  use_rigid_bodies = true,
KernelType  kt = GAUSSIAN 
)

Constructor.

Parameters:
[in]psThe particles participating in the fitting score
[in]em_mapThe density map used in the fitting score
[in]norm_factorsif set, they are used as normalization factors for the cross correlation calculations. This is relevant when the cross-correlation score of the entire system is decomposed.
[in]weight_keythe name of the weight attribute of the particles
[in]scalemultiply the fitting restraint score and derivatives by this value
[in]use_rigid_bodiesis some of the particles are part of a rigid body, use the rigid body for faster calculations
Note:
Rigid-bodies are interpolated and not resampled if use_rigid_bodies option is selected. This significantly reduces the running time but is less accurate. If the user prefers to get more accurate results, provide its members as input particles and not the rigid body.

Member Function Documentation

SampledDensityMap* IMP::em::FitRestraint::get_model_dens_map ( ) const
Returns:
the predicted density map of the model

The documentation for this class was generated from the following file:

Generated on Fri Feb 10 2012 23:36:28 for IMP by doxygen 1.7.5.1