IMP  2.1.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-2013 IMP Inventors. All rights reserved.
6  *
7  */
8 
9 #ifndef IMPEM_DENSITY_UTILITIES_H
10 #define IMPEM_DENSITY_UTILITIES_H
11 
12 
13 #include <IMP/em/em_config.h>
14 #include <IMP/base_types.h>
15 #include "DensityMap.h"
16 
17 IMPEM_BEGIN_NAMESPACE
18 
19 //! Return a masked density , and
20 //! normalize the output map within the masked region
21 /**
22 \param[in] dmap the density map to mask
23 \param[in] mask the mask
24 \return the masked and normalized map
25  */
26 IMPEMEXPORT DensityMap* mask_and_norm(em::DensityMap *dmap,
27  em::DensityMap *mask);
28 
29 IMPEM_END_NAMESPACE
30 #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.