File Chi2.h

namespace lsst

Class for a simple mapping implementing a generic AstrometryTransform.

Remove all non-astronomical counts from the Chunk Exposure’s pixels.

Forward declarations for lsst::utils::Cache

For details on the Cache class, see the Cache.h file.

It uses a template rather than a pointer so that the derived classes can use the specifics of the transform. The class simplePolyMapping overloads a few routines.

A base class for image defects

Numeric constants used by the Integrate.h integrator routines.

Compute Image Statistics

Note

Gauss-Kronrod-Patterson quadrature coefficients for use in quadpack routine qng. These coefficients were calculated with 101 decimal digit arithmetic by L. W. Fullerton, Bell Labs, Nov 1981.

Note

The Statistics class itself can only handle lsst::afw::image::MaskedImage() types. The philosophy has been to handle other types by making them look like lsst::afw::image::MaskedImage() and reusing that code. Users should have no need to instantiate a Statistics object directly, but should use the overloaded makeStatistics() factory functions.

namespace jointcal
class Chi2Accumulator
#include <Chi2.h>

Base class for Chi2Statistic and Chi2List, to allow addEntry inside Fitter for either class.

Essentially a mixin.

Subclassed by lsst::jointcal::Chi2List, lsst::jointcal::Chi2Statistic

Public Functions

virtual void addEntry(double inc, std::size_t dof, std::shared_ptr<BaseStar> star) = 0
virtual ~Chi2Accumulator()
class Chi2List : public lsst::jointcal::Chi2Accumulator, public std::vector<Chi2Star>
#include <Chi2.h>

Structure to accumulate the chi2 contributions per each star (to help find outliers).

Public Functions

void addEntry(double chi2, std::size_t ndof, std::shared_ptr<BaseStar> star)
std::pair<double, double> computeAverageAndSigma()

Compute the average and std-deviation of these chisq values.

Friends

std::ostream &operator<<(std::ostream &s, Chi2List const &chi2List)
struct Chi2Star

Public Functions

Chi2Star(double chi2, std::shared_ptr<BaseStar> star)
bool operator<(Chi2Star const &rhs) const

Public Members

double chi2
std::shared_ptr<BaseStar> star

Friends

std::ostream &operator<<(std::ostream &s, Chi2Star const &chi2Star)
class Chi2Statistic : public lsst::jointcal::Chi2Accumulator
#include <Chi2.h>

Simple structure to accumulate chi2 and ndof.

Public Functions

Chi2Statistic()
void addEntry(double inc, std::size_t dof, std::shared_ptr<BaseStar>)
Chi2Statistic &operator+=(Chi2Statistic const &rhs)

Public Members

double chi2
std::size_t ndof

Friends

std::ostream &operator<<(std::ostream &s, Chi2Statistic const &chi2)