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{};
143 void leastSquareDerivativesMeasurement(CcdImage
const &ccdImage, TripletList &tripletList,
144 Eigen::VectorXd &grad,
145 MeasuredStarList
const *msList =
nullptr)
const override;
147 void leastSquareDerivativesReference(FittedStarList
const &fittedStarList, TripletList &tripletList,
148 Eigen::VectorXd &grad)
const override;
150 void accumulateStatImageList(
CcdImageList const &ccdImageList, Chi2Accumulator &accum)
const override;
152 void accumulateStatRefStars(Chi2Accumulator &accum)
const override;
154 void getIndicesOfMeasuredStar(MeasuredStar
const &measuredStar,
IndexVector &indices)
const override;
164 Point transformFittedStar(FittedStar
const &fittedStar, AstrometryTransform
const &sky2TP,
165 double deltaYears)
const;
168 void accumulateStatImage(CcdImage
const &ccdImage, Chi2Accumulator &accum)
const;
Class that handles the astrometric least squares problem.
void checkStuff()
DEBUGGING routine.
std::shared_ptr< AstrometryModel > getModel() const
Return the model being fit.
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.
AstrometryFit & operator=(AstrometryFit &&)=delete
AstrometryFit & operator=(AstrometryFit const &)=delete
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.
void assignIndices(std::string const &whatToFit) override
Set parameters to fit and assign indices in the big matrix.
AstrometryFit(AstrometryFit &&)=delete
void saveChi2MeasContributions(std::string const &filename) const override
Save a CSV file containing residuals of measurement terms.
std::list< std::shared_ptr< CcdImage > > CcdImageList
Class for a simple mapping implementing a generic AstrometryTransform.