home
about
news
download
doc
source
systems
tests
bugs
contact
IMP Reference Guide
2.20.1
The Integrative Modeling Platform
IMP Manual
Reference Guide
Tutorial Index
Modules
Classes
Examples
include
IMP
em
version 2.20.1
em/embedding.h
Go to the documentation of this file.
1
/**
2
* \file IMP/em/embedding.h
3
* \brief Cluster sets of points.
4
*
5
* Copyright 2007-2022 IMP Inventors. All rights reserved.
6
*
7
*/
8
9
#ifndef IMPEM_EMBEDDING_H
10
#define IMPEM_EMBEDDING_H
11
12
#include <IMP/em/em_config.h>
13
#include "
DensityMap.h
"
14
#include <
IMP/statistics/Embedding.h
>
15
16
IMPEM_BEGIN_NAMESPACE
17
18
/** Generate a set of points from the voxels in a em::DensityMap
19
which are above a certain threshold.
20
*/
21
class
IMPEMEXPORT
HighDensityEmbedding
:
public
statistics::Embedding
{
22
algebra::Vector3Ds
points_;
23
24
public
:
25
HighDensityEmbedding
(
DensityMap
*dm,
double
threshold);
26
algebra::VectorKD
get_point(
unsigned
int
i)
const override
;
27
unsigned
int
get_number_of_items()
const override
;
28
IMP_OBJECT_METHODS
(
HighDensityEmbedding
);
29
};
30
31
IMPEM_END_NAMESPACE
32
33
#endif
/* IMPEM_EMBEDDING_H */
IMP_OBJECT_METHODS
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Definition:
object_macros.h:25
IMP::Vector< VectorD< 3 > >
DensityMap.h
Class for handling density maps.
IMP::em::DensityMap
Class for handling density maps.
Definition:
DensityMap.h:95
IMP::statistics::Embedding
Store data to be clustered for embedding based algorithms.
Definition:
statistics/embedding.h:25
IMP::em::HighDensityEmbedding
Definition:
em/embedding.h:21
Embedding.h
Cluster sets of points.
IMP::algebra::VectorKD
VectorD<-1 > VectorKD
Definition:
VectorD.h:441