9 #ifndef IMPEM_COARSE_CC_H
10 #define IMPEM_COARSE_CC_H
12 #include <IMP/em/em_config.h>
47 double scalefactor,
bool recalc_rms =
true,
51 #if !defined(IMP_DOXYGEN) && !defined(SWIG)
65 const DensityMap *model_map,
66 const Particles &model_ps,
68 KernelParameters *kernel_params,
103 const DensityMap *grid2,
104 double grid2_voxel_data_threshold,
105 bool allow_padding =
false,
111 DensityMap *model_map,
112 double voxel_data_threshold);
125 IMPEM_DEPRECATED_OBJECT_DECL(2.15)
127 IMPEM_DEPRECATED_OBJECT_DEF(2.15,
"Use free functions instead");
130 IMPEM_DEPRECATED_METHOD_DECL(2.15)
132 float scalefactor,
bool recalc_rms =
true,
133 bool resample =
true,
136 #if !defined(IMP_DOXYGEN) && !defined(SWIG)
137 IMPEM_DEPRECATED_METHOD_DECL(2.15)
143 const float &scalefac,
147 IMPEM_DEPRECATED_METHOD_DECL(2.15)
148 static double cross_correlation_coefficient(
const DensityMap *grid1,
150 float grid2_voxel_data_threshold,
151 bool allow_padding =
false,
155 IMPEM_DEPRECATED_METHOD_DECL(2.15)
156 static float local_cross_correlation_coefficient(
const DensityMap *em_map,
158 float voxel_data_threshold);
Key< 0 > FloatKey
The type used to identify float attributes in the Particles.
double get_coarse_cc_coefficient(const DensityMap *grid1, const DensityMap *grid2, double grid2_voxel_data_threshold, bool allow_padding=false, FloatPair norm_factors=FloatPair(0., 0.))
Calculates the cross correlation coefficient between two maps.
Calculates and stores Gaussian kernel parameters.
Vector< VectorD< 3 > > Vector3Ds
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
std::pair< double, double > FloatPair
A generic pair of floats.
Represent a molecule as shells of distance from the surface.
double get_coarse_cc_score(DensityMap *data, SampledDensityMap *model_map, double scalefactor, bool recalc_rms=true, bool resample=true, FloatPair norm_factors=FloatPair(0., 0.))
Calculates the value of the EM fitting term.
An approximation of the exponential function.
Responsible for performing coarse fitting between two density objects.
Class for handling density maps.
Class for handling density maps.
Class for sampling a density map from particles.
Common base class for heavy weight IMP objects.
Refine a particle into a list of particles.
functionality for defining rigid bodies
double get_coarse_cc_local_coefficient(const DensityMap *em_map, DensityMap *model_map, double voxel_data_threshold)
Local cross correlation function.
Object(std::string name)
Construct an object with the given name.