IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
IMP::spb::ChiSquareMetric Class Reference

#include <IMP/spb/ChiSquareMetric.h>

Inheritance diagram for IMP::spb::ChiSquareMetric:

Detailed Description

Compute the RMSD between two sets of particles in two configurations.

Definition at line 18 of file spb/ChiSquareMetric.h.

Public Member Functions

 ChiSquareMetric (Floats nu_exp, int constr_type=0)
void add_configuration (Floats nu, Floats stddev, double weight=1.0)
double get_chisquare_exp (unsigned i) const
double get_distance (unsigned int i, unsigned int j) const override
Floats get_nu (unsigned i) const
unsigned int get_number_of_items () const override
Floats get_stddev (unsigned i) const
virtual std::string get_type_name () const override
virtual ::IMP::VersionInfo get_version_info () const override
 Get information about the module and version of the object.
Float get_weight (unsigned i) const
Public Member Functions inherited from IMP::statistics::Metric
double get_weight (unsigned int i) const
 Return a weight for the point.
Public Member Functions inherited from IMP::Object
CheckLevel get_check_level () const
 get_derived_object (self)
 Return this object cast to the most derived subclass.
LogLevel get_log_level () const
void set_check_level (CheckLevel l)
void set_log_level (LogLevel l)
 Set the logging level used in this object.
const std::string & get_name () const
 Get the (not necessarily unique) name of this object.
void set_name (std::string name)
void set_was_used (bool tf) const
void show (std::ostream &out=std::cout) const
virtual void clear_caches ()

Additional Inherited Members

Protected Member Functions inherited from IMP::statistics::Metric
 Metric (std::string name)
virtual double do_get_weight (unsigned int i) const
 By default return 1.0.
Protected Member Functions inherited from IMP::Object
 Object (std::string name)
 Construct an object with the given name.
virtual void do_destroy ()

Constructor & Destructor Documentation

◆ ~ChiSquareMetric()

virtual IMP::spb::ChiSquareMetric::~ChiSquareMetric ( )
virtual

Definition at line 45 of file spb/ChiSquareMetric.h.

Member Function Documentation

◆ get_distance()

double IMP::spb::ChiSquareMetric::get_distance ( unsigned int i,
unsigned int j ) const
overridevirtual

◆ get_number_of_items()

unsigned int IMP::spb::ChiSquareMetric::get_number_of_items ( ) const
overridevirtual

◆ get_type_name()

virtual std::string IMP::spb::ChiSquareMetric::get_type_name ( ) const
overridevirtual

Reimplemented from IMP::Object.

Definition at line 45 of file spb/ChiSquareMetric.h.

◆ get_version_info()

virtual ::IMP::VersionInfo IMP::spb::ChiSquareMetric::get_version_info ( ) const
overridevirtual

Get information about the module and version of the object.

Reimplemented from IMP::Object.

Definition at line 45 of file spb/ChiSquareMetric.h.


The documentation for this class was generated from the following file: