2 #ifndef LSST_JOINTCAL_MAPPING_H 3 #define LSST_JOINTCAL_MAPPING_H 18 virtual unsigned getNpar()
const = 0;
40 double epsilon)
const = 0;
47 #endif // LSST_JOINTCAL_MAPPING_H virtual void setMappingIndices(std::vector< unsigned > &indices) const =0
Sets how this set of parameters (of length Npar()) map into the "grand" fit Expects that indices has ...
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 offsetParams(double const *delta)=0
Remember the error scale and freeze it.
A Point with uncertainties.
Class for a simple mapping implementing a generic Gtransfo.
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 transformPosAndErrors(FatPoint const &where, FatPoint &outPoint) const =0
The same as above but without the parameter derivatives (used to evaluate chi^2)