BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
ChiSquaredModule Class Reference

Calculation of chi2 between two data sets. More...

+ Inheritance diagram for ChiSquaredModule:

Public Member Functions

 ChiSquaredModule (const ChiSquaredModule &other)
 
virtual ChiSquaredModuleclone () const
 clone method
 
virtual double residual (double a, double b, double weight)
 
- Public Member Functions inherited from IChiSquaredModule
const IVarianceFunctionvarianceFunction () const
 Returns squared function.
 
void setVarianceFunction (const IVarianceFunction &variance_function)
 Sets squared function.
 
virtual const IIntensityFunctiongetIntensityFunction () const
 Returns data rescaler.
 
virtual void setIntensityFunction (const IIntensityFunction &intensity_function)
 Sets data rescaler.
 
- Public Member Functions inherited from ICloneable
 ICloneable (const ICloneable &)=delete
 
 ICloneable (ICloneable &&)=default
 
virtual void transferToCPP ()
 Used for Python overriding of clone (see swig/tweaks.py)
 

Additional Inherited Members

- Protected Member Functions inherited from IChiSquaredModule
 IChiSquaredModule (const IChiSquaredModule &other)
 
- Protected Attributes inherited from IChiSquaredModule
std::unique_ptr< IVarianceFunctionm_variance_function
 
std::unique_ptr< IIntensityFunctionmp_intensity_function
 

Detailed Description

Calculation of chi2 between two data sets.

Definition at line 23 of file ChiSquaredModule.h.


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