IMP logo
IMP Reference Guide  2.12.0
The Integrative Modeling Platform
IMP::cnmultifit::AlignSymmetric Class Reference

A class for fast alignment of a cyclic model to its density. More...

#include <IMP/cnmultifit/AlignSymmetric.h>

Detailed Description

A class for fast alignment of a cyclic model to its density.

The class supports Cn and Dn symmetry

Definition at line 23 of file AlignSymmetric.h.

Public Member Functions

 AlignSymmetric (em::DensityMap *dmap, float threshold, int cn_symm_deg)
 Constructor. More...
 
Floats get_sorted_principal_values () const
 
algebra::Transformation3Ds get_symm_axis_alignments_from_model_to_density (atom::Hierarchies mhs, bool sample_translation, bool fine_rotation_sampling=true) const
 
int score_alignment (atom::Hierarchies mhs, float max_allowed_diff)
 Return the number of matching eigen vectors by their eigen values. More...
 
void show (std::ostream &out=std::cout) const
 

Protected Member Functions

algebra::Transformation3Ds generate_cn_density_rotations (bool fine=false) const
 
algebra::Transformation3Ds generate_cn_density_translations () const
 

Protected Attributes

int cn_symm_deg_
 
int dn_symm_deg_
 
Floats map_v_
 
float spacing_
 
boost::scoped_ptr
< CnSymmAxisDetector
symm_map_
 

Constructor & Destructor Documentation

IMP::cnmultifit::AlignSymmetric::AlignSymmetric ( em::DensityMap dmap,
float  threshold,
int  cn_symm_deg 
)

Constructor.

Parameters
[in]dmapthe density map
[in]thresholddensity threshold used for determining the map PCA
[in]cn_symm_degthe ring symmetry degree

Member Function Documentation

algebra::Transformation3Ds IMP::cnmultifit::AlignSymmetric::get_symm_axis_alignments_from_model_to_density ( atom::Hierarchies  mhs,
bool  sample_translation,
bool  fine_rotation_sampling = true 
) const

Return the two alignments that match the model symmetry axis on the density symmetry axis

int IMP::cnmultifit::AlignSymmetric::score_alignment ( atom::Hierarchies  mhs,
float  max_allowed_diff 
)

Return the number of matching eigen vectors by their eigen values.

Parameters
[in]mhsthe model to align with the density
[in]max_allowed_diffthe maximum allowed difference between matching eigen values

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