IMP logo
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
IMP::saxs::Restraint Class Reference

Detailed Description

Calculate score based on fit to SAXS profile.

The restraint takes rigid bodies into account, in order to speed up the calculations. Rigid body should be gived as single RigidBody Particle. Other, non-rigid body Particles can also be given.

The shape of a rigid body is assumed to be defined by the set of atom::Hierarchy leaves of the atom::Hierarchy rooted at the rigid body particle.

Algorithmic details:
The distances between the atoms of rigid body do not change, therefore their contribution to the profile is pre-computed and stored.
+ Inheritance diagram for IMP::saxs::Restraint:

List of all members.

Public Member Functions

 Restraint (const Particles &particles, const Profile &exp_profile, FormFactorType ff_type=HEAVY_ATOMS)
 Constructor.

Static Public Member Functions

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

Protected Member Functions

void compute_profile (Profile &model_profile)

Protected Attributes

Pointer< DerivativeCalculator > derivative_calculator_
Profile exp_profile_
FormFactorType ff_type_
Particles particles_
std::vector< Particlesrigid_bodies_
std::vector< core::RigidBodyrigid_bodies_decorators_
Profile rigid_bodies_profile_
Pointer< Scoresaxs_score_

Constructor & Destructor Documentation

IMP::saxs::Restraint::Restraint ( const Particles particles,
const Profile exp_profile,
FormFactorType  ff_type = HEAVY_ATOMS 
)

Constructor.

Parameters:
[in]particlesThe particles participating in the fitting score
[in]exp_profileThe experimental profile used in the fitting score
[in]ff_typeType of the form factors for profile calculations: ALL_ATOMS - all atoms including hydrogens HEAVY_ATOMS - no hydrogens, all other atoms included CA_ATOMS - residue level, residue represented by CA

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

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