25 #ifndef LSST_JOINTCAL_SIMPLE_ASTROMETRY_MAPPING_H 26 #define LSST_JOINTCAL_SIMPLE_ASTROMETRY_MAPPING_H 156 Eigen::Matrix2d preDer;
177 #endif // LSST_JOINTCAL_SIMPLE_ASTROMETRY_MAPPING_H SimpleAstrometryMapping & operator=(SimpleAstrometryMapping const &)=delete
void getMappingIndices(IndexVector &indices) const override
Sets how this set of parameters (of length Npar()) map into the "grand" fit Expects that indices has ...
std::shared_ptr< AstrometryTransform > transform
std::size_t getNpar() const override
Number of parameters in total.
SimpleAstrometryMapping(AstrometryTransform const &astrometryTransform, bool toBeFit=true)
void positionDerivative(Point const &where, Eigen::Matrix2d &derivative, double epsilon) const override
The derivative w.r.t. position.
void setIndex(Eigen::Index i)
Set the index of this mapping in the grand fit.
Mapping implementation for a polynomial transformation.
virtual void freezeErrorTransform()
Eigen::Index getIndex() const
position of the parameters within the grand fitting scheme
void offsetParams(Eigen::VectorXd const &delta) override
Remember the error scale and freeze it.
A Point with uncertainties.
std::unique_ptr< AstrometryTransformLinear > lin
virtual AstrometryTransform const & getTransform() const
Access to the (fitted) transform.
void transformPosAndErrors(FatPoint const &where, FatPoint &outPoint) const override
The same as above but without the parameter derivatives (used to evaluate chi^2)
Class for a simple mapping implementing a generic AstrometryTransform.
virtual void computeTransformAndDerivatives(FatPoint const &where, FatPoint &outPoint, Eigen::MatrixX2d &H) const override
Actually applies the AstrometryMapping and evaluates the derivatives w.r.t the fitted parameters...
Eigen::Matrix< double, Eigen::Dynamic, 2 > MatrixX2d
std::shared_ptr< AstrometryTransform > errorProp
void setToBeFit(bool value)
Set whether this Mapping is to be fit as part of a Model.
bool getToBeFit() const
Get whether this mapping is fit as part of a Model.
void print(std::ostream &out) const override
Print a string representation of the contents of this mapping, for debugging.
virtual class needed in the abstraction of the distortion model