IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
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.
algebra::Transformation3Ds align (const algebra::Vector3Ds &points) const
 Align the principal components of the points to those of the density map.
IMP::VersionInfo get_version_info () const override
 Get information about the module and version of the object.
Public Member Functions inherited from IMP::Object
CheckLevel get_check_level () const
 get_derived_object (self)
 Return this object cast to the most derived subclass.
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.
const std::string & get_name () const
 Get the (not necessarily unique) name of this object.
void set_name (std::string name)
virtual std::string get_type_name () const
void set_was_used (bool tf) const
void show (std::ostream &out=std::cout) const
virtual void clear_caches ()

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ PCAAligner()

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:

◆ ~PCAAligner()

IMP::em::PCAAligner::~PCAAligner ( )

Definition at line 53 of file PCAAligner.h.

Member Function Documentation

◆ align()

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

◆ get_version_info()

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.


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