IMP  2.2.1
The Integrative Modeling Platform
density_utilities.h
Go to the documentation of this file.
1 /**
2  * \file IMP/em/density_utilities.h
3  * \brief density map manipulations
4  *
5  * Copyright 2007-2014 IMP Inventors. All rights reserved.
6  *
7  */
8 
9 #ifndef IMPEM_DENSITY_UTILITIES_H
10 #define IMPEM_DENSITY_UTILITIES_H
11 
12 #include <IMP/em/em_config.h>
13 #include <IMP/base_types.h>
14 #include "DensityMap.h"
15 
16 IMPEM_BEGIN_NAMESPACE
17 
18 //! Return a masked density , and
19 //! normalize the output map within the masked region
20 /**
21 \param[in] dmap the density map to mask
22 \param[in] mask the mask
23 \return the masked and normalized map
24  */
25 IMPEMEXPORT DensityMap *mask_and_norm(em::DensityMap *dmap,
26  em::DensityMap *mask);
27 
28 IMPEM_END_NAMESPACE
29 #endif /* IMPEM_DENSITY_UTILITIES_H */
Import IMP/kernel/base_types.h in the namespace.
DensityMap * mask_and_norm(em::DensityMap *dmap, em::DensityMap *mask)
Class for handling density maps.