8 #ifndef IMPEM_PCA_ALIGNER_H
9 #define IMPEM_PCA_ALIGNER_H
11 #include <IMP/em/em_config.h>
34 : base::Object(
"EM_PCA_Aligner") {
64 IMP::algebra::PrincipalComponentAnalysis map_pc_;
algebra::Vector3Ds density2vectors(DensityMap *dmap, Float threshold)
Converts a density grid to a set of paritlces.
IMP::base::VersionInfo get_version_info() const
Get information about the module and version of the object.
PCAAligner(IMP::em::DensityMap *map, float density_threshold)
PrincipalComponentAnalysisD< D > get_principal_components(const base::Vector< VectorD< D > > &ps)
Perform principal components analysis on a set of vectors.
Converters of density values.
Class for handling density maps.
Vector3D get_vector_product(const Vector3D &p1, const Vector3D &p2)
Returns the vector product (cross product) of two vectors.
Common base class for heavy weight IMP objects.
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.
Version and module information for Objects.
Principal component analysis of a set of points.