IMP logo
IMP Reference Guide  2.6.1
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-2016 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  */
31 IMPMULTIFITEXPORT FittingSolutionRecords
33  atom::Hierarchy mh, IMP::Particle *ap,
34  Float dist);
35 
36 IMPMULTIFIT_END_NAMESPACE
37 #endif /* IMPMULTIFIT_FITTING_TOOLS_H */
Decorator for helping deal with a hierarchy.
Basic types used by IMP.
IMP::Vector< FittingSolutionRecord > FittingSolutionRecords
FittingSolutionRecords get_close_to_point(const FittingSolutionRecords &fit_sols, atom::Hierarchy mh, IMP::Particle *ap, Float dist)
prune solutions by distance to an anchor point
Decorator for helping deal with a hierarchy of molecules.
stored a multifit fitting solution
Simple 3D transformation class.
A shared base class to help in debugging and things.
double Float
Basic floating-point value (could be float, double...)
Definition: types.h:20
Class to handle individual model particles.
Definition: Particle.h:37