|
BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Calculation of chi2 between two data sets. More...
Inheritance diagram for ChiSquaredModule:Public Member Functions | |
| ChiSquaredModule (const ChiSquaredModule &other) | |
| virtual ChiSquaredModule * | clone () const |
| clone method | |
| virtual double | residual (double a, double b, double weight) |
Public Member Functions inherited from IChiSquaredModule | |
| const IVarianceFunction * | varianceFunction () const |
| Returns squared function. | |
| void | setVarianceFunction (const IVarianceFunction &variance_function) |
| Sets squared function. | |
| virtual const IIntensityFunction * | getIntensityFunction () 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< IVarianceFunction > | m_variance_function |
| std::unique_ptr< IIntensityFunction > | mp_intensity_function |
Calculation of chi2 between two data sets.
Definition at line 23 of file ChiSquaredModule.h.