2 #ifndef LSST_JOINTCAL_MAPPING_H 3 #define LSST_JOINTCAL_MAPPING_H 18 virtual unsigned getNpar()
const = 0;
36 virtual void offsetParams(Eigen::VectorXd
const &delta) = 0;
40 double epsilon)
const = 0;
47 #endif // LSST_JOINTCAL_MAPPING_H virtual class needed in the abstraction of the distortion model
virtual void computeTransformAndDerivatives(FatPoint const &where, FatPoint &outPoint, Eigen::MatrixX2d &H) const =0
Actually applies the mapping and evaluates the derivatives w.r.t the fitted parameters.
virtual void getMappingIndices(std::vector< unsigned > &indices) const =0
Sets how this set of parameters (of length Npar()) map into the "grand" fit Expects that indices has ...
A Point with uncertainties.
A base class for image defects.
Eigen::Matrix< double, Eigen::Dynamic, 2 > MatrixX2d
virtual unsigned getNpar() const =0
Number of parameters in total.
virtual void positionDerivative(Point const &where, Eigen::Matrix2d &derivative, double epsilon) const =0
The derivative w.r.t. position.
virtual void offsetParams(Eigen::VectorXd const &delta)=0
Remember the error scale and freeze it.
virtual void transformPosAndErrors(FatPoint const &where, FatPoint &outPoint) const =0
The same as above but without the parameter derivatives (used to evaluate chi^2)