IMP  2.1.1
The Integrative Modeling Platform
fitting_utils.h
Go to the documentation of this file.
1 /**
2  * \file IMP/multifit/fitting_utils.h
3  * \brief fitting utilities
4  *
5  * Copyright 2007-2013 IMP Inventors. All rights reserved.
6  *
7  */
8 
9 #ifndef IMPMULTIFIT_FITTING_UTILS_H
10 #define IMPMULTIFIT_FITTING_UTILS_H
11 
13 #include <IMP/kernel/Model.h>
14 #include <IMP/core/Hierarchy.h>
15 #include <IMP/base/Object.h>
16 #include <IMP/file.h>
17 #include <IMP/em/rigid_fitting.h>
18 #include <IMP/multifit/multifit_config.h>
19 #include "FittingSolutionRecord.h"
20 IMPMULTIFIT_BEGIN_NAMESPACE
21 
22 //create a density hit map from a set of fitting solutions
23 IMPMULTIFITEXPORT
24 em::DensityMap* create_hit_map(core::RigidBody rb, Refiner *rb_ref,
25  const FittingSolutionRecords &sols,
26  em::DensityMap *damp
27  );
28 //! Given a molecule and a set of points, return the indexes of the points
29 //! that are close to the molecule (up to max_dist) and the res
30 IMPMULTIFITEXPORT
32  const atom::Hierarchy &mh,
33  const algebra::Vector3Ds points,
34  Float max_dist);
35 IMPMULTIFITEXPORT
36 algebra::Vector3Ds get_points_far_from_molecule(
37  const atom::Hierarchy &mh,
38  const algebra::Vector3Ds points,
39  Float max_dist);
40 IMPMULTIFIT_END_NAMESPACE
41 #endif /* IMPMULTIFIT_FITTING_UTILS_H */
Decorator for helping deal with a hierarchy.
Import IMP/kernel/file.h in the namespace.
base::Vector< VectorD< 3 > > Vector3Ds
Definition: VectorD.h:589
IMP::base::Vector< FittingSolutionRecord > FittingSolutionRecords
stored a multifit fitting solution
IMP::kernel::Refiner Refiner
Storage of a model, its restraints, constraints and particles.
algebra::Vector3Ds get_points_close_to_molecule(const atom::Hierarchy &mh, const algebra::Vector3Ds points, Float max_dist)
Simple 3D transformation class.
double Float
Basic floating-point value (could be float, double...)
Definition: base/types.h:20
A shared base class to help in debugging and things.
preforms rigid fitting between a set of particles and a density map