2 #ifndef LSST_JOINTCAL_ASTROMETRY_FIT_H 3 #define LSST_JOINTCAL_ASTROMETRY_FIT_H 96 void offsetParams(Eigen::VectorXd
const &delta)
override;
113 bool _fittingDistortions, _fittingPos, _fittingRefrac, _fittingPM;
115 double _referenceColor, _sigCol;
116 double _refractionCoefficient;
117 unsigned int _refracPosInMatrix;
121 unsigned int _nParDistortions;
122 unsigned int _nParPositions;
123 unsigned int _nParRefrac;
128 Eigen::VectorXd &grad,
132 Eigen::VectorXd &grad)
const override;
138 void getIndicesOfMeasuredStar(
MeasuredStar const &measuredStar,
142 Point const &refractionVector,
double refractionCoeff,
double mjd)
const;
149 #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.