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, _fittingRefrac, _fittingPM;
139 double _referenceColor, _sigCol;
140 double _refractionCoefficient;
141 unsigned int _refracPosInMatrix;
145 unsigned int _nParDistortions;
146 unsigned int _nParPositions;
147 unsigned int _nParRefrac;
152 Eigen::VectorXd &grad,
156 Eigen::VectorXd &grad)
const override;
162 void getIndicesOfMeasuredStar(
MeasuredStar const &measuredStar,
166 Point const &refractionVector,
double refractionCoeff,
double mjd)
const;
173 #endif // LSST_JOINTCAL_ASTROMETRY_FIT_H
Base class for Chi2Statistic and Chi2List, to allow addEntry inside Fitter for either class...
void freezeErrorTransform()
The transformations used to propagate errors are freezed to the current state.
void assignIndices(std::string const &whatToFit) override
Set parameters to fit and assign indices in the big matrix.
AstrometryFit(std::shared_ptr< Associations > associations, std::shared_ptr< AstrometryModel > astrometryModel, double posError)
this is the only constructor
A list of MeasuredStar. They are usually filled in Associations::createCcdImage.
AstrometryFit & operator=(AstrometryFit const &)=delete
Class for a simple mapping implementing a generic AstrometryTransform.
A list of FittedStar s. Such a list is typically constructed by Associations.
objects measured on actual images.
void offsetParams(Eigen::VectorXd const &delta) override
Offset the parameters by the requested quantities.
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.
Class that handles the astrometric least squares problem.
std::shared_ptr< AstrometryModel > getModel() const
Return the model being fit.
Handler of an actual image from a single CCD.
void checkStuff()
DEBUGGING routine.
The objects which have been measured several times.