IMP logo
IMP Reference Guide  2.17.0
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-2022 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 normalize the output map within the mask region
19 /**
20 \param[in] dmap the density map to mask
21 \param[in] mask the mask
22 \return the masked and normalized map
23  */
24 IMPEMEXPORT DensityMap *mask_and_norm(em::DensityMap *dmap,
25  em::DensityMap *mask);
26 
27 IMPEM_END_NAMESPACE
28 #endif /* IMPEM_DENSITY_UTILITIES_H */
Basic types used by IMP.
DensityMap * mask_and_norm(em::DensityMap *dmap, em::DensityMap *mask)
Return a masked density, and normalize the output map within the mask region.
Class for handling density maps.