9 #ifndef IMPEM_PCA_ALIGNER_H
10 #define IMPEM_PCA_ALIGNER_H
12 #include <IMP/em/em_config.h>
36 :
Object(
"EM_PCA_Aligner") {
64 IMP::algebra::PrincipalComponentAnalysis map_pc_;
algebra::Vector3Ds density2vectors(DensityMap *dmap, Float threshold)
Convert a density grid to a set of vectors.
PCAAligner(IMP::em::DensityMap *map, float density_threshold)
Constructor.
Converters of density values.
Fast alignment of points to a density map using principal components.
Class for handling density maps.
Vector3D get_vector_product(const Vector3D &p1, const Vector3D &p2)
Return the vector product (cross product) of two vectors.
Common base class for heavy weight IMP objects.
Version and module information for Objects.
PrincipalComponentAnalysisD< D > get_principal_components(const Vector< VectorD< D > > &ps)
Perform principal components analysis on a set of vectors.
Rotation3D get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22)
Generate a Rotation3D object from a rotation matrix.
A shared base class to help in debugging and things.
Principal component analysis of a set of points.
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.
std::string get_module_version()
Return the version of this module, as a string.
IMP::VersionInfo get_version_info() const
Get information about the module and version of the object.