25 #ifndef LSST_JOINTCAL_PHOTOMETRY_FIT_H
26 #define LSST_JOINTCAL_PHOTOMETRY_FIT_H
57 _fittingFluxes(false),
58 _photometryModel(photometryModel) {
83 void offsetParams(Eigen::VectorXd
const &delta)
override;
96 bool _fittingModel, _fittingFluxes;
106 Eigen::VectorXd &grad,
111 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(PhotometryFit const &)=delete
No copy or move: there is only ever one fitter of a given type.
PhotometryFit(PhotometryFit &&)=delete
PhotometryFit & operator=(PhotometryFit &&)=delete
PhotometryFit & operator=(PhotometryFit const &)=delete
std::shared_ptr< PhotometryModel > getModel() const
Return the model being fit.
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.