36 for (
auto i : *
this) {
40 double average = sum /
size();
46 s <<
"chi2 per star : ";
47 for (
auto chi2 : chi2List) {
48 s << *(chi2.star) <<
" chi2: " << chi2.chi2 <<
" ; ";
friend std::ostream & operator<<(std::ostream &s, Chi2List const &chi2List)
Structure to accumulate the chi2 contributions per each star (to help find outliers).
A base class for image defects.
afw::table::Key< double > sigma
Chi2Star size(Chi2Star ... args)
std::pair< double, double > computeAverageAndSigma()
Compute the average and std-deviation of these chisq values.