LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
25 #ifndef LSST_JOINTCAL_CHI2_H
26 #define LSST_JOINTCAL_CHI2_H
60 s <<
"chi2/ndof : " <<
chi2.chi2 <<
'/' <<
chi2.ndof <<
'=' <<
chi2.chi2 /
chi2.ndof;
114 #endif // LSST_JOINTCAL_CHI2_H
Structure to accumulate the chi2 contributions per each star (to help find outliers).
friend std::ostream & operator<<(std::ostream &s, Chi2List const &chi2List)
Chi2Star push_back(Chi2Star ... args)
Chi2Statistic & operator+=(Chi2Statistic const &rhs)
virtual ~Chi2Accumulator()
Simple structure to accumulate chi2 and ndof.
std::shared_ptr< BaseStar > star
Chi2Star(double chi2, std::shared_ptr< BaseStar > star)
void addEntry(double chi2, std::size_t ndof, std::shared_ptr< BaseStar > star) override
A base class for image defects.
virtual void addEntry(double inc, std::size_t dof, std::shared_ptr< BaseStar > star)=0
friend std::ostream & operator<<(std::ostream &s, Chi2Statistic const &chi2)
std::pair< double, double > computeAverageAndSigma()
Compute the average and std-deviation of these chisq values.
friend std::ostream & operator<<(std::ostream &s, Chi2Star const &chi2Star)
Base class for Chi2Statistic and Chi2List, to allow addEntry inside Fitter for either class.
bool operator<(Chi2Star const &rhs) const
void addEntry(double inc, std::size_t dof, std::shared_ptr< BaseStar >) override