IMP Reference Guide
2.22.0
The Integrative Modeling Platform
|
A class for fast alignment of a cyclic model to its density. More...
#include <IMP/cnmultifit/AlignSymmetric.h>
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_ |
IMP::cnmultifit::AlignSymmetric::AlignSymmetric | ( | em::DensityMap * | dmap, |
float | threshold, | ||
int | cn_symm_deg | ||
) |
Constructor.
[in] | dmap | the density map |
[in] | threshold | density threshold used for determining the map PCA |
[in] | cn_symm_deg | the ring symmetry degree |
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.
[in] | mhs | the model to align with the density |
[in] | max_allowed_diff | the maximum allowed difference between matching eigen values |