9 #ifndef IMPCNMULTIFIT_SYMMETRY_UTILS_H
10 #define IMPCNMULTIFIT_SYMMETRY_UTILS_H
18 #include <IMP/cnmultifit/cnmultifit_config.h>
21 IMPCNMULTIFIT_BEGIN_NAMESPACE
25 atom::Hierarchies mhs,
int symm_deg);
29 atom::Hierarchies mhs,
int symm_deg);
32 em::FittingSolutions symmetry_local_fitting(atom::Hierarchies mhs,
36 int num_of_trans_to_consider);
39 em::DensityMap* build_cn_dens_assembly(
40 em::DensityMap *subunit_dens,
41 const em::DensityHeader &asmb_dens_header,
42 algebra::Transformation3D monomer_t,
46 void transform_cn_assembly(atom::Hierarchies mhs,
47 algebra::Transformation3D monomer_t);
53 atom::Hierarchies mhs,
55 em::DensityMap *dmap,
float threshold,
56 const AlignSymmetric &aligner,
57 bool sample_translation=
false,
58 bool fine_rotational_sampling=
true);
62 em::DensityMap *asmb_map,
63 const MolCnSymmAxisDetector &symm_mol,
65 const CnSymmAxisDetector &symm_map,
70 bool pca_matching(
const algebra::PrincipalComponentAnalysis &pca1,
71 const algebra::PrincipalComponentAnalysis &pca2,
83 const std::string ¶m_fn,
89 algebra::Transformation3D calc_transformation_around_axis(
95 atom::Hierarchies mh2);
97 IMPCNMULTIFIT_END_NAMESPACE
molecule symmetry detector
handles reading and writing MultiFit fitting solutions file
Fast alignment of a cyclic model to its density.
Detect cn symmetry in proteins and density maps.
Return the hierarchy children of a particle.
Decorator for helping deal with a hierarchy of molecules.
float cn_symm_score(atom::Hierarchies mhs, const algebra::Vector3D ¢er, const algebra::Vector3D &direction, int symm_deg)
scores an input vector as a symmetry axis
IMP::base::Vector< FittingSolutionRecord > FittingSolutionRecords
IMP::base::Vector< Transformation3D > Transformation3Ds
float get_cn_rmsd(atom::Hierarchies mh1, atom::Hierarchies mh2)
Find correspondence between the two rings and calculate rmsd.
em::FittingSolutions fit_cn_assembly(atom::Hierarchies mhs, int dn_symm_deg, em::DensityMap *dmap, float threshold, const AlignSymmetric &aligner, bool sample_translation=false, bool fine_rotational_sampling=true)
Fit a symmetric model to its density.
preforms rigid fitting between a set of particles and a density map