SourceXtractorPlusPlus  0.13
Please provide a description of the project.
ChiSquareComparator.h
Go to the documentation of this file.
1 
23 #ifndef MODELFITTING_CHISQUARECOMPARATOR_H
24 #define MODELFITTING_CHISQUARECOMPARATOR_H
25 
26 namespace ModelFitting {
27 
43 
44 public:
45 
47  double operator()(double real, double model, double weight) const {
48  return weight * (real - model);
49  }
50 
51 }; // end of class ChiSquareComparator
52 
53 } // end of namespace ModelFitting
54 
55 #endif /* MODELFITTING_CHISQUARECOMPARATOR_H */
56 
ModelFitting::ChiSquareComparator::operator()
double operator()(double real, double model, double weight) const
Returns the residual.
Definition: ChiSquareComparator.h:47
ModelFitting
Definition: AsinhChiSquareComparator.h:30
ModelFitting::ChiSquareComparator
Data vs model comparator which computes the residual.
Definition: ChiSquareComparator.h:42