IMP logo
IMP Reference Guide  develop.63b38c487d,2024/12/21
The Integrative Modeling Platform
IMP::em::PCAAligner Class Reference

Fast alignment of points to a density map using principal components. More...

#include <IMP/em/PCAAligner.h>

+ Inheritance diagram for IMP::em::PCAAligner:

Detailed Description

Fast alignment of points to a density map using principal components.

Fast alignment of a set of points to a density map using principal components of the map and the points.

This type of alignment is good for low-resolution maps.

Note, that principal components are not well-defined for globular objects, so the method may fail in the case of symmetric structures

Definition at line 28 of file PCAAligner.h.

Public Member Functions

 PCAAligner (IMP::em::DensityMap *map, float density_threshold)
 Constructor. More...
 
algebra::Transformation3Ds align (const algebra::Vector3Ds &points) const
 Align the principal components of the points to those of the density map. More...
 
IMP::VersionInfo get_version_info () const override
 Get information about the module and version of the object. More...
 
- Public Member Functions inherited from IMP::Object
virtual void clear_caches ()
 
CheckLevel get_check_level () const
 
LogLevel get_log_level () const
 
void set_check_level (CheckLevel l)
 
void set_log_level (LogLevel l)
 Set the logging level used in this object. More...
 
void set_was_used (bool tf) const
 
void show (std::ostream &out=std::cout) const
 
const std::string & get_name () const
 
void set_name (std::string name)
 
virtual std::string get_type_name () const
 

Additional Inherited Members

- Protected Member Functions inherited from IMP::Object
 Object (std::string name)
 Construct an object with the given name. More...
 
virtual void do_destroy ()
 

Constructor & Destructor Documentation

IMP::em::PCAAligner::PCAAligner ( IMP::em::DensityMap map,
float  density_threshold 
)

Constructor.

Parameters
mapinput density map
density_thresholda threshold that determines which map voxels to use in the fit

Definition at line 35 of file PCAAligner.h.

+ Here is the call graph for this function:

Member Function Documentation

algebra::Transformation3Ds IMP::em::PCAAligner::align ( const algebra::Vector3Ds points) const

Align the principal components of the points to those of the density map.

Parameters
pointsThe points for PCA alignment to the map
Returns
24 transformations to the density map
IMP::VersionInfo IMP::em::PCAAligner::get_version_info ( ) const
overridevirtual

Get information about the module and version of the object.

Reimplemented from IMP::Object.

Definition at line 49 of file PCAAligner.h.

+ Here is the call graph for this function:


The documentation for this class was generated from the following file: