9#ifndef IMPEM_COARSE_CCAT_INTERVALS_H
10#define IMPEM_COARSE_CCAT_INTERVALS_H
12#include <IMP/em/em_config.h>
15#include <boost/scoped_array.hpp>
25 CoarseCCatIntervals(
const int &ncd);
27 CoarseCCatIntervals();
55 std::pair<double, algebra::Vector3Ds>
evaluate(
58 unsigned long eval_interval);
63 void allocate_derivatives_array(
int ncd);
71 boost::scoped_array<double>
stored_dvx_, stored_dvy_, stored_dvz_;
73 bool dv_memory_allocated_;
Perform coarse fitting between two density objects.
Common base class for heavy weight IMP objects.
float stored_cc_
Stored correlation value.
int calls_counter_
Number of times the evaluation has been called.
boost::scoped_array< double > stored_dvx_
Stored derivative terms.
std::pair< double, algebra::Vector3Ds > evaluate(DensityMap *em_map, SampledDensityMap *model_map, const algebra::Vector3Ds &deriv, float scalefac, bool lderiv, unsigned long eval_interval)
Evaluate the cross-correlation value only every X calls to the function.
Class for handling density maps.
Class for sampling a density map from particles.
Vector< VectorD< 3 > > Vector3Ds
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.