25 #ifndef LSST_JOINTCAL_ASTROMETRY_FIT_H 26 #define LSST_JOINTCAL_ASTROMETRY_FIT_H 119 void offsetParams(Eigen::VectorXd
const &delta)
override;
136 bool _fittingDistortions, _fittingPos, _fittingRefrac, _fittingPM;
138 double _referenceColor, _sigCol;
139 double _refractionCoefficient;
140 unsigned int _refracPosInMatrix;
144 unsigned int _nParDistortions;
145 unsigned int _nParPositions;
146 unsigned int _nParRefrac;
151 Eigen::VectorXd &grad,
155 Eigen::VectorXd &grad)
const override;
161 void getIndicesOfMeasuredStar(
MeasuredStar const &measuredStar,
165 Point const &refractionVector,
double refractionCoeff,
double mjd)
const;
172 #endif // LSST_JOINTCAL_ASTROMETRY_FIT_H
void saveChi2RefContributions(std::string const &baseName) const override
Save a CSV file containing residuals of reference terms.
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 saveChi2MeasContributions(std::string const &baseName) const override
Save a CSV file containing residuals of measurement terms.
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 Gtransfo.
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.
Class that handles the astrometric least squares problem.
a virtual (interface) class for geometric transformations.
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.