|
IMP Reference Guide
develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
|
Restraints for handling electron microscopy maps. More...
Restraints for handling electron microscopy maps.
First, import the module:
Then, select the model densities that you want to assign to the EM:
Finally, create the restraint (replace gmm.txt by your target gmm), and add it to the model.
Author(s): Samuel Hanot, Massimiliano Bonomi, Riccardo Pellarin
Maintainer: Riccardo Pellarin
License: LGPL
Publications:
Classes | |
| class | GaussianEMRestraint |
| Creates a restraint between two Gaussian Mixture Models, "model" and "density". More... | |
Typedefs | |
| typedef IMP::algebra::DenseGrid3D< double > | DensityGrid |
Functions | |
| double | gem_score_cc (Particles model_ps, Particles density_ps) |
| DensityGrid | get_grid (IMP::em::DensityMap *in) |
| IMP::em::DensityMap * | get_masked_map (const IMP::algebra::Gaussian3Ds &gmm, const Floats &weights, IMP::em::DensityMap *densitymap, double threshold) |
| IMP::algebra::Vector3Ds | get_overlap_binned (const IMP::algebra::Gaussian3Ds &gmm, const Floats &weights, IMP::em::DensityMap *dm, double factor=2.5, int Nbin=100) |
| double | get_overlap_fast (const IMP::algebra::Gaussian3Ds &gmm, const Floats &weights, IMP::em::DensityMap *dm, double factor=2.5) |
| double | get_percentage_closer_than (const IMP::core::XYZs &m1, const IMP::core::XYZs &m2, const double t) |
| double | get_rmsd_excluding_higher_than (const IMP::core::XYZs &m1, const IMP::core::XYZs &m2, const double t) |
| double | get_rmsd_of_best_population (const IMP::algebra::Vector3Ds &m1, const IMP::algebra::Vector3Ds &m2, const double percentage) |
| double | get_rmsd_of_best_population (const IMP::atom::Selection &s1, const IMP::atom::Selection &s2, const double percentage) |
| double | get_rmsd_of_best_population (const IMP::core::XYZs &m1, const IMP::core::XYZs &m2, const double percentage) |
| IMP::algebra::Rotation3D | get_rotation_matrix (const IMP::algebra::Vector3D &x, const IMP::algebra::Vector3D &y) |
| IMP::em::DensityMap * | get_sub_map (const IMP::em::DensityMap *dm, const IMP::em::DensityMap *sub_gmm, const IMP::em::DensityMap *gmm) |
| IMP::algebra::Transformation3D | get_transformation_aligning_first_to_second (const IMP::atom::Selection &s1, const IMP::atom::Selection &s2) |
| IMP::algebra::PrincipalComponentAnalysis | NormalizePCA (const IMP::algebra::PrincipalComponentAnalysis &pca, const IMP::Particles &ps) |
| IMP::algebra::Transformation3Ds | PCAalign (const IMP::algebra::PrincipalComponentAnalysis &pca1, const IMP::algebra::PrincipalComponentAnalysis &pca2) |
| float | sgn (double v) |
Standard module functions | |
All | |
| std::string | get_module_version () |
| std::string | get_module_name () |
| std::string | get_data_path (std::string file_name) |
| Return the full path to one of this module's data files. | |
| std::string | get_example_path (std::string file_name) |
| Return the full path to one of this module's example files. | |
| typedef IMP::algebra::DenseGrid3D<double> IMP::bayesianem::DensityGrid |
Definition at line 26 of file bayesianem/utilities.h.
Definition at line 133 of file bayesianem/utilities.h.
| std::string IMP::bayesianem::get_data_path | ( | std::string | file_name | ) |
Return the full path to one of this module's data files.
To read the data file "data_library" that was placed in the data directory of this module, do something like
This will ensure that the code works both when IMP is installed or if used via the setup_environment.sh script.
| std::string IMP::bayesianem::get_example_path | ( | std::string | file_name | ) |
Return the full path to one of this module's example files.
To read the example file "example_protein.pdb" that was placed in the examples directory of this module, do something like
This will ensure that the code works both when IMP is installed or if used via the setup_environment.sh script.
| DensityGrid IMP::bayesianem::get_grid | ( | IMP::em::DensityMap * | in | ) |
Definition at line 182 of file bayesianem/utilities.h.
| IMP::em::DensityMap * IMP::bayesianem::get_masked_map | ( | const IMP::algebra::Gaussian3Ds & | gmm, |
| const Floats & | weights, | ||
| IMP::em::DensityMap * | densitymap, | ||
| double | threshold ) |
Definition at line 208 of file bayesianem/utilities.h.
| std::string IMP::bayesianem::get_module_name | ( | ) |
Definition at line 144 of file bayesianem_config.h.
| IMP::algebra::Vector3Ds IMP::bayesianem::get_overlap_binned | ( | const IMP::algebra::Gaussian3Ds & | gmm, |
| const Floats & | weights, | ||
| IMP::em::DensityMap * | dm, | ||
| double | factor = 2.5, | ||
| int | Nbin = 100 ) |
Definition at line 308 of file bayesianem/utilities.h.
| double IMP::bayesianem::get_overlap_fast | ( | const IMP::algebra::Gaussian3Ds & | gmm, |
| const Floats & | weights, | ||
| IMP::em::DensityMap * | dm, | ||
| double | factor = 2.5 ) |
Definition at line 275 of file bayesianem/utilities.h.
| double IMP::bayesianem::get_percentage_closer_than | ( | const IMP::core::XYZs & | m1, |
| const IMP::core::XYZs & | m2, | ||
| const double | t ) |
Definition at line 44 of file bayesianem/utilities.h.
| double IMP::bayesianem::get_rmsd_excluding_higher_than | ( | const IMP::core::XYZs & | m1, |
| const IMP::core::XYZs & | m2, | ||
| const double | t ) |
Definition at line 28 of file bayesianem/utilities.h.
| double IMP::bayesianem::get_rmsd_of_best_population | ( | const IMP::algebra::Vector3Ds & | m1, |
| const IMP::algebra::Vector3Ds & | m2, | ||
| const double | percentage ) |
Definition at line 116 of file bayesianem/utilities.h.
| double IMP::bayesianem::get_rmsd_of_best_population | ( | const IMP::atom::Selection & | s1, |
| const IMP::atom::Selection & | s2, | ||
| const double | percentage ) |
Definition at line 75 of file bayesianem/utilities.h.
| double IMP::bayesianem::get_rmsd_of_best_population | ( | const IMP::core::XYZs & | m1, |
| const IMP::core::XYZs & | m2, | ||
| const double | percentage ) |
Definition at line 58 of file bayesianem/utilities.h.
| IMP::algebra::Rotation3D IMP::bayesianem::get_rotation_matrix | ( | const IMP::algebra::Vector3D & | x, |
| const IMP::algebra::Vector3D & | y ) |
Definition at line 364 of file bayesianem/utilities.h.
| IMP::em::DensityMap * IMP::bayesianem::get_sub_map | ( | const IMP::em::DensityMap * | dm, |
| const IMP::em::DensityMap * | sub_gmm, | ||
| const IMP::em::DensityMap * | gmm ) |
Definition at line 256 of file bayesianem/utilities.h.
| IMP::algebra::Transformation3D IMP::bayesianem::get_transformation_aligning_first_to_second | ( | const IMP::atom::Selection & | s1, |
| const IMP::atom::Selection & | s2 ) |
Definition at line 95 of file bayesianem/utilities.h.
| IMP::algebra::PrincipalComponentAnalysis IMP::bayesianem::NormalizePCA | ( | const IMP::algebra::PrincipalComponentAnalysis & | pca, |
| const IMP::Particles & | ps ) |
Definition at line 375 of file bayesianem/utilities.h.
| IMP::algebra::Transformation3Ds IMP::bayesianem::PCAalign | ( | const IMP::algebra::PrincipalComponentAnalysis & | pca1, |
| const IMP::algebra::PrincipalComponentAnalysis & | pca2 ) |
Definition at line 409 of file bayesianem/utilities.h.
| float IMP::bayesianem::sgn | ( | double | v | ) |
Definition at line 371 of file bayesianem/utilities.h.