2 #ifndef LSST_JOINTCAL_ASTROMETRY_FIT_H 3 #define LSST_JOINTCAL_ASTROMETRY_FIT_H 59 std::shared_ptr<AstrometryModel> astrometryModel,
double posError);
96 void offsetParams(Eigen::VectorXd
const &delta)
override;
112 bool _fittingDistortions, _fittingPos, _fittingRefrac, _fittingPM;
113 std::shared_ptr<AstrometryModel> _astrometryModel;
114 double _referenceColor, _sigCol;
115 double _refractionCoefficient;
116 unsigned int _refracPosInMatrix;
120 unsigned int _nParDistortions;
121 unsigned int _nParPositions;
122 unsigned int _nParRefrac;
127 Eigen::VectorXd &grad,
131 Eigen::VectorXd &grad)
const override;
137 void getIndicesOfMeasuredStar(
MeasuredStar const &measuredStar,
138 std::vector<unsigned> &indices)
const override;
141 Point const &refractionVector,
double refractionCoeff,
double mjd)
const;
148 #endif // LSST_JOINTCAL_ASTROMETRY_FIT_H
Base class for Chi2Statistic and Chi2List, to allow addEntry inside Fitter for either class...
void freezeErrorScales()
The transformations used to propagate errors are freezed to the current state.
void makeRefResTuple(std::string const &tupleName) const
Produces a tuple containing residuals of reference 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::AddImage.
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 makeMeasResTuple(std::string const &tupleName) const
Produces a tuple containing residuals of measurement terms.
void offsetParams(Eigen::VectorXd const &delta) override
Offset the parameters by the requested quantities.
void saveResultTuples(std::string const &tupleName) const override
Save the full chi2 term per star that was used in the minimization, for debugging.
Class that handles the astrometric least squares problem.
a virtual (interface) class for geometric transformations.
std::list< std::shared_ptr< CcdImage > > CcdImageList
Handler of an actual image from a single CCD.
void checkStuff()
DEBUGGING routine.
The objects which have been measured several times.