IMP  2.0.0
The Integrative Modeling Platform
fitting_tools.h
Go to the documentation of this file.
1 /**
2  * \file IMP/multifit/fitting_tools.h
3  * \brief tools for handling fitting records
4  *
5  * Copyright 2007-2013 IMP Inventors. All rights reserved.
6  *
7  */
8 
9 #ifndef IMPMULTIFIT_FITTING_TOOLS_H
10 #define IMPMULTIFIT_FITTING_TOOLS_H
11 
13 #include <IMP/base_types.h>
14 #include <IMP/core/Hierarchy.h>
15 #include <IMP/Object.h>
16 #include <IMP/atom/Hierarchy.h>
17 #include <IMP/multifit/multifit_config.h>
18 #include "FittingSolutionRecord.h"
19 IMPMULTIFIT_BEGIN_NAMESPACE
20 
21 //! prune solutions by distance to an anchor point
22 /**
23 \param[in] fit_sols initial fitting solutions
24 \param[in] mh the molecule the fitting solutions apply for
25 \param[in] ap anchor point for which the transformed mh (fit) should be
26  close to
27 \param[in] dist all fits such that the distance between ap and the fit center
28  is smaller than dist will be included
29 \return the pruned fitting solutions
30  */
32  const FittingSolutionRecords &fit_sols,
33  atom::Hierarchy mh,
34  IMP::Particle *ap,
35  Float dist);
36 
37 IMPMULTIFIT_END_NAMESPACE
38 #endif /* IMPMULTIFIT_FITTING_TOOLS_H */