IMP logo
IMP Reference Guide  2.16.0
The Integrative Modeling Platform
coarse_molecule.h
Go to the documentation of this file.
1 /**
2  * \file IMP/multifit/coarse_molecule.h
3  * \brief coarsen molecule by clustering
4  *
5  * Copyright 2007-2021 IMP Inventors. All rights reserved.
6  *
7  */
8 
9 #ifndef IMPMULTIFIT_COARSE_MOLECULE_H
10 #define IMPMULTIFIT_COARSE_MOLECULE_H
11 
12 #include <IMP/atom/Hierarchy.h>
13 #include <IMP/em/DensityMap.h>
14 #include <IMP/multifit/multifit_config.h>
15 
16 IMPMULTIFIT_BEGIN_NAMESPACE
17 
18 //! Coarsen a density map based on voxels clustering
19 /**
20 \param[in] dmap the density map to coarsen
21 \param[in] dens_threshold use only voxels above this
22  threshold for clustering
23 \param[in] num_beads the number of beads
24 \param[in] mdl model to add the new molecule to
25 \param[in] bead_radius bead radius
26  */
27 IMPMULTIFITEXPORT
28 atom::Hierarchy create_coarse_molecule_from_density(em::DensityMap *dmap,
29  float dens_threshold,
30  int num_beads,
31  Model *mdl,
32  float bead_radius);
33 
34 IMPMULTIFIT_END_NAMESPACE
35 
36 #endif /* IMPMULTIFIT_COARSE_MOLECULE_H */
Class for handling density maps.
Decorator for helping deal with a hierarchy of molecules.
atom::Hierarchy create_coarse_molecule_from_density(em::DensityMap *dmap, float dens_threshold, int num_beads, Model *mdl, float bead_radius)
Coarsen a density map based on voxels clustering.