Cross correlation coefficient calculator.
More...
#include <IMP/em/CoarseCCatIntervals.h>
Cross correlation coefficient calculator.
Store CCC and derivative values and recompute then every X steps.
Definition at line 22 of file CoarseCCatIntervals.h.
|
|
void | allocate_derivatives_array (int ncd) |
| | Object (std::string name) |
| | Construct an object with the given name.
|
| virtual void | do_destroy () |
◆ ~CoarseCCatIntervals()
| virtual IMP::em::CoarseCCatIntervals::~CoarseCCatIntervals |
( |
| ) |
|
|
virtual |
◆ evaluate()
Evaluate the cross-correlation value only every X calls to the function.
Evaluates the value of the cross correlation term
but only at given intervals to save computation time.
Otherwise, the same value is returned.
This function has an special behavior, as it
does not return the true cross correlation coefficient ccc,
but the value: scalefac*(1-ccc)
The reason why is to use this term as part of an scoring
function that is better the lower the term.
If you want the cross correlation coefficient,
use cross_correlation_coefficient() instead.
- Parameters
-
- Note
- correct RMSD and mean MUST be in the header!
- Parameters
-
| [in] | model_map | an empty map that will contain the sampled particles in the access_p |
| [in] | scalefac | scale factor to apply to the value of the cross correlation term |
| [in] | deriv | input derivatives (only the size is used) |
| [in] | lderiv | if true, the derivatives of the term are computed |
| [in] | eval_interval | the number of times the function is going to return the same value before computing the values again |
- Returns
- the value of the cross correlation term: scalefac * (1-CCC) and a vector of derivatives
◆ get_type_name()
| virtual std::string IMP::em::CoarseCCatIntervals::get_type_name |
( |
| ) |
const |
|
overridevirtual |
◆ get_version_info()
◆ calls_counter_
| int IMP::em::CoarseCCatIntervals::calls_counter_ |
|
protected |
Number of times the evaluation has been called.
The evaluation is only performed the first time and when calls_counter reaches eval_interval. Otherwise the stored_cc_ value is returned
Definition at line 67 of file CoarseCCatIntervals.h.
◆ dv_memory_allocated_
| bool IMP::em::CoarseCCatIntervals::dv_memory_allocated_ |
|
protected |
◆ stored_cc_
| float IMP::em::CoarseCCatIntervals::stored_cc_ |
|
protected |
◆ stored_dvx_
| boost::scoped_array<double> IMP::em::CoarseCCatIntervals::stored_dvx_ |
|
protected |
◆ stored_dvy_
| boost::scoped_array<double> IMP::em::CoarseCCatIntervals::stored_dvy_ |
|
protected |
◆ stored_dvz_
| boost::scoped_array<double> IMP::em::CoarseCCatIntervals::stored_dvz_ |
|
protected |
The documentation for this class was generated from the following file: