25#ifndef LSST_JOINTCAL_PHOTOMETRY_FIT_H
26#define LSST_JOINTCAL_PHOTOMETRY_FIT_H
58 _fittingFluxes(false),
59 _photometryModel(
std::
move(photometryModel)) {
84 void offsetParams(Eigen::VectorXd
const &delta)
override;
97 bool _fittingModel, _fittingFluxes;
107 Eigen::VectorXd &grad,
112 Eigen::VectorXd &grad)
const override;
Handler of an actual image from a single CCD.
Base class for Chi2Statistic and Chi2List, to allow addEntry inside Fitter for either class.
A list of FittedStar s. Such a list is typically constructed by Associations.
Sources measured on images.
A list of MeasuredStar. They are usually filled in Associations::createCcdImage.
Class that handles the photometric least squares problem.
void assignIndices(std::string const &whatToFit) override
Set parameters to fit and assign indices in the big matrix.
PhotometryFit & operator=(PhotometryFit &&)=delete
PhotometryFit(PhotometryFit const &)=delete
No copy or move: there is only ever one fitter of a given type.
std::shared_ptr< PhotometryModel > getModel() const
Return the model being fit.
PhotometryFit & operator=(PhotometryFit const &)=delete
PhotometryFit(PhotometryFit &&)=delete
PhotometryFit(std::shared_ptr< Associations > associations, std::shared_ptr< PhotometryModel > photometryModel)
Construct a photometry fitter.
void saveChi2RefContributions(std::string const &filename) const override
Save a CSV file containing residuals of reference terms.
void saveChi2MeasContributions(std::string const &filename) const override
Save a CSV file containing residuals of measurement terms.
void offsetParams(Eigen::VectorXd const &delta) override
Offset the parameters by the requested quantities.
Class for a simple mapping implementing a generic AstrometryTransform.