25 #ifndef LSST_JOINTCAL_ASTROMETRY_FIT_H
26 #define LSST_JOINTCAL_ASTROMETRY_FIT_H
119 void offsetParams(Eigen::VectorXd
const &delta)
override;
137 bool _fittingDistortions, _fittingPos, _fittingPM;
144 Eigen::VectorXd &grad,
148 Eigen::VectorXd &grad)
const override;
165 double deltaYears)
const;
Class that handles the astrometric least squares problem.
void checkStuff()
DEBUGGING routine.
AstrometryFit(AstrometryFit const &)=delete
No copy or move: there is only ever one fitter of a given type.
void freezeErrorTransform()
The transformations used to propagate errors are freezed to the current state.
std::shared_ptr< AstrometryModel > getModel() const
Return the model being fit.
void saveChi2RefContributions(std::string const &filename) const override
Save a CSV file containing residuals of reference terms.
void offsetParams(Eigen::VectorXd const &delta) override
Offset the parameters by the requested quantities.
AstrometryFit & operator=(AstrometryFit const &)=delete
AstrometryFit(std::shared_ptr< Associations > associations, std::shared_ptr< AstrometryModel > astrometryModel, double posError)
this is the only constructor
void assignIndices(std::string const &whatToFit) override
Set parameters to fit and assign indices in the big matrix.
AstrometryFit & operator=(AstrometryFit &&)=delete
AstrometryFit(AstrometryFit &&)=delete
void saveChi2MeasContributions(std::string const &filename) const override
Save a CSV file containing residuals of measurement terms.
Handler of an actual image from a single CCD.
Base class for Chi2Statistic and Chi2List, to allow addEntry inside Fitter for either class.
FittedStars are objects whose position or flux is going to be fitted, and which come from the associa...
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 for a simple mapping implementing a generic AstrometryTransform.